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
The policy is set per whole controller, while it should be set per ApplicationSet object.
Motivation
We use staging and dev environments on the same k8s cluster separated by namespace. For staging it's not allowed to override Application parameters and applicationset policy=create-update should be applied. For dev namespaces it's totally fine to edit application parameters from cli or gui - for example to switch target branch to simplify testing of changes in helm charts. In that case we need policy=create-only to be set.
Proposal
default policy field can be overridden by spec of ApplicationSet object.
The text was updated successfully, but these errors were encountered:
crenshaw-dev
changed the title
Applicationset policy is set on ApplicationSet object instead of global flag
Allow the Applicationset policy to be set on ApplicationSet object instead of global flag
Nov 28, 2022
Summary
The policy is set per whole controller, while it should be set per ApplicationSet object.
Motivation
We use staging and dev environments on the same k8s cluster separated by namespace. For staging it's not allowed to override Application parameters and applicationset
policy=create-update
should be applied. For dev namespaces it's totally fine to edit application parameters from cli or gui - for example to switch target branch to simplify testing of changes in helm charts. In that case we needpolicy=create-only
to be set.Proposal
default policy field can be overridden by spec of ApplicationSet object.
The text was updated successfully, but these errors were encountered: