kellnr / helm

Helm chart to deploy Kellnr on kubernetes
MIT License
7 stars 4 forks source link

Example about TLS and ingress.annotations #7

Open vittoriomonaco opened 3 months ago

vittoriomonaco commented 3 months ago

Hello,

I wanted to ask if it would be possible to clarify some details regarding the TLS configuration and the ingress.annotations section.

For detail, I am providing the command successfully executed on my infrastructure.

Environment:

helm install kellnr kellnr/kellnr --namespace kellnr-private-registry \
  --set pvc.enabled=true \
  --set pvc.storageClassName=ceph-rbd-sc \
  --set pvc.storage=10Gi \
  --set kellnr.origin.hostname="kellnr.example.com" \
  --set kellnr.origin.port=443 \
  --set kellnr.origin.protocol=https \
  --set kellnr.apiProtocol=https \
  --set certificate.enabled=true \
  --set certificate.issuerRef.name="letsencrypt-production" \
  --set ingress.className=traefik \
  --set ingress.tls.enabled=true \
  --set ingress.tls.certSource=secret \
  --set ingress.annotations."external-dns\.alpha\.kubernetes\.io/hostname"="kellnr.example.com"

TLS:

ingress.annotations: From what is stated in the documentation, I thought it should be treated like the other parameters, but it is correctly interpreted with the escape \ and in the indicated format.

Could you provide some examples on how to use ingress.annotations, even in the case where more than one annotation needs to be used?

Thank you very much for the work done.