diff --git a/charts/freeipa/Chart.yaml b/charts/freeipa/Chart.yaml index 4487f15..c573faf 100644 --- a/charts/freeipa/Chart.yaml +++ b/charts/freeipa/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.3.0 +version: 0.3.1 # 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 # follow Semantic Versioning. They should reflect the version the application is using. diff --git a/charts/freeipa/templates/statefulset.yaml b/charts/freeipa/templates/statefulset.yaml index 4d08924..0aa9184 100644 --- a/charts/freeipa/templates/statefulset.yaml +++ b/charts/freeipa/templates/statefulset.yaml @@ -16,6 +16,13 @@ spec: serviceName: {{ include "common.names.fullname" . }} template: metadata: + {{- if .Values.podAnnotations }} + annotations: + {{- include "common.tplvalues.render" ( dict "value" .Values.podAnnotations "context" $ ) | nindent 8 }} + {{- end }} + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 8 }} + {{- end }} labels: {{- include "common.labels.standard" . | nindent 8 }} {{- if .Values.podLabels }} {{- include "common.tplvalues.render" ( dict "value" .Values.podLabels "context" $ ) | nindent 8 }} @@ -110,6 +117,12 @@ spec: # secretKeyRef: # name: {{ include "common.names.fullname" . }}-password # key: admin.password + {{- if .Values.extraEnv }} + {{- range $key, $value := .Values.extraEnv }} + - name: {{ $key }} + value: {{ $value }} + {{- end }} + {{- end }} envFrom: {{- if .Values.extraEnvVarsCM }} - configMapRef: diff --git a/charts/freeipa/values.yaml b/charts/freeipa/values.yaml index df6c3cf..fa57e6b 100644 --- a/charts/freeipa/values.yaml +++ b/charts/freeipa/values.yaml @@ -81,6 +81,8 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +extraEnv: {} + podAnnotations: {} podSecurityContext: {}