-
Bug
-
Resolution: Done
-
Major
-
1.3, 1.3.1
-
3
-
False
-
False
-
-
-
GITOPS Sprint 210
ArgoCD operator itself properly handles the resource.exclusion but it completely ignores the resource.inclusion.
i tried the below scenerio:
resourceExclusions work fine:
1. Below lines added in argoCD CR:
$ oc edit argocd openshift-gitops
resourceExclusions: |
- apiGroups:
- tekton.dev
clusters:
- '*'
kinds:
- TaskRun
2. resource.exclusions added in configmap automatically:
$ oc get cm argocd-cm -o yaml
resource.exclusions: |
- apiGroups:
- tekton.dev
clusters:
- '*'
kinds:
- TaskRun
resourceInclusions does not work :
1. Below lines added in argoCD CR:
$ oc get argoCD -o yaml
resourceInclusions: |
- apiGroups:
- tekton.dev
clusters:
- '*'
kinds:
- DaemonSet
- Nothing appeared on config map.
$ oc get cm argocd-cm -o yaml