Skip to content

Commit

Permalink
updated constraint name to must-have-cbrid
Browse files Browse the repository at this point in the history
  • Loading branch information
cartyc committed Sep 13, 2023
1 parent 4f53911 commit 27795aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: constraints.gatekeeper.sh/v1beta1
kind: K8sRequiredLabels
metadata:
name: must-have-cost-center
name: must-have-cbrid
spec:
enforcementAction: dryrun
match:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: constraints.gatekeeper.sh/v1beta1
kind: K8sRequiredLabels
metadata:
name: must-have-cost-center
name: must-have-cbrid
spec:
enforcementAction: dryrun
match:
Expand All @@ -11,7 +11,7 @@ spec:
kinds:
- Project
parameters:
message: "All Projects must have an `ssc_cbrid` label with a 4digit CBR ID"
message: "All Projects must have an `ssc_cbrid` label with a 4 digit CBR ID"
labels:
- key: ssc_cbrid
allowedRegex: ^\d{4}$
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: constraints.gatekeeper.sh/v1beta1
kind: K8sRequiredLabels
metadata:
name: must-have-cost-center
name: must-have-cbrid
spec:
enforcementAction: dryrun
match:
Expand All @@ -11,7 +11,7 @@ spec:
kinds:
- Project
parameters:
message: "All Projects must have an `ssc_cbrid` label with a 4digit CBR ID"
message: "All Projects must have an `ssc_cbrid` label with a 4 digit CBR ID"
labels:
- key: ssc_cbrid
allowedRegex: ^\d{4}$

0 comments on commit 27795aa

Please sign in to comment.