Skip to content

Commit 8fae6b5

Browse files
Merge pull request #1671 from cblecker/fix-scc-cr
OCPBUGS-33184: Fix incorrect name for hostmount-anyuid SCC ClusterRole
2 parents 1d9a2d0 + 7b66bf3 commit 8fae6b5

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

bindata/bootkube/scc-manifests/0000_20_kube-apiserver-operator_00_cr-scc-hostmount-anyuid.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ metadata:
66
include.release.openshift.io/self-managed-high-availability: "true"
77
include.release.openshift.io/single-node-developer: "true"
88
rbac.authorization.kubernetes.io/autoupdate: "true"
9-
name: system:openshift:scc:hostmount
9+
name: system:openshift:scc:hostmount-anyuid
1010
rules:
1111
- apiGroups:
1212
- security.openshift.io
1313
resourceNames:
14-
- hostmount
14+
- hostmount-anyuid
1515
resources:
1616
- securitycontextconstraints
1717
verbs:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
annotations:
5+
include.release.openshift.io/ibm-cloud-managed: "true"
6+
include.release.openshift.io/self-managed-high-availability: "true"
7+
include.release.openshift.io/single-node-developer: "true"
8+
rbac.authorization.kubernetes.io/autoupdate: "true"
9+
openshift.io/description: "This ClusterRole was is created by default, but refers to an SCC that doesn't exist. This ClusterRole will likely be removed in a future release."
10+
name: system:openshift:scc:hostmount
11+
rules:
12+
- apiGroups:
13+
- security.openshift.io
14+
resourceNames:
15+
- hostmount
16+
resources:
17+
- securitycontextconstraints
18+
verbs:
19+
- use

0 commit comments

Comments
 (0)