If you are using Ingress, it is possible to add the proxy_set_header for “X-JFrog-Override-Base-Url” under the annotation section as shown below.
Reference article:
https://jfrog.com/help/r/jfrog-installation-setup-documentation/security-related-issues#Using%20Ingress%20Annotations
ingress: enabled: true defaultBackend: enabled: false hosts: - myhost.example.com annotations: ingress.kubernetes.io/force-ssl-redirect: "true" ingress.kubernetes.io/proxy-body-size: "0" ingress.kubernetes.io/proxy-read-timeout: "600" ingress.kubernetes.io/proxy-send-timeout: "600" kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/configuration-snippet: | proxy_set_header X-JFrog-Override-Base-Url https://<artifactory-domain>; nginx.ingress.kubernetes.io/proxy-body-size: "0" tls: - hosts: - "myhost.example.com"
Reference article:
https://jfrog.com/help/r/jfrog-installation-setup-documentation/security-related-issues#Using%20Ingress%20Annotations