helm3-charts
helm3-charts copied to clipboard
Ingress annotations are shared between web ingress and docker registry ingress
Hello,
Context:
- We use helm chart to deploy Nexus on EKS using an ALB (application Load Balancer).
- ALB use specifics ingress annotation for health check (full list here)
alb.ingress.kubernetes.io/healthcheck-port
alb.ingress.kubernetes.io/healthcheck-protocol
alb.ingress.kubernetes.io/healthcheck-path
alb.ingress.kubernetes.io/success-codes
Problem: The health check URL for nexus web service is "/" with a return code 200 The health check URL for the docker registry service is "/v2/" with a return code 200 or 401
Actually the chart give the possibility to customise annotation only for all ingress
Idea of solution:
Add a nexus.docker.registries.ingress.annotations or a ingress.registries.annotations and add them to https://github.com/sonatype/helm3-charts/blob/main/charts/nexus-repository-manager/templates/ingress.yaml#L54 as extra annotation
Duplicate of https://github.com/sonatype/helm3-charts/issues/41 with a use case.