Browse Source

@ #5008 | Local path provisioner boolean annotation is rendered incorrectly and not applied (#5669)

pull/5676/head
Hoat Le 4 years ago
committed by GitHub
parent
commit
4c803d579b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes-apps/external_provisioner/local_path_provisioner/templates/local-path-storage-sc.yml.j2

2
roles/kubernetes-apps/external_provisioner/local_path_provisioner/templates/local-path-storage-sc.yml.j2

@ -4,7 +4,7 @@ kind: StorageClass
metadata: metadata:
name: {{ local_path_provisioner_storage_class }} name: {{ local_path_provisioner_storage_class }}
annotations: annotations:
storageclass.kubernetes.io/is-default-class: {{ local_path_provisioner_is_default_storageclass }}
storageclass.kubernetes.io/is-default-class: "{{ local_path_provisioner_is_default_storageclass }}"
provisioner: rancher.io/local-path provisioner: rancher.io/local-path
volumeBindingMode: WaitForFirstConsumer volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: {{ local_path_provisioner_reclaim_policy }} reclaimPolicy: {{ local_path_provisioner_reclaim_policy }}
Loading…
Cancel
Save