Skip to content

Commit 0a39ca6

Browse files
authored
Merge pull request #184340 from nehakulkarni123/patch-5
New change to disallow use of [*]
2 parents 43d5b14 + 4744a9f commit 0a39ca6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/governance/policy/concepts/effects.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,13 @@ definitions as `constraintTemplate` is deprecated.
187187
- **apiGroups** (required when using _templateInfo_)
188188
- An _array_ that includes the
189189
[API groups](https://kubernetes.io/docs/reference/using-api/#api-groups) to match. An empty
190-
array (`[""]`) is the core API group while `["*"]` matches all API groups.
190+
array (`[""]`) is the core API group.
191+
- Defining `["*"]` for _apiGroups_ is disallowed.
191192
- **kinds** (required when using _templateInfo_)
192193
- An _array_ that includes the
193194
[kind](https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/#required-fields)
194195
of Kubernetes object to limit evaluation to.
196+
- Defining `["*"]` for _kinds_ is disallowed.
195197
- **values** (optional)
196198
- Defines any parameters and values to pass to the Constraint. Each value must exist in the
197199
Constraint template CRD.
@@ -397,11 +399,13 @@ definitions as `constraintTemplate` is deprecated.
397399
- **apiGroups** (required when using _templateInfo_)
398400
- An _array_ that includes the
399401
[API groups](https://kubernetes.io/docs/reference/using-api/#api-groups) to match. An empty
400-
array (`[""]`) is the core API group while `["*"]` matches all API groups.
402+
array (`[""]`) is the core API group.
403+
- Defining `["*"]` for _apiGroups_ is disallowed.
401404
- **kinds** (required when using _templateInfo_)
402405
- An _array_ that includes the
403406
[kind](https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/#required-fields)
404407
of Kubernetes object to limit evaluation to.
408+
- Defining `["*"]` for _kinds_ is disallowed.
405409
- **values** (optional)
406410
- Defines any parameters and values to pass to the Constraint. Each value must exist in the
407411
Constraint template CRD.

0 commit comments

Comments
 (0)