File tree Expand file tree Collapse file tree 4 files changed +57
-0
lines changed Expand file tree Collapse file tree 4 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : external-secrets.io/v1beta1
3
+ kind : ExternalSecret
4
+ metadata :
5
+ name : cinder-netapp-config
6
+ namespace : openstack
7
+ spec :
8
+ refreshInterval : 1h
9
+ secretStoreRef :
10
+ kind : ClusterSecretStore
11
+ name : openstack
12
+ target :
13
+ name : cinder-netapp-config
14
+ creationPolicy : Owner
15
+ deletionPolicy : Delete
16
+ template :
17
+ engineVersion : v2
18
+ data :
19
+ netapp_nvme.conf : |
20
+ [netapp_nvme]
21
+ netapp_login = {{ .netapp_username }}
22
+ netapp_password = {{ .netapp_password }}
23
+ netapp_server_hostname = {{ .netapp_host }}
24
+ netapp_server_port = 443
25
+ netapp_storage_family = ontap_cluster
26
+ netapp_storage_protocol = nvme
27
+ netapp_transport_type = https
28
+ netapp_use_legacy_client = false
29
+ netapp_vserver = data-svm1
30
+ volume_backend_name = netapp_nvme
31
+ volume_driver = cinder.volume.drivers.netapp.common.NetAppDriver
32
+ data :
33
+ - secretKey : netapp_username
34
+ remoteRef :
35
+ key : svc-acct-netapp
36
+ property : username
37
+ - secretKey : netapp_password
38
+ remoteRef :
39
+ key : svc-acct-netapp
40
+ property : password
41
+ - secretKey : netapp_host
42
+ remoteRef :
43
+ key : svc-acct-netapp
44
+ property : host
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ kind: Kustomization
5
5
resources :
6
6
- cinder-mariadb-db.yaml
7
7
- cinder-rabbitmq-queue.yaml
8
+ - cinder-volume-netapp.yaml
Original file line number Diff line number Diff line change 5
5
backends :
6
6
# disable the hardcoded one in the OpenStack Helm values.yaml
7
7
rbd1 : null
8
+ cinder :
9
+ DEFAULT :
10
+ enabled_backends : netapp_nvme
11
+ default_volume_type : netapp_nvme
8
12
9
13
# typically overridden by environmental
10
14
# values, but should include all endpoints
56
60
volumeMounts :
57
61
- mountPath : /var/lib/cinder
58
62
name : var-lib-cinder
63
+ - mountPath : /etc/cinder/cinder.conf.d/netapp_nvme.conf
64
+ subPath : netapp_nvme.conf
65
+ name : volume-backend
66
+ readOnly : true
59
67
volumes :
60
68
- name : var-lib-cinder
61
69
emptyDir : {}
70
+ - name : volume-backend
71
+ secret :
72
+ secretName : cinder-netapp-config
62
73
lifecycle :
63
74
disruption_budget :
64
75
deployments :
Original file line number Diff line number Diff line change 26
26
- watch
27
27
resourceNames :
28
28
- svc-acct-argoworkflow
29
+ - svc-acct-netapp
29
30
- apiGroups :
30
31
- authorization.k8s.io
31
32
resources :
You can’t perform that action at this time.
0 commit comments