Skip to content

Commit

Permalink
Merge pull request #1432 from FabianKramm/main
Browse files Browse the repository at this point in the history
fix: wrong volumes check
  • Loading branch information
FabianKramm authored Dec 28, 2023
2 parents a7b2680 + 3c05964 commit d7876d3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/eks/templates/etcd-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ spec:
- name: certs
secret:
secretName: {{ .Release.Name }}-certs
{{- if .Values.volumes }}
{{- if .Values.etcd.volumes }}
{{ toYaml .Values.etcd.volumes | indent 8 }}
{{- end }}
{{- if not .Values.etcd.storage.persistence }}
Expand Down
3 changes: 3 additions & 0 deletions charts/eks/templates/syncer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ spec:
emptyDir: {}
- name: certs
emptyDir: {}
{{- if .Values.volumes }}
{{ toYaml .Values.volumes | indent 8 }}
{{- end }}
{{- if .Values.syncer.volumes }}
{{ toYaml .Values.syncer.volumes | indent 8 }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/k0s/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ spec:
emptyDir: {}
- name: k0s-binary
emptyDir: {}
{{- if .Values.syncer.volumes }}
{{ toYaml .Values.syncer.volumes | indent 8 }}
{{- end }}
{{- if .Values.volumes }}
{{ toYaml .Values.volumes | indent 8 }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/k3s/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ spec:
emptyDir: {}
- name: config
emptyDir: {}
{{- if .Values.syncer.volumes }}
{{ toYaml .Values.syncer.volumes | indent 8 }}
{{- end }}
{{- if .Values.volumes }}
{{ toYaml .Values.volumes | indent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/k8s/templates/etcd-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
- name: certs
secret:
secretName: {{ .Release.Name }}-certs
{{- if .Values.volumes }}
{{- if .Values.etcd.volumes }}
{{ toYaml .Values.etcd.volumes | indent 8 }}
{{- end }}
{{- if not .Values.etcd.storage.persistence }}
Expand Down
3 changes: 3 additions & 0 deletions charts/k8s/templates/syncer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ spec:
emptyDir: {}
- name: certs
emptyDir: {}
{{- if .Values.volumes }}
{{ toYaml .Values.volumes | indent 8 }}
{{- end }}
{{- if .Values.syncer.volumes }}
{{ toYaml .Values.syncer.volumes | indent 8 }}
{{- end }}
Expand Down

0 comments on commit d7876d3

Please sign in to comment.