diff options
Diffstat (limited to 'script/helm/garage/templates')
-rw-r--r-- | script/helm/garage/templates/workload.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/helm/garage/templates/workload.yaml b/script/helm/garage/templates/workload.yaml index 340c0054..635e70e0 100644 --- a/script/helm/garage/templates/workload.yaml +++ b/script/helm/garage/templates/workload.yaml @@ -11,6 +11,7 @@ spec: {{- if eq .Values.deployment.kind "StatefulSet" }} replicas: {{ .Values.deployment.replicaCount }} serviceName: {{ include "garage.fullname" . }} + podManagementPolicy: {{ .Values.deployment.podManagementPolicy }} {{- end }} template: metadata: @@ -63,6 +64,10 @@ spec: name: web-api - containerPort: 3903 name: admin + {{- with .Values.environment }} + env: + {{- toYaml . | nindent 12 }} + {{- end }} volumeMounts: - name: meta mountPath: /mnt/meta |