Configmap helm chart
Introduction
This chart bootstraps a configmap deployment on a Kubernetes cluster using Helm package manager.
Prerequisites
The code was tested on Kubernetes cluster (v1.21.11) with Istio (1.12.6)
It is possible to use other versions, but it hasn't been tested
Operation system
The code works in Debian-based Linux (Debian 10 and Ubuntu 20.04) and Windows WSL 2. Also, it works but is not guaranteed in Google Cloud Shell. All other operating systems, including macOS, are not verified and supported.
Packages
Packages are only needed for installation from a local computer.
Installation
This Helm chart should be installed before deploy Helm Chart First you need to set variables in values.yaml file using any code editor. Some of the values are prefilled, but you need to specify some values as well. You can find more information about them below.
Common variables
Name | Description | Type | Default | Required |
---|---|---|---|---|
logLevel | logging level | string | INFO | yes |
springProfilesActive | active spring profile | string | gcp | yes |
Google Cloud variables
Name | Description | Type | Default | Required |
---|---|---|---|---|
entitlementsHost | entitlements service host address | string | http://entitlements |
yes |
registerHost | register service host address | string | http://register |
yes |
partitionHost | partition service host address | string | http://partition |
yes |
googleAudiences | your Google Cloud client ID | string | - | yes |
googleAudiences: If you are connected to Google Cloud console with
gcloud auth application-default login --no-browser
from your terminal, you can get your client_id using the command:
cat ~/.config/gcloud/application_default_credentials.json | grep client_id
Config variables
Name | Description | Type | Default | Required |
---|---|---|---|---|
configmap | configmap name | string | notification-config | yes |
appName | name of the app | string | notification | yes |
onPremEnabled | whether on-prem is enabled | boolean | false | yes |
Install the helm chart
Run this command from within this directory:
helm install gcp-notification-configmap .
Uninstalling the Chart
To uninstall the helm deployment:
helm uninstall gcp-notification-configmap