fix: resolved base64 decode saving file as ansii

This commit is contained in:
=
2025-02-04 16:14:28 +05:30
parent 110d0e95b0
commit dfd4b13574
4 changed files with 6 additions and 7 deletions

View File

@@ -104,7 +104,7 @@ spec:
includeAllSecrets: true
data:
SSH_KEY: "{{ .KEY.SecretPath }} {{ .KEY.Value }}"
BINARY_KEY: "{{ toBase64DecodedString .BINARY_KEY_BASE64.Value }}"
BINARY_KEY: "{{ decodeBase64ToBytes .BINARY_KEY_BASE64.Value }}"
creationPolicy: "Orphan" ## Owner | Orphan
# secretType: kubernetes.io/dockerconfigjson