helm3-charts icon indicating copy to clipboard operation
helm3-charts copied to clipboard

Ingress annotations are shared between web ingress and docker registry ingress

Open bhd83 opened this issue 3 years ago • 1 comments

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

bhd83 avatar Nov 24 '21 16:11 bhd83

Duplicate of https://github.com/sonatype/helm3-charts/issues/41 with a use case.

bhd83 avatar Nov 24 '21 17:11 bhd83