Skip to content

Instantly share code, notes, and snippets.

@jboyd01
Created December 17, 2018 19:10
Show Gist options
  • Save jboyd01/3de94cfeecb65b8591fdb22c113653ed to your computer and use it in GitHub Desktop.
Save jboyd01/3de94cfeecb65b8591fdb22c113653ed to your computer and use it in GitHub Desktop.
cannot set blockOwnerDeletion
cat <<'EOF' | oc create -f -
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: add-servicebindingfinalizers
rules:
- apiGroups:
- servicecatalog.k8s.io
resources:
- servicebindings/finalizers
verbs:
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: add-servicebindingfinalizers
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: add-servicebindingfinalizers
subjects:
- kind: ServiceAccount
name: service-catalog-controller
namespace: kube-service-catalog
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment