diff --git a/charts/unleash/Chart.yaml b/charts/unleash/Chart.yaml index 946a26b..9f9fc49 100644 --- a/charts/unleash/Chart.yaml +++ b/charts/unleash/Chart.yaml @@ -5,7 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg type: application -version: 5.3.2 +version: 5.3.3 appVersion: "6.3.0" diff --git a/charts/unleash/templates/deployment.yaml b/charts/unleash/templates/deployment.yaml index aeb84e8..8d832c0 100644 --- a/charts/unleash/templates/deployment.yaml +++ b/charts/unleash/templates/deployment.yaml @@ -33,6 +33,8 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "unleash.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: - name: {{ include "unleash.name" . }} env: diff --git a/charts/unleash/values.yaml b/charts/unleash/values.yaml index 3cc1c92..a0f154d 100644 --- a/charts/unleash/values.yaml +++ b/charts/unleash/values.yaml @@ -193,7 +193,17 @@ postgresql: password: unleash database: unleash +podSecurityContext: {} + # fsGroup: 2000 + securityContext: {} + # capabilities: + # drop: + # - ALL + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + # Autoscaling # https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ # Allows Unleash to setup HPA