values.yaml:
artifactory:
customSecrets:
- name: mysecret
key: mykey
data: mydata
(mydata in base64 is bXlkYXRh)
When this added to stringData is templates/artifactory-unified-secret.yaml, the base64-encoded string has a new line added to it so it becomes bXlkYXRhCg==
This breaks tools that do not expect new lines in the data (e.g. Go's net/http and bearer tokens).
values.yaml:
(
mydatain base64 isbXlkYXRh)When this added to
stringDataistemplates/artifactory-unified-secret.yaml, the base64-encoded string has a new line added to it so it becomesbXlkYXRhCg==This breaks tools that do not expect new lines in the data (e.g. Go's
net/httpand bearer tokens).