ci: use stringData instead of data for secret

The "data" field only accepts base64 strings and our env var is not. So
let's use stringData to prevent an error from the API server:

```
"v1" cannot be handled as a Secret: illegal base64 data at input byte 29
```

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han committed 2022-04-25 16:41:27 +02:00
1 parent 318205026d
commit edfd120d6a
1 file changed
+1 -1
+1 -1
View File
@@ -4,5 +4,5 @@ kind: Secret
metadata:
name: rook-ibm-kp-token
namespace: rook-ceph
data:
stringData:
IBM_KP_SERVICE_API_KEY: $IBM_KP_SERVICE_API_KEY