diff --git a/helm/fuel-core-nats/Chart.yaml b/helm/fuel-core-nats/Chart.yaml index 036d12a..12888d8 100644 --- a/helm/fuel-core-nats/Chart.yaml +++ b/helm/fuel-core-nats/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.2.3 +version: 0.2.4 # 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/helm/fuel-core-nats/templates/statefulset.yaml b/helm/fuel-core-nats/templates/statefulset.yaml index 4831bea..b54e694 100644 --- a/helm/fuel-core-nats/templates/statefulset.yaml +++ b/helm/fuel-core-nats/templates/statefulset.yaml @@ -31,16 +31,10 @@ spec: serviceAccountName: {{ include "fuel-core-nats.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- with .Values.initContainers }} initContainers: - - name: "init" - image: {{ .Values.initContainer.image }} - imagePullPolicy: "IfNotPresent" - command: {{ .Values.initContainer.command }} - args: {{ .Values.initContainer.args }} - {{- with .Values.volumeMounts }} - volumeMounts: - {{- toYaml . | nindent 12 }} - {{- end }} + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ .Chart.Name }} securityContext: