Skip to content

Commit

Permalink
[DSD-4578] minor fix (#695)
Browse files Browse the repository at this point in the history
Signed-off-by: syed salman <[email protected]>
  • Loading branch information
syedsalman3753 authored May 31, 2024
1 parent 467785f commit a72ab78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion charts/keygen/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,13 @@ spec:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
{{- end }}
volumeMounts:
{{- if .Values.persistence.enabled }}
- name: {{ .Values.persistence.volume_name }}
mountPath: {{ .Values.persistence.mountDir }}
{{- end }}
volumes:
{{- if .Values.persistence.enabled }}
- name: {{ .Values.persistence.volume_name }}
persistentVolumeClaim:
claimName: {{ .Values.persistence.existingClaim | default .Values.persistence.pvc_claim_name }}
{{ end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/keymanager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ spec:
- name: {{ .Values.persistence.volume_name }}
persistentVolumeClaim:
claimName: {{ .Values.persistence.existingClaim | default .Values.persistence.pvc_claim_name }}
{{ end }}
{{- end }}

0 comments on commit a72ab78

Please sign in to comment.