There are various methods to expose the Artifactory service and establish SSL connections.
For this deployment, we will utilize the bundled NGINX deployment and expose it using a LoadBalancer service type as a quickstart.
In this setup, NGINX will handle SSL termination and then forward the traffic to the Artifactory service. To achieve this, we will first create a TLS secret to store the SSL certificate.
$ kubectl create secret tls artifactory-tls --cert=path/to/tls.cert --key=path/to/tls.key -n jfrog
We will add the properties above to a values.yaml
ingress:
enabled: false
nginx:
enabled: true
service:
type: LoadBalancer
ssloffload: true
tlsSecretName: artifactory-tls
replicaCount: 3
disableProxyBuffering: true
resources:
requests:
cpu: "1"
memory: "500Mi"
limits:
# cpu: "4"
memory: "1Gi"