Setting metadata value with a secret/variable fails in the end_user_authentication section #26135
Labels
bug
Something isn't working as documented
#g-orchestration
Orchestration product group
:release
Ready to write code. Scheduled in a release. See "Making changes" in handbook.
~released bug
This bug was found in a stable release.
Fleet version: 4.63
Web browser and operating system: Any
💥 Actual behavior
I am trying to set a value for metadata via gitops for end_user_authentication using a github secret (ex:
$DOGFOOD_SSO_METADATA
). This results in the error:Error: failed to unmarshal file error converting YAML to JSON: yaml: line 42: could not find expected ':':
This same secret works without issue under the
sso_settings
option. I am also able to get theend_user_authentication
section to work if I paste the contents of that variable as the value (as a string). This issue seems limited to some validation we are doing specifically in theend_user_authentication
section. Setting the values through the UI gives me expected results.🧑💻 Steps to reproduce
🕯️ More info (optional)
See this pull request for the error: #26042
The text was updated successfully, but these errors were encountered: