From 8aea704c4fc5471a8bd87b694854db2d74229872 Mon Sep 17 00:00:00 2001 From: Juan Vela Date: Thu, 31 Oct 2024 16:31:51 +0100 Subject: [PATCH] Fix all the wrong containerSecurityContext refs (#154) * Fix all the wrong containerSecurityContext refs * Increase chart's version patch --- charts/terrakube/Chart.yaml | 2 +- charts/terrakube/templates/deployment-openldap.yaml | 4 ++-- charts/terrakube/templates/deployment-registry.yaml | 2 +- charts/terrakube/templates/deployment-ui.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/terrakube/Chart.yaml b/charts/terrakube/Chart.yaml index 092ccad..ad94470 100644 --- a/charts/terrakube/Chart.yaml +++ b/charts/terrakube/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: 3.23.2 +version: 3.23.3 # 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/terrakube/templates/deployment-openldap.yaml b/charts/terrakube/templates/deployment-openldap.yaml index 8acdd51..78ffbc3 100644 --- a/charts/terrakube/templates/deployment-openldap.yaml +++ b/charts/terrakube/templates/deployment-openldap.yaml @@ -50,7 +50,7 @@ spec: mountPath: "/ldifs/config-ldap.ldif" subPath: "config-ldap.ldif" readOnly: true - {{- with .Values.executor.containerSecurityContext }} + {{- with .Values.openldap.containerSecurityContext }} securityContext: {{- toYaml . | nindent 10 }} {{- end }} @@ -64,5 +64,5 @@ spec: {{- with .Values.openldap.securityContext }} securityContext: {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} {{ end }} diff --git a/charts/terrakube/templates/deployment-registry.yaml b/charts/terrakube/templates/deployment-registry.yaml index 93f739f..138eee1 100644 --- a/charts/terrakube/templates/deployment-registry.yaml +++ b/charts/terrakube/templates/deployment-registry.yaml @@ -70,7 +70,7 @@ spec: port: 8075 initialDelaySeconds: 120 periodSeconds: 10 - {{- with .Values.executor.containerSecurityContext }} + {{- with .Values.registry.containerSecurityContext }} securityContext: {{- toYaml . | nindent 10 }} {{- end }} diff --git a/charts/terrakube/templates/deployment-ui.yaml b/charts/terrakube/templates/deployment-ui.yaml index 03dc028..bff092e 100644 --- a/charts/terrakube/templates/deployment-ui.yaml +++ b/charts/terrakube/templates/deployment-ui.yaml @@ -47,7 +47,7 @@ spec: envFrom: - secretRef: name: terrakube-ui-secrets - {{- with .Values.executor.containerSecurityContext }} + {{- with .Values.ui.containerSecurityContext }} securityContext: {{- toYaml . | nindent 10 }} {{- end }}