Skip to content

Commit

Permalink
Add changes to enable TLS encryption based on label
Browse files Browse the repository at this point in the history
  • Loading branch information
savitaashture authored and tekton-robot committed Mar 23, 2021
1 parent 29aff0f commit 8a45b51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/reconciler/openshift/annotation/annotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ func (ac *reconciler) reconcileMutatingWebhook(ctx context.Context, caCert []byt
webhook.Webhooks[i].Rules = rules
webhook.Webhooks[i].NamespaceSelector = &metav1.LabelSelector{
MatchExpressions: []metav1.LabelSelectorRequirement{{
Key: "operator.tekton.dev/disable-annotation",
Operator: metav1.LabelSelectorOpNotIn,
Values: []string{"disabled"},
Key: "operator.tekton.dev/enable-annotation",
Operator: metav1.LabelSelectorOpIn,
Values: []string{"enabled"},
}, {
// "control-plane" is added to support Azure's AKS, otherwise the controllers fight.
// See knative/pkg#1590 for details.
Expand Down

0 comments on commit 8a45b51

Please sign in to comment.