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:
1 parent
89f8f1882d
commit
f47115710d
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user