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>
(cherry picked from commit edfd120d6a)
This commit is contained in:
Sébastien Han authored and mergify-bot committed 2022-04-25 16:17:30 +00:00
1 parent 89f8f1882d
commit f47115710d
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