Skip to content

Commit

Permalink
Merge pull request #1671 from cblecker/fix-scc-cr
Browse files Browse the repository at this point in the history
OCPBUGS-33184: Fix incorrect name for hostmount-anyuid SCC ClusterRole
  • Loading branch information
openshift-merge-bot[bot] committed May 3, 2024
2 parents 1d9a2d0 + 7b66bf3 commit 8fae6b5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ metadata:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-developer: "true"
rbac.authorization.kubernetes.io/autoupdate: "true"
name: system:openshift:scc:hostmount
name: system:openshift:scc:hostmount-anyuid
rules:
- apiGroups:
- security.openshift.io
resourceNames:
- hostmount
- hostmount-anyuid
resources:
- securitycontextconstraints
verbs:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-developer: "true"
rbac.authorization.kubernetes.io/autoupdate: "true"
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."
name: system:openshift:scc:hostmount
rules:
- apiGroups:
- security.openshift.io
resourceNames:
- hostmount
resources:
- securitycontextconstraints
verbs:
- use

0 comments on commit 8fae6b5

Please sign in to comment.