apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml #- https://raw.githubusercontent.com/argoproj/argo-cd/refs/tags/v2.14.11/manifests/install.yaml configMapGenerator: - name: argocd-cm behavior: merge literals: - "timeout.reconciliation=15s" patches: # reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns - target: group: rbac.authorization.k8s.io version: v1 kind: ClusterRoleBinding patch: |- - op: replace path: /subjects/0/namespace value: default