The following is a complete example of establishing TLS communication with Artifactory, Xray, and Distribution while using the JFrog Platform chart. Additionally, the jfrogUrl parameter is shared across all products. We can leverage Helm templating, similar to what we did with the TLS Subject Alternative Name (SAN) configuration, to ensure that the URL starts with HTTPS, corresponds to the service name of Artifactory, and ends with port 8082:
global:
jfrogUrl: '{{ printf "https://%s-artifactory:8082" .Release.Name }}'
artifactory:
access:
accessConfig:
security:
tls: true
tls-subject-alternative-names:
- '{{ template "artifactory.fullname" . }}'
nginx:
http:
enabled: false
tlsSecretName: nginx-tls-secret // Optional: You may skip this if you're okay with certificates generated by the Chart.
xray:
enabled: true
router:
serviceRegistry:
insecure: true
tlsEnabled: true
distribution:
enabled: true
router:
serviceRegistry:
insecure: true
tlsEnabled: true