Skip to content

Commit 7ad2a0c

Browse files
committed
Use stringData when creating root password secret
When using data `NodeRootPassword` value should be base64 encoded. If using a normal string for $EDPM_ROOT_PASSWORD secret creation fails. Signed-off-by: rabi <[email protected]>
1 parent 20f4f4f commit 7ad2a0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gen-edpm-bmset-password-secret.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ metadata:
2424
name: baremetalset-password-secret
2525
namespace: ${NAMESPACE}
2626
type: Opaque
27-
data:
27+
stringData:
2828
NodeRootPassword: ${EDPM_ROOT_PASSWORD}
2929
EOF
3030
}

0 commit comments

Comments
 (0)