Skip to content

Commit

Permalink
manifests: set required-scc for openshift workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
liouk committed Feb 20, 2024
1 parent 5281ce8 commit 8d9a44b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/csidriveroperators/aws-ebs/base/09_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
metadata:
annotations:
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
openshift.io/required-scc: restricted-v2
labels:
name: aws-ebs-csi-driver-operator
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
spec:
template:
metadata:
annotations:
openshift.io/required-scc: restricted-v2
labels:
hypershift.openshift.io/need-management-kas-access: "true"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec:
template:
metadata:
annotations:
openshift.io/required-scc: restricted-v2
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
labels:
hypershift.openshift.io/need-management-kas-access: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: aws-ebs-csi-driver-operator
annotations:
config.openshift.io/inject-proxy: aws-ebs-csi-driver-operator
openshift.io/required-scc: restricted-v2
spec:
template:
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Deployment
metadata:
annotations:
config.openshift.io/inject-proxy: aws-ebs-csi-driver-operator
openshift.io/required-scc: restricted-v2
name: aws-ebs-csi-driver-operator
namespace: openshift-cluster-csi-drivers
spec:
Expand All @@ -14,6 +15,7 @@ spec:
template:
metadata:
annotations:
openshift.io/required-scc: restricted-v2
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
labels:
name: aws-ebs-csi-driver-operator
Expand Down

0 comments on commit 8d9a44b

Please sign in to comment.