Performing Ingress Controller Changes in values.yaml

Infoworks supports persisting ingress controller changes (in the ingress-nginx section) via values.yaml file.

Consider the following scenario where a user is providing traffic route for ingress controller via values.yaml file.

To provide traffic route:

Step 1: Edit the values.yaml file.

Step 2: Go to the ingress-nginx section.

Step 3: Under the internal: section, add externalTrafficPolicy: Local

ingress-nginx:
enabled: true
controller:
service:
external:
enabled: false
internal:
externalTrafficPolicy: Local
enabled: true
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
annotations: {}
loadBalancerSourceRanges: []

Step 4: Run HELM upgrade command.

helm upgrade <release_name> infoworks/ --values infoworks/values.yaml -n <namespace>