feat: added base64DecodeBytes function to operator template

This commit is contained in:
=
2025-01-18 18:58:00 +05:30
parent 3ba396f7fa
commit 9823c7d1aa
2 changed files with 11 additions and 1 deletions

View File

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