kubebrowser

by Avisto Telecom

Helm chartv1.4.0App 0.10.0Verified publisher

Allow whitelisted people to access your kubeconfigs

About this chart

Kubebrowser

Kubebrowser is a self-service platform that enables users to obtain their own Kubeconfig credentials using OIDC authentication.

Your API server should be configured to use the same OIDC application as Kubebrowser. Managed Kubernetes services such as EKS, AKS, and others support integration with your OIDC provider. For more details, see the Kubernetes documentation on configuring the API server for OIDC authentication.

Installation

Prepare your values.yaml

server:
  hostname: "kubebrowser.example.com" # match your redirect URI
  oidc:
    clientID: <your-client-id>
    clientSecret: <your-client-secret>
    issuerURL: <your-issuer-url>

Add repository

helm repo add avisto https://avistotelecom.github.io/charts/

Install chart

helm install my-kubebrowser avisto/kubebrowser -f values.yaml

Migration guide

From 1.3 to 1.4

By default, https is now assumed for the KUBEBROWSER_HOSTNAME environment variable (used for oauth2 callback).

Set server.insecure=true if you want to keep http prefix.

Parameters

Global values

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullPolicykubebrowser image pull policy""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""
global.observability.otlpExporterEndpointOTLP exporter endpoint (overrides *.observability.otlpExporterEndpoint for all components)""
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""
fullnameOverrideString to fully override common.names.fullname template""
clusterDomainKubernetes Cluster Domaincluster.local
commonLabelsAdd labels to all the deployed resources{}
commonAnnotationsAdd annotations to all the deployed resources{}

kubebrowser server values

NameDescriptionValue
server.nameName of the serverserver
server.replicaCountNumber of kubebrowser server replicas1
server.image.registryserver image registryghcr.io
server.image.repositoryserver image repositoryavistotelecom/kubebrowser
server.image.tagserver image tag (immutable tags are recommended)0.10.0
server.image.digestserver image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
server.image.pullPolicyserver image pull policy""
server.image.pullSecretsSpecify image pull secrets for server[]
server.oidc.clientIDClient ID of your application""
server.oidc.clientSecretClient secret of your application""
server.oidc.issuerURLIssuer URL of your OIDC provider (e.g. https://login.microsoftonline.com/<tenant_id>/v2.0)""
server.ui.existingConfigmapOverride generated config.js for the UI.""
server.ui.helpPageUpper right link on the UI to help users to use a Kubeconfighttps://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/
server.logLevelLog level of the serverINFO
server.serviceAccountNameService account to usekubebrowser
server.extraEnvVarsArray with extra environment variables to add to kubebrowser server nodes[]
server.extraEnvVarsCMName of existing ConfigMap containing extra env vars for kubebrowser server nodes""
server.extraEnvVarsSecretName of existing Secret containing extra env vars for kubebrowser server nodes""
server.commandOverride default container command (useful when using custom images)[]
server.argsOverride default container args (useful when using custom images)[]
server.livenessProbe.enabledEnable livenessProbe on kubebrowser server containerstrue
server.livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe5
server.livenessProbe.periodSecondsPeriod seconds for livenessProbe5
server.livenessProbe.timeoutSecondsTimeout seconds for livenessProbe1
server.livenessProbe.failureThresholdFailure threshold for livenessProbe3
server.readinessProbe.enabledEnable readinessProbe on kubebrowser server containerstrue
server.readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe5
server.readinessProbe.periodSecondsPeriod seconds for readinessProbe5
server.readinessProbe.timeoutSecondsTimeout seconds for readinessProbe1
server.readinessProbe.failureThresholdFailure threshold for readinessProbe5
server.lifecycleHooksfor the kubebrowser server container to automate configuration before or after startup{}
server.resources.limitsThe resources limits for the kubebrowser server containers{}
server.resources.requestsThe requested resources for the kubebrowser server containers{}
server.podSecurityContext.enabledEnable security contexttrue
server.podSecurityContext.fsGroupGroup ID for the p

Deploy kubebrowser with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubebrowser on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubebrowser is pinned at v1.4.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply