Skip to content

Commit

Permalink
Merge pull request #63 from metalmatze/hide-null-volumes
Browse files Browse the repository at this point in the history
Hide volumes in StatefulSet when null
  • Loading branch information
squat committed Oct 24, 2019
2 parents 5e78521 + 54d5415 commit 0cc76db
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/all/manifests/thanos-receive-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ spec:
- mountPath: /var/thanos/receive
name: thanos-receive-data
readOnly: false
volumes: null
volumeClaimTemplates:
- metadata:
name: thanos-receive-data
Expand Down
1 change: 0 additions & 1 deletion examples/all/manifests/thanos-store-statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ spec:
- mountPath: /var/thanos/store
name: thanos-store-data
readOnly: false
volumes: null
volumeClaimTemplates:
- metadata:
name: thanos-store-data
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-receive-pvc.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
spec+: {
template+: {
spec+: {
volumes: null,
volumes:: null,
},
},
volumeClaimTemplates::: [
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-store-pvc.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
spec+: {
template+: {
spec+: {
volumes: null,
volumes:: null,
},
},
volumeClaimTemplates::: [
Expand Down

0 comments on commit 0cc76db

Please sign in to comment.