-
-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Configuration values don't work with nested objects #4121
Comments
LindsayHill
changed the title
The secret value in email config file seems not work
Datastore references not working with nested config objects
May 10, 2018
LindsayHill
changed the title
Datastore references not working with nested config objects
Dynamic Configuration values don't work with nested objects
May 10, 2018
From Slack - probably related to https://github.com/StackStorm/st2/blob/master/st2common/st2common/util/config_loader.py#L102-L138
|
nmaludy
added a commit
to nmaludy/st2
that referenced
this issue
May 10, 2018
This was referenced May 10, 2018
nmaludy
added a commit
to nmaludy/st2
that referenced
this issue
May 10, 2018
nmaludy
added a commit
to nmaludy/st2
that referenced
this issue
May 10, 2018
Kami
added a commit
that referenced
this issue
May 10, 2018
…-in-configs Fix for #4121 - Rendering nested lists in pack configs
Kami
pushed a commit
that referenced
this issue
May 10, 2018
Kami
pushed a commit
that referenced
this issue
May 10, 2018
Kami
pushed a commit
that referenced
this issue
May 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use the following cmd to set a key in the datastore.
$ st2 key set -e smtp_account.me.password "I'm Encrypted"
and here are my email pack config /opt/stackstorm/configs/email.yaml
(followed by the rest of the account configuration).
This is based on the email pack's
config.schema.yaml
, which contains this:Running the email action fails:
I added some log to see the password value in File "/opt/stackstorm/packs/email/actions/send_email.py", line 49.
It seems that we get
{{ st2kv.system.smtp_account.me.password }}
as the password.FYI
If I run the send email action and use
{{ st2kv.system.smtp_account.me.password }}
as the messageI can see the message's value is correct.
The text was updated successfully, but these errors were encountered: