-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml
65 lines (50 loc) · 2.05 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
options:
image-registry:
type: string
description: |
Source registry of Cinder CSI storage images.
By setting to a value, each image listed in the releases manifest
has its image-registry replaced.
If unset, the manifests will use the image registry from the kube-control relation
example)
juju config cinder-csi image-registry='rocks.canonical.com:443/cdk'
juju config cinder-csi --reset image-registry
storage-release:
type: string
description: |
Specify the version of storage-release as defined by the `release`
tags of https://github.com/kubernetes/cloud-provider-openstack
example)
juju config cinder-csi storage-release='v1.7.3'
A list of supported versions is available through the action:
juju run-action cinder-csi/leader list-releases --wait
To reset by to the latest supported by the charm use:
juju config cinder-csi --reset storage-release
The current release deployed is available by viewing
juju status cinder-csi
availability-zone:
type: string
default: ""
description: |
Availability zone to use with Cinder CSI. This is passed through to the
parameters.availability field of the csi-cinder-default StorageClass.
topology:
type: boolean
default: True
description: |
Whether to enable the Cinder CSI topology awareness
reclaim-policy:
type: string
default: "Delete"
description: |
https://kubernetes.io/docs/concepts/storage/storage-classes/#reclaim-policy
The reclaim policy for the PVCs created by the CSI driver. This is passed
through to the parameters.reclaimPolicy field of the csi-cinder-default
StorageClass.
Potential values are "Delete" or "Retain"
storage-class-default:
type: boolean
default: false
description: |
https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/
Whether to set the storage class for the Cinder CSI driver as the cluster default