Skip to content

Commit 0f43e4c

Browse files
committed
Fix condition bug introduced in gravitl#29
Add introduced parameter to values.yaml
1 parent 552c474 commit 0f43e4c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

templates/mq.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ spec:
8585
name: wait-script
8686
- name: shared-data
8787
persistentVolumeClaim:
88-
{{- if not .Values.mq.existingClaim }}
88+
{{- if .Values.mq.existingClaim }}
8989
claimName: {{ .Values.mq.existingClaim }}
90-
{{- else }}
90+
{{- else }}
9191
claimName: {{ include "netmaker.fullname" . }}-shared-data-pvc
9292
{{- end }}
9393
---

values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ mq:
4444
singlenode: false
4545
storageSize: 128Mi
4646
password: 3yyerWGdds43yegGR
47+
# -- existing claim for shared-data PVC
48+
# existingClaim: ""
4749
RWX:
4850
storageClassName: ""
4951

0 commit comments

Comments
 (0)