Skip to content

Commit 8d6c09e

Browse files
committed
fixup: remove unused kinds from constraint
1 parent 8f3c259 commit 8d6c09e

File tree

1 file changed

+2
-6
lines changed
  • helmfile.d/charts/gatekeeper/constraints/templates/restrict-pod-disruption-budgets

1 file changed

+2
-6
lines changed

helmfile.d/charts/gatekeeper/constraints/templates/restrict-pod-disruption-budgets/constraint.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@ spec:
88
match:
99
kinds:
1010
- apiGroups: [""]
11-
kinds: ["Pod", "ReplicationController"]
11+
kinds: ["ReplicationController"]
1212
- apiGroups: ["apps"]
13-
kinds: ["Deployment", "StatefulSet", "DaemonSet", "ReplicaSet"]
14-
- apiGroups: ["extensions"]
15-
kinds: ["Deployment", "StatefulSet", "DaemonSet", "ReplicaSet"]
16-
- apiGroups: ["batch"]
17-
kinds: ["Job", "CronJob"]
13+
kinds: ["Deployment", "StatefulSet", "ReplicaSet"]
1814
- apiGroups: ["policy"]
1915
kinds: ["PodDisruptionBudget"]
2016
excludedNamespaces: ["kube-system", "kube-public", "kube-node-lease", "calico-system"]

0 commit comments

Comments
 (0)