Skip to content

Commit b109a12

Browse files
committed
WIP: add ConfigMap to webhook dependant resources
1 parent 354ced6 commit b109a12

File tree

1 file changed

+1
-1
lines changed
  • vendor/knative.dev/operator/pkg/reconciler/common

1 file changed

+1
-1
lines changed

vendor/knative.dev/operator/pkg/reconciler/common/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var (
3434
role mf.Predicate = mf.Any(mf.ByKind("ClusterRole"), mf.ByKind("Role"))
3535
rolebinding mf.Predicate = mf.Any(mf.ByKind("ClusterRoleBinding"), mf.ByKind("RoleBinding"))
3636
webhook mf.Predicate = mf.Any(mf.ByKind("MutatingWebhookConfiguration"), mf.ByKind("ValidatingWebhookConfiguration"))
37-
webhookDependentResources mf.Predicate = byGV(schema.GroupKind{Group: "networking.internal.knative.dev", Kind: "Certificate"})
37+
webhookDependentResources mf.Predicate = mf.Any(byGV(schema.GroupKind{Group: "networking.internal.knative.dev", Kind: "Certificate"}), mf.ByKind("ConfigMap"))
3838
gatewayNotMatch = "no matches for kind \"Gateway\""
3939
)
4040

0 commit comments

Comments
 (0)