Skip to content

Commit

Permalink
Set the default ingress API Version
Browse files Browse the repository at this point in the history
Fixes zalando-incubator#678

With the removal of the `--ingress-api-version` flag in 0.15.0, this
value was no longer set and the constructed api URL is incomplete.

Signed-off-by: Jeremy Huntwork <[email protected]>
  • Loading branch information
jhuntwork committed Feb 1, 2024
1 parent c530fcd commit 22c76d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ func loadSettings() error {
kingpin.Flag("target-cni-pod-labelselector", "AWS VPC CNI only. Defines the labelselector for ingress pods that should be linked to target group. Supports simple equality and multi value form (a=x,b=y) as well as complex forms (a IN (x,y,z).").StringVar(&targetCNIPodLabelSelector)
kingpin.Parse()

// We currently only support one Ingress API Version
ingressAPIVersion = kubernetes.IngressAPIVersionNetworking

blacklistCertArnMap = make(map[string]bool)
for _, s := range blacklistCertARNs {
blacklistCertArnMap[s] = true
Expand Down

0 comments on commit 22c76d5

Please sign in to comment.