You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to use extra_hooks in a k8s deployment and running into an issue where the additional jobs we define get run. But we find as we try to run additional st2 commands that we're seeing an error along the lines of:
configparser.DuplicateSectionError: While reading from '/root/.st2/config' [line 2]: section 'credentials' already exists
creating a st2clientConfig value that [credentials] is included in the config value.
But in the jobs template '[credentials]' is being pre-prended to the st2clientConfig value:
We're trying to use extra_hooks in a k8s deployment and running into an issue where the additional jobs we define get run. But we find as we try to run additional st2 commands that we're seeing an error along the lines of:
configparser.DuplicateSectionError: While reading from '/root/.st2/config' [line 2]: section 'credentials' already exists
In looking into this issue I see that at
stackstorm-k8s/values.yaml
Lines 925 to 928 in 415e3a6
[credentials]
is included in the config value.But in the jobs template '[credentials]' is being pre-prended to the st2clientConfig value:
stackstorm-k8s/templates/jobs.yaml
Lines 663 to 666 in 415e3a6
resulting in a config file that looks like:
The text was updated successfully, but these errors were encountered: