Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amineabri committed Sep 25, 2024
1 parent 45fa49f commit 171f0dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/admin-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ spec:
{{- toYaml .Values.admin.resources | nindent 12 }}
ports:
- containerPort: 8081
{{- if .Values.static.enabled }}
volumeMounts:
- name: static-sync
mountPath: "/tmp/static"
{{- end }}
envFrom:
- configMapRef:
name: {{ .Values.name }}-config-admin
Expand All @@ -64,6 +69,12 @@ spec:
value: {{ .value | quote }}
{{- end }}
{{- end }}
{{- if .Values.static.enabled }}
volumes:
- name: static-sync
persistentVolumeClaim:
claimName: {{ .Values.name }}-syncstatic-data-claim
{{- end }}
{{- with .Values.admin.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 171f0dd

Please sign in to comment.