Skip to content

Commit

Permalink
resource constraints for "setup" initContainer of nginx deployment
Browse files Browse the repository at this point in the history
closes #962
  • Loading branch information
andrewrothstein committed Mar 20, 2024
1 parent 35a3032 commit ba3935e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stable/artifactory/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ spec:
- >
rm -rfv {{ .Values.nginx.persistence.mountPath }}/lost+found;
mkdir -p {{ .Values.nginx.persistence.mountPath }}/logs;
resources:
{{- toYaml .Values.initContainers.resources | nindent 10 }}
volumeMounts:
- mountPath: {{ .Values.nginx.persistence.mountPath | quote }}
name: nginx-volume
Expand Down Expand Up @@ -213,4 +215,4 @@ spec:
secretName: {{ template "artifactory.fullname" . }}-nginx-certificate
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit ba3935e

Please sign in to comment.