Skip to content

Commit

Permalink
#7 added an optional storageClass to the server-statefuset
Browse files Browse the repository at this point in the history
  • Loading branch information
mmisztal1980 committed Sep 20, 2018
1 parent 81a1369 commit febaab9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/server-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,7 @@ spec:
resources:
requests:
storage: {{ .Values.server.storage }}
{{- if .Values.server.storageClass }}
storageClassName: {{ .Values.server.storageClass }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ server:
replicas: 3
bootstrapExpect: 3 # Should <= replicas count
storage: 10Gi
#storageClass: default # <= name of the storage class to use

# connect will enable Connect on all the servers, initializing a CA
# for Connect-related connections. Other customizations can be done
Expand Down

0 comments on commit febaab9

Please sign in to comment.