Explorar o código

Merge pull request #8999 from DirectXMan12/bug/sdn-proxier-rolebinding

Bind the node-proxier role to the SDN SA
OpenShift Merge Robot %!s(int64=6) %!d(string=hai) anos
pai
achega
0b514100cc
Modificáronse 1 ficheiros con 11 adicións e 1 borrados
  1. 11 1
      roles/openshift_sdn/files/sdn-policy.yaml

+ 11 - 1
roles/openshift_sdn/files/sdn-policy.yaml

@@ -26,4 +26,14 @@ items:
   - kind: ServiceAccount
     name: sdn
     namespace: openshift-sdn
-# TODO: PSP binding
+- apiVersion: authorization.openshift.io/v1
+  kind: ClusterRoleBinding
+  metadata:
+    name: sdn-node-proxier
+  roleRef:
+    name: system:node-proxier
+  subjects:
+  - kind: ServiceAccount
+    name: sdn
+    namespace: openshift-sdn
+# TODO: PSP binding