Skip to content

Commit

Permalink
Merge pull request #52 from halkeye/fix-annotations-2
Browse files Browse the repository at this point in the history
force true to be a string annotation not boolean
  • Loading branch information
travisghansen authored Jan 5, 2024
2 parents 1706135 + 28651eb commit 0f397aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/democratic-csi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: csi storage for container orchestration systems
name: democratic-csi
version: 0.14.4
version: 0.14.5
2 changes: 1 addition & 1 deletion stable/democratic-csi/templates/storage-classes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{- $classRoot := . -}}
{{- $storageClassAnnotations := ( $classRoot.annotations | default dict ) }}
{{- if $classRoot.defaultClass }}
{{- $storageClassAnnotations = merge $storageClassAnnotations (dict "storageclass.kubernetes.io/is-default-class" $classRoot.defaultClass) }}
{{- $storageClassAnnotations = merge $storageClassAnnotations (dict "storageclass.kubernetes.io/is-default-class" "true") }}
{{- end }}
---
apiVersion: storage.k8s.io/v1
Expand Down

0 comments on commit 0f397aa

Please sign in to comment.