Skip to content

Commit

Permalink
Add a temp volume in Helm Chart (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
em- committed Jan 30, 2024
2 parents 800fa14 + ecaad25 commit 0f28aca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts:
- name: tmp
mountPath: /tmp
env:
- name: GITLAB_URL
value: {{ .Values.gitlab.url }}
Expand All @@ -49,6 +52,9 @@ spec:
value: "{{ .Values.max_concurrent_requests }}"
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
- name: tmp
emptyDir: {}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 0f28aca

Please sign in to comment.