Skip to content

Commit

Permalink
Fix issues for integration-test
Browse files Browse the repository at this point in the history
- Accidentally removed name. Recovering name.
- Shorten policy-scc policy name
Ref: https://issues.redhat.com/browse/ACM-13584
Signed-off-by: yiraeChristineKim <[email protected]>
(cherry picked from commit a05e0ef)
  • Loading branch information
yiraeChristineKim authored and magic-mirror-bot[bot] committed Aug 28, 2024
1 parent df02599 commit 157c4be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions stable/CM-Configuration-Management/policy-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ spec:
kind: Namespace # must have namespace 'prod'
apiVersion: v1
metadata:
name: prod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: policy.open-cluster-management.io/v1
kind: Policy
metadata:
name: policy-securitycontextconstraints
name: policy-scc
annotations:
policy.open-cluster-management.io/standards: NIST SP 800-53
policy.open-cluster-management.io/categories: SC System and Communications Protection
Expand All @@ -14,7 +14,7 @@ spec:
apiVersion: policy.open-cluster-management.io/v1
kind: ConfigurationPolicy
metadata:
name: policy-securitycontextconstraints-example
name: policy-scc-example
spec:
remediationAction: inform # the policy-template spec.remediationAction is overridden by the preceding parameter value for spec.remediationAction.
severity: high
Expand Down

0 comments on commit 157c4be

Please sign in to comment.