Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

Deploy helm chart

Introduction

This chart bootstraps a 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.

  • HELM (version: v3.7.1 or higher) helm
  • Kubectl (version: v1.21.0 or higher) kubectl

Installation

Before installing deploy Helm chart you need to install configmap 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.

Configmap variables

Name Description Type Default Required
logLevel logging level string INFO yes
springProfilesActive active spring profile string gcp yes
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 Client ID of Google Cloud Credentials, ex 123-abc123.apps.googleusercontent.com string - yes

Deployment variables

Name Description Type Default Required
requestsCpu amount of requested CPU string 0.1 yes
requestsMemory amount of requested memory string 256M yes
limitsCpu CPU limit string 1 yes
limitsMemory memory limit string 1.5G yes
serviceAccountName name of your service account string notification yes
imagePullPolicy when to pull image string IfNotPresent yes
image service image string - yes

Config variables

Name Description Type Default Required
appName Service name string notification yes
configmap configmap to be used string notification-config yes
rabbitmqSecretName secret for rabbitmq string rabbitmq-secret yes
openidSecretName secret for openid string notification-keycloak-secret yes
onPremEnabled whether on-prem is enabled boolean false yes
domain your domain, ex example.com string - yes

Install the helm chart

Run this command from within this directory:

helm install gcp-notification-deploy .

Uninstalling the Chart

To uninstall the helm deployment:

helm uninstall gcp-notification-deploy

Do not forget to delete all k8s secrets and PVCs accociated with the Service.

Move-to-Top