From 4b816aa68b53cece8d907be36a5a745c77a66dd3 Mon Sep 17 00:00:00 2001 From: jessebot Date: Wed, 10 Jul 2024 21:58:13 +0200 Subject: [PATCH] helm: make the onboardme container just run forever --- charts/onboardme/Chart.yaml | 2 +- charts/onboardme/templates/deployment.yaml | 6 ++++++ charts/onboardme/values.yaml | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/charts/onboardme/Chart.yaml b/charts/onboardme/Chart.yaml index 2aef698..c8d2650 100644 --- a/charts/onboardme/Chart.yaml +++ b/charts/onboardme/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/onboardme/templates/deployment.yaml b/charts/onboardme/templates/deployment.yaml index 5e2c360..ae25613 100644 --- a/charts/onboardme/templates/deployment.yaml +++ b/charts/onboardme/templates/deployment.yaml @@ -39,6 +39,12 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + command: + - "/bin/bash" + args: + - "-c" + - | + while true; do sleep 1; done imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http diff --git a/charts/onboardme/values.yaml b/charts/onboardme/values.yaml index b018c4a..9b0211e 100644 --- a/charts/onboardme/values.yaml +++ b/charts/onboardme/values.yaml @@ -33,8 +33,7 @@ serviceAccount: podAnnotations: {} podLabels: {} -podSecurityContext: - fsGroup: 1337 +podSecurityContext: {} securityContext: capabilities: