Oteemo / charts

Helm chart repository
https://oteemo.github.io/charts
MIT License
181 stars 232 forks source link

[sonatype-nexus] Unable to set correct SSL Cert and Ports for AWS Load Balancer #295

Open amd87hh opened 3 years ago

amd87hh commented 3 years ago

Hi,

im trying to set up Nexus through Helm, but I'm stuck with the Load Balancer settings. I'm new, both to Helm and Nexus, and I'm not sure if I need a nexusProxy. This is how it looks like:

nexus:
  service:
    type: LoadBalancer
    ports:
    - port: 443
      protocol: TCP
    annotations:
      service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "arn:aws:acm:eu-central-xxx"
      service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "https"
      service.beta.kubernetes.io/aws-load-balancer-backend-port: "https"
      service.beta.kubernetes.io/aws-load-balancer-extra-security-groups: "sg-xxx"

nexusProxy:
  port: 443
  targetPort: 80
  env:
    nexusHttpHost: nexus.mysite.com
    nexusDockerHost: nexus.mysite.com

And this is the AWS LB:

Screenshot 2021-07-26 at 13-09-14 EC2 Management Console

I already tryed out several ways, but I cant get the annotations into Kubernetes.

I'm really thankfull for any advices.