kubebrowser
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
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullPolicy | kubebrowser image pull policy | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
global.observability.otlpExporterEndpoint | OTLP exporter endpoint (overrides *.observability.otlpExporterEndpoint for all components) | "" |
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
commonLabels | Add labels to all the deployed resources | {} |
commonAnnotations | Add annotations to all the deployed resources | {} |
kubebrowser server values
| Name | Description | Value |
|---|---|---|
server.name | Name of the server | server |
server.replicaCount | Number of kubebrowser server replicas | 1 |
server.image.registry | server image registry | ghcr.io |
server.image.repository | server image repository | avistotelecom/kubebrowser |
server.image.tag | server image tag (immutable tags are recommended) | 0.10.0 |
server.image.digest | server image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
server.image.pullPolicy | server image pull policy | "" |
server.image.pullSecrets | Specify image pull secrets for server | [] |
server.oidc.clientID | Client ID of your application | "" |
server.oidc.clientSecret | Client secret of your application | "" |
server.oidc.issuerURL | Issuer URL of your OIDC provider (e.g. https://login.microsoftonline.com/<tenant_id>/v2.0) | "" |
server.ui.existingConfigmap | Override generated config.js for the UI. | "" |
server.ui.helpPage | Upper right link on the UI to help users to use a Kubeconfig | https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/ |
server.logLevel | Log level of the server | INFO |
server.serviceAccountName | Service account to use | kubebrowser |
server.extraEnvVars | Array with extra environment variables to add to kubebrowser server nodes | [] |
server.extraEnvVarsCM | Name of existing ConfigMap containing extra env vars for kubebrowser server nodes | "" |
server.extraEnvVarsSecret | Name of existing Secret containing extra env vars for kubebrowser server nodes | "" |
server.command | Override default container command (useful when using custom images) | [] |
server.args | Override default container args (useful when using custom images) | [] |
server.livenessProbe.enabled | Enable livenessProbe on kubebrowser server containers | true |
server.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 5 |
server.livenessProbe.periodSeconds | Period seconds for livenessProbe | 5 |
server.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 1 |
server.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 3 |
server.readinessProbe.enabled | Enable readinessProbe on kubebrowser server containers | true |
server.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 5 |
server.readinessProbe.periodSeconds | Period seconds for readinessProbe | 5 |
server.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 1 |
server.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 5 |
server.lifecycleHooks | for the kubebrowser server container to automate configuration before or after startup | {} |
server.resources.limits | The resources limits for the kubebrowser server containers | {} |
server.resources.requests | The requested resources for the kubebrowser server containers | {} |
server.podSecurityContext.enabled | Enable security context | true |
server.podSecurityContext.fsGroup | Group 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkubebrowser is pinned at v1.4.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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