Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9854787f authored by Alexandre MERLIN's avatar Alexandre MERLIN
Browse files

[lib/gen/kadeploy] Do not set trusted deployment env in cluster conf if no env is trusted

parent 144e73c6
Branches
No related tags found
No related merge requests found
Pipeline #332960 passed
......@@ -98,9 +98,11 @@ pxe:
automata:
macrosteps:
SetDeploymentEnv:
<%- if data['trusted_env'] -%>
- timeout: <%= data['deployment.timeout'] %>
type: Trusted
retries: <%= data['deployment.retries'].nil? ? 1 : data['deployment.retries'] %>
<%- end -%>
- timeout: <%= data['deployment.timeout'] %>
type: Untrusted
retries: <%= data['deployment.retries'].nil? ? 1 : data['deployment.retries'] %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment