-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
ACM 2.16.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
Low
-
None
Description of problem:
When editing a Git + List to Git + any other generator, the server would remain .url instead of reverting back to server.
Version-Release number of selected component (if applicable):
latest-2.16 - feb 12
How reproducible:
Always
Steps to Reproduce:
- Go to appset push model wizard.
- Go to generators tab.
- Fill in details for Git + List with Git being the first...
- Delete List generator
- Add another generator
Actual results:
example:
apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: app-matrix namespace: openshift-gitops spec: generators: - matrix: generators: - git: requeueAfterSeconds: 180 repoURL: https://github.com/argoproj/argo-cd.git directories: - path: applicationset/examples/git-generator-directory/cluster-addons/* revision: HEAD - plugin: configMapRef: name: my-plugin input: parameters: key1: value1 key2: value2 list: - list - of - values boolean: true values: value1: something requeueAfterSeconds: 180 template: metadata: name: app-matrix-{{name}}-{{path.basename}} labels: velero.io/exclude-from-backup: "true" spec: project: default sources: - repositoryType: git repoURL: https://github.com/stolostron/application-lifecycle-samples.git targetRevision: main path: helloworld-argo destination: namespace: "{{path.basename}}" server: "{{.url}}" <----- this part syncPolicy: automated: enabled: true selfHeal: true prune: true syncOptions: - CreateNamespace=true - PruneLast=true
Expected results:
destination: namespace: "{{path.basename}}" server: "{{server}}"
Additional info:
workaround is just to type it in the yaml editor
- is cloned by
-
ACM-30138 When editing List + Git Matrix Generator, deployed namespace is not cleared.
-
- Review
-