Helm Installations

Geo-Location LB Setup Steps

AuthorFullName__c
Patrick Russell
articleNumber
000005674
FirstPublishedDate
2023-04-13T09:04:51Z
lastModifiedDate
2025-05-21
VersionNumber
5

If the setup uses a Kubernetes Nginx Ingress Controller, use an annotation:

nginx.ingress.kubernetes.io/configuration-snippet: |
    proxy_set_header    X-JFrog-Override-Base-Url https://<global-domain>;


If the setup uses a Kubernetes Nginx Pod, edit the configMap instead:

a. Edit the config files

# Set the Kube_editor Environment Variable
export KUBE_EDITOR="vim"
# Edit the configMap - Helm 3.X will automatically track this change
kubectl edit configmap arti-artifactory-nginx-artifactory-conf
# Set the header:
     #proxy_set_header    X-JFrog-Override-Base-Url $http_x_forwarded_proto://$host:$server_port;
        proxy_set_header    X-JFrog-Override-Base-Url http://load-balancer.com;


b. Reboot the Nginx pod

kubectl delete pod arti-artifactory-nginx-67fd6b668c-24znw 

And after the header is set, you should be all set! Traffic going through the Geo-LB will be using the Geo-LB URL for everything.