This message was deleted.
# extensions
a
This message was deleted.
b
I would assume wrapping the value of
publicCredentialFields
in quotes will retain those dashes
a
Like individually?
I quoted the whole thing, no change
b
I'm not entirely sure how that yaml is parsed using kubectl, but quoting the entire thing should work. Perhaps something like:
Copy code
metadata:
  annotations:
    privateCredentialFields: password
    publicCredentialFields: |-
      endpoint,insecure,username,image-id,image-name,net-id,private-key-file,net-name,sec-groups,ssh-user,ssh-port,etc-hosts,active-timeout,vcpu,ram
a
Will give that a try, thanks!
🤞 1
Sadly this didn't work. I'll just go ahead and remove all hyphens from flag names. Thanks for the help anyway 🙂
s
i'm not 100% sure, but you'll probably need to quote strings with
,
in. so you might have some luck with
publicCredentialFields: "endpoint,insecure,username,image-id,image-name,net-id,private-key-file,net-name,sec-groups,ssh-user,ssh-port,etc-hosts,active-timeout,vcpu,ram"
a
I think the right way to do it is:
net-name
->
netName
, etc. but I haven't tested it