Skip to content

Commit

Permalink
Merge pull request #265 from dciangot/namespace_role
Browse files Browse the repository at this point in the history
fix all service account roles with namespaces and leases
  • Loading branch information
dciangot authored Jul 18, 2024
2 parents 331b713 + 26dfb7d commit a7175b9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/manifests/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ rules:
- secrets
- services
- serviceaccounts
- namespaces
verbs:
- get
- list
Expand Down
12 changes: 12 additions & 0 deletions example/interlink-docker/vk/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,25 @@ metadata:
name: interlink-role
namespace: vk
rules:
- apiGroups:
- "coordination.k8s.io"
resources:
- leases
verbs:
- update
- create
- get
- list
- watch
- patch
- apiGroups:
- ""
resources:
- configmaps
- secrets
- services
- serviceaccounts
- namespaces
verbs:
- get
- list
Expand Down
12 changes: 12 additions & 0 deletions helm/interlink/templates/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,25 @@ metadata:
name: "{{ .Values.nodeName }}-role"
namespace: {{ .Release.Namespace }}
rules:
- apiGroups:
- "coordination.k8s.io"
resources:
- leases
verbs:
- update
- create
- get
- list
- watch
- patch
- apiGroups:
- ""
resources:
- configmaps
- secrets
- services
- serviceaccounts
- namespaces
verbs:
- get
- list
Expand Down

0 comments on commit a7175b9

Please sign in to comment.