github.com/argoproj-labs/argocd-operator@v0.10.0/tests/k8s/1-024_validate_apps_in_any_namespace/01-assert.yaml (about) 1 --- 2 apiVersion: v1 3 kind: Namespace 4 metadata: 5 labels: 6 argocd.argoproj.io/managed-by-cluster-argocd: central-argocd 7 kubernetes.io/metadata.name: test-1-24-custom 8 name: test-1-24-custom 9 --- 10 apiVersion: rbac.authorization.k8s.io/v1 11 kind: Role 12 metadata: 13 name: example-argocd_test-1-24-custom 14 namespace: test-1-24-custom 15 --- 16 apiVersion: rbac.authorization.k8s.io/v1 17 kind: RoleBinding 18 metadata: 19 name: example-argocd_test-1-24-custom 20 namespace: test-1-24-custom 21 roleRef: 22 apiGroup: rbac.authorization.k8s.io 23 kind: Role 24 name: example-argocd_test-1-24-custom 25 subjects: 26 - kind: ServiceAccount 27 name: example-argocd-argocd-server 28 - kind: ServiceAccount 29 name: example-argocd-argocd-application-controller 30 --- 31 apiVersion: v1 32 kind: Namespace 33 metadata: 34 labels: 35 argocd.argoproj.io/managed-by-cluster-argocd: central-argocd 36 kubernetes.io/metadata.name: test-2-24-custom 37 name: test-2-24-custom 38 --- 39 apiVersion: rbac.authorization.k8s.io/v1 40 kind: Role 41 metadata: 42 name: example-argocd_test-2-24-custom 43 namespace: test-2-24-custom 44 --- 45 apiVersion: rbac.authorization.k8s.io/v1 46 kind: RoleBinding 47 metadata: 48 name: example-argocd_test-2-24-custom 49 namespace: test-2-24-custom 50 roleRef: 51 apiGroup: rbac.authorization.k8s.io 52 kind: Role 53 name: example-argocd_test-2-24-custom 54 subjects: 55 - kind: ServiceAccount 56 name: example-argocd-argocd-server 57 - kind: ServiceAccount 58 name: example-argocd-argocd-application-controller