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 May 5, 2024
1 parent 0cf1318 commit b327e8f
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 @@ -217,4 +219,4 @@ spec:
secretName: {{ template "artifactory.fullname" . }}-nginx-certificate
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit b327e8f

Please sign in to comment.