File tree Expand file tree Collapse file tree 2 files changed +19
-20
lines changed
playbooks/roles/ocp-csi-driver Expand file tree Collapse file tree 2 files changed +19
-20
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,24 @@ Requirements
16
16
- Running OCP 4.x cluster is needed.
17
17
- Cluster must not contain default StorageClass.
18
18
- Optional :
19
- - A secret with PowerVC certificate in the ` default ` namespace
20
- Secret name should be ` powervc-certificate ` and must contains ` certificate ` field.
21
- eg.
22
-
23
- ```
24
- apiVersion: v1
25
- kind: Secret
26
- metadata:
27
- name: powervc-certificate
28
- namespace: default
29
- type: Opaque
30
- stringData:
31
- certificate: |
32
- -----BEGIN CERTIFICATE-----
33
- IBAgwIBUCCAwIBAgIUn2gAbw0LWHtozBNiLdUtELvr1pyPAzcNAQYjAwDQYJKoZIhv
34
- ...
35
- Un2gAIBAb -----END CERTIFICATE-----
36
- ```
19
+ - A secret with PowerVC certificate in the ` default ` namespace
20
+ Secret name should be ` powervc-certificate ` and must contains ` certificate ` field.
21
+ eg.
22
+
23
+ ```
24
+ apiVersion: v1
25
+ kind: Secret
26
+ metadata:
27
+ name: powervc-certificate
28
+ namespace: default
29
+ type: Opaque
30
+ stringData:
31
+ certificate: |
32
+ -----BEGIN CERTIFICATE-----
33
+ IBAgwIBUCCAwIBAgIUn2gAbw0LWHtozBNiLdUtELvr1pyPAzcNAQYjAwDQYJKoZIhv
34
+ ...
35
+ Un2gAIBAb -----END CERTIFICATE-----
36
+ ```
37
37
38
38
Role Variables
39
39
--------------
Original file line number Diff line number Diff line change 124
124
msg : " PowerVC certificate secret is not present!"
125
125
when : powervc_certificate.resources | length == 0
126
126
127
- - name : If powervc-certificate is empty
128
- debug :
127
+ - debug :
129
128
msg : " PowerVC certificate is empty! Please check the certificate's secret."
130
129
when : >
131
130
(powervc_certificate.resources[0].data.certificate is not defined) or
You can’t perform that action at this time.
0 commit comments