rancher-charts/packages/rancher-sriov/generated-changes/patch/templates/rolebinding.yaml.patch

20 lines
495 B
Diff

--- charts-original/templates/rolebinding.yaml
+++ charts/templates/rolebinding.yaml
@@ -29,3 +29,16 @@
kind: Role
name: sriov-network-config-daemon
apiGroup: rbac.authorization.k8s.io
+---
+kind: RoleBinding
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+ name: operator-webhook-sa
+ namespace: {{ .Release.Namespace }}
+subjects:
+- kind: ServiceAccount
+ name: operator-webhook-sa
+roleRef:
+ kind: Role
+ name: operator-webhook-sa
+ apiGroup: rbac.authorization.k8s.io