Skip to content

Commit

Permalink
Updated configmaps based on ETCD replicas.
Browse files Browse the repository at this point in the history
  • Loading branch information
abdasgupta committed Jun 16, 2021
1 parent 0aa9de3 commit 5ef12cb
Show file tree
Hide file tree
Showing 5 changed files with 258 additions and 190 deletions.
4 changes: 2 additions & 2 deletions charts/etcd/templates/etcd-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
- name: {{ .Values.volumeClaimTemplateName }}
mountPath: /var/etcd/data/
- name: etcd-config-file
mountPath: /var/etcd/config/
mountPath: {{ .Values.etcdConfigMountPath }}
{{- if .Values.etcd.enableTLS }}
- name: ca-etcd
mountPath: /var/etcd/ssl/ca
Expand Down Expand Up @@ -321,7 +321,7 @@ spec:
- name: {{ .Values.volumeClaimTemplateName }}
mountPath: /var/etcd/data
- name: etcd-config-file
mountPath: /var/etcd/config/
mountPath: {{ .Values.etcdConfigMountPath }}
{{- if .Values.etcd.enableTLS }}
- name: ca-etcd
mountPath: /var/etcd/ssl/ca
Expand Down
1 change: 1 addition & 0 deletions charts/etcd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ etcd:
#username: username
#password: password

etcdConfigMountPath: "/var/etcd/config/"
backup:
port: 8080
pullPolicy: IfNotPresent
Expand Down
Loading

0 comments on commit 5ef12cb

Please sign in to comment.