Skip to content

Commit

Permalink
Refactoring helm template for stateful services
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroc0d3 committed May 9, 2023
1 parent cf8700d commit f7c07d7
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 24 deletions.
12 changes: 0 additions & 12 deletions helm/template/lab/configmap/configmap.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions helm/template/lab/stateful/stateful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ persistence:
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## set, choosing the default provisioner. (gp3 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "gp2"
# storageClass: "gp3"
# persistentVolumeReclaimPolicy: Recycle
# volumeMode: Filesystem
accessMode: ReadWriteOnce
Expand Down
4 changes: 2 additions & 2 deletions helm/template/lab/stateful/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ persistence:
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## set, choosing the default provisioner. (gp3 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "gp2"
# storageClass: "gp3"
# persistentVolumeReclaimPolicy: Recycle
# volumeMode: Filesystem
accessMode: ReadWriteOnce
Expand Down
4 changes: 2 additions & 2 deletions helm/template/prod/stateful/stateful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ persistence:
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## set, choosing the default provisioner. (gp3 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "gp2"
# storageClass: "gp3"
# persistentVolumeReclaimPolicy: Recycle
# volumeMode: Filesystem
accessMode: ReadWriteOnce
Expand Down
4 changes: 2 additions & 2 deletions helm/template/prod/stateful/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ persistence:
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## set, choosing the default provisioner. (gp3 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "gp2"
# storageClass: "gp3"
# persistentVolumeReclaimPolicy: Recycle
# volumeMode: Filesystem
accessMode: ReadWriteOnce
Expand Down
4 changes: 2 additions & 2 deletions helm/template/staging/stateful/stateful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ persistence:
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## set, choosing the default provisioner. (gp3 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "gp2"
# storageClass: "gp3"
# persistentVolumeReclaimPolicy: Recycle
# volumeMode: Filesystem
accessMode: ReadWriteOnce
Expand Down
4 changes: 2 additions & 2 deletions helm/template/staging/stateful/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ persistence:
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## set, choosing the default provisioner. (gp3 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "gp2"
# storageClass: "gp3"
# persistentVolumeReclaimPolicy: Recycle
# volumeMode: Filesystem
accessMode: ReadWriteOnce
Expand Down

0 comments on commit f7c07d7

Please sign in to comment.