Skip to content

Commit

Permalink
update ns
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Nov 24, 2023
1 parent 39fe0e9 commit 36b5f7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions argo/cluster/misc/users/chart/clusterrolebindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -15,6 +16,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: view:nodes
namespace: default
rules:
- apiGroups: [""]
resources: ["nodes"]
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion argo/cluster/misc/users/chart/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: default

resources:
- serviceaccounts.yaml
Expand Down
2 changes: 2 additions & 0 deletions argo/cluster/misc/users/chart/serviceaccounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36b5f7e

Please sign in to comment.