generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Description
#435 updated aws-node-termination-handler-psp
from a ClusterRole
to a Role
, but the corresponding RoleBinding
wasn't updated:
aws-node-termination-handler/config/helm/aws-node-termination-handler/templates/psp.yaml
Lines 35 to 59 in e617cc3
kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: {{ template "aws-node-termination-handler.fullname" . }}-psp | |
namespace: {{ .Release.Namespace }} | |
labels: | |
{{ include "aws-node-termination-handler.labels" . | indent 4 }} | |
rules: | |
- apiGroups: ['policy'] | |
resources: ['podsecuritypolicies'] | |
verbs: ['use'] | |
resourceNames: | |
- {{ template "aws-node-termination-handler.fullname" . }} | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: RoleBinding | |
metadata: | |
name: {{ template "aws-node-termination-handler.fullname" . }}-psp | |
namespace: {{ .Release.Namespace }} | |
labels: | |
{{ include "aws-node-termination-handler.labels" . | indent 4 }} | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: {{ template "aws-node-termination-handler.fullname" . }}-psp |
That roleRef
probably shouldn't refer to a ClusterRole
.
Metadata
Metadata
Assignees
Labels
No labels