Skip to content

Commit 58e8be6

Browse files
committed
review changes
1 parent 41c3eac commit 58e8be6

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

playbooks/roles/ocp-csi-driver/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ Requirements
1616
- Running OCP 4.x cluster is needed.
1717
- Cluster must not contain default StorageClass.
1818
- 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+
```
3737

3838
Role Variables
3939
--------------

playbooks/roles/ocp-csi-driver/tasks/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@
124124
msg: "PowerVC certificate secret is not present!"
125125
when: powervc_certificate.resources | length == 0
126126

127-
- name: If powervc-certificate is empty
128-
debug:
127+
- debug:
129128
msg: "PowerVC certificate is empty! Please check the certificate's secret."
130129
when: >
131130
(powervc_certificate.resources[0].data.certificate is not defined) or

0 commit comments

Comments
 (0)