Skip to content

Commit

Permalink
fix: use the correct label for controlled cloudflared connector
Browse files Browse the repository at this point in the history
Signed-off-by: STRRL <[email protected]>
  • Loading branch information
STRRL committed Oct 17, 2024
1 parent b962c7c commit be107bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/controlled-cloudflared-connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,15 @@ func cloudflaredConnectDeploymentTemplating(token string, namespace string, repl
Selector: &metav1.LabelSelector{
MatchLabels: map[string]string{
"app": appName,
"strrl.dev/cloudflare-tunnel-ingress-controller": "controlled-cloudflared-connector",
},
},
Template: v1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Name: appName,
Labels: map[string]string{
"app": appName,
"strrl.dev/cloudflare-tunnel-ingress-controller": "controlled-cloudflared-connector",
},
},
Spec: v1.PodSpec{
Expand Down

0 comments on commit be107bd

Please sign in to comment.