File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
helm-charts/atlas-operator Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 57
57
valueFrom :
58
58
fieldRef :
59
59
fieldPath : metadata.namespace
60
+ {{- with .Values.extraEnvs }}
61
+ {{- toYaml . | nindent 10 }}
62
+ {{- end }}
60
63
ports :
61
64
- name : http
62
65
containerPort : 80
Original file line number Diff line number Diff line change @@ -86,6 +86,21 @@ podSecurityContext:
86
86
securityContext :
87
87
allowPrivilegeEscalation : false
88
88
89
+
90
+ # configure extra environment variables
91
+ # Extra environment variables are writen in kubernetes format and added "as is" to the pod's env variables
92
+ # https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
93
+ # https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables
94
+ extraEnvs :
95
+ []
96
+ # Exemple of setting environment variables
97
+ # - name: MY_VAR
98
+ # value: my-value
99
+ # - name: GOMEMLIMIT
100
+ # valueFrom:
101
+ # resourceFieldRef:
102
+ # resource: limits.memory
103
+
89
104
# resources sets resources for the Operator container.
90
105
# More information: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
91
106
resources :
You can’t perform that action at this time.
0 commit comments