Closed dani-CO-CN closed 1 year ago
Thanks for the bug report! I'll look in to it and see about fixing it
I took some time to look at this, and this isn't actually a bug... Kubernetes expects key-value pairs for the stringData
field so the correct syntax for stringData
would be this:
secrets:
secret:
enabled: true
stringData:
secret.crt: |-
aldfaldflaf
adfadfadf
Details
What steps did you take and what happened:
Inject a x509 certificate as stringData for a secret. I tried multiple yaml formatters but failed (
|
or|-
)What did you expect to happen:
That the secret just has a literal block with
but instead it is rendered as
Anything else you would like to add:
Additional Information: