Skip to content

Commit b44edce

Browse files
committed
fix: Remove redundant decode for OKE init parameter
Signed-off-by: Devon Crouse <[email protected]>
1 parent 31f173f commit b44edce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/workers/cloudinit-oke.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function run_oke_init() { # Initialize OKE worker node
1616

1717
cluster_ca=$(get_kubelet_client_ca)
1818
if [[ -z "${cluster_ca}" ]]; then
19-
cluster_ca=$(get_imds_metadata | jq -rcM '.cluster_ca_cert' | base64 -d)
19+
cluster_ca=$(get_imds_metadata | jq -rcM '.cluster_ca_cert')
2020
fi
2121

2222
bash /etc/oke/oke-install.sh \

0 commit comments

Comments
 (0)