openshift-console

by djcass44

Helm chartv0.3.6App 4.10.0Verified publisher

OpenShift Cluster Console UI

About this chart

OpenShift Console (Bridge)

Bridge is the OpenShift console.

TL;DR

$ helm repo add av1o https://av1o.gitlab.io/charts
$ helm install bridge av1o/openshift-console

Introduction

This chart bootstraps a deployment of the OpenShift Console on a Kubernetes cluster using the Helm package manager.

The OpenShift Console is designed for running on OpenShift, however it works perfectly fine in native Kubernetes. Since the Console is unable to use the default OpenShift OAuth2, this chart is expecting a Dex deployment which is configured to generate OIDC tokens for the Kubernetes API server. This behaviour can be configured with the extraEnv map.

Prerequisites

  • Kubernetes 1.12+
  • Helm 3

Installing the Chart

To install the chart with the release name my-release:

$ helm install my-release av1o/openshift-console

The command deploys the console on the Kubernetes cluster in the default configuration.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

Parameters

The following table lists the configurable parameters of the OpenShift Console chart and their default values.

ParameterDescriptionDefault
replicaCountNumber of pods to run1
image.registryDocker image registryquay.io
image.repositoryDocker image nameopenshift/origin-console
image.pullPolicyDocker image pull policyIfNotPresent
image.tagDocker image tag${CHART_VERSION}
imagePullSecretsSpecify Image pull secrets[]
podAnnotationsMap of annotations to add to the podsSee values.yaml
podSecurityContextMap of security context to add to the podSee values.yaml
securityContextMap of security context to add to the containerSee values.yaml
service.typeService typeClusterIP
extraEnvMap of environment variables to include in the container{}
console.dex.hostHTTP(S) address of the Dex instancehttps://dex.example.org
console.baseUrlHTTP(S) address of the Consolehttps://console.example.org
console.impersonateOpenShiftInstall CRDs to trick the Console into showing some OpenShift-exclusive actions which work on Kubernetes. Note: requires cluster-adminfalse
console.oidc.enabledEnable OIDC authenticationtrue
console.oidc.issuerUrlIssuer of the OIDC serverhttps://dex.example.org
console.oidc.clientIdOIDC client IDkubernetes
console.oidc.clientSecretOIDC client secrethunter2
rbac.enabledInstall RBAC to trick the Console into behaving closer to how OpenShift does. Required cluster-admin and console.impersonateOpenShift=truefalse
ingress.classNameIngressClass resource to use.
sidecarsArbitrary sidecars to include as-is[]

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Version 0.2.X

Version 0.2.0 and above require the networking.k8s.io/v1 API for Ingress which is available in Kubernetes 1.19 and above.

Deploy openshift-console with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openshift-console 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 chartopenshift-console is pinned at v0.3.6 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