diff --git a/argo/cluster/misc/users/chart/clusterrolebindings.yaml b/argo/cluster/misc/users/chart/clusterrolebindings.yaml index 9c808f13..b7aa355a 100644 --- a/argo/cluster/misc/users/chart/clusterrolebindings.yaml +++ b/argo/cluster/misc/users/chart/clusterrolebindings.yaml @@ -2,6 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: ro:view + namespace: default roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -15,6 +16,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: view:nodes + namespace: default rules: - apiGroups: [""] resources: ["nodes"] @@ -24,6 +26,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: ro:view:nodes + namespace: default roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/argo/cluster/misc/users/chart/kustomization.yaml b/argo/cluster/misc/users/chart/kustomization.yaml index ebcc58f9..2b7bf0d4 100644 --- a/argo/cluster/misc/users/chart/kustomization.yaml +++ b/argo/cluster/misc/users/chart/kustomization.yaml @@ -1,6 +1,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: default resources: - serviceaccounts.yaml diff --git a/argo/cluster/misc/users/chart/serviceaccounts.yaml b/argo/cluster/misc/users/chart/serviceaccounts.yaml index 15d316d2..12745b77 100644 --- a/argo/cluster/misc/users/chart/serviceaccounts.yaml +++ b/argo/cluster/misc/users/chart/serviceaccounts.yaml @@ -2,11 +2,13 @@ apiVersion: v1 kind: ServiceAccount metadata: name: remote + namespace: default --- apiVersion: v1 kind: Secret metadata: name: remote-token + namespace: default annotations: kubernetes.io/service-account.name: remote type: kubernetes.io/service-account-token