hashicorp / vault-helm

Helm chart to install Vault and other associated components.
Mozilla Public License 2.0
1.08k stars 876 forks source link

ValidationError(Ingress.spec.rules[0].http.paths[0].backend.service.port.number): invalid type for io.k8s.api.networking.v1.ServiceBackendPort.number: got "string", expected "integer" #864

Closed ladung closed 1 year ago

ladung commented 1 year ago

Value customs is

extraPaths: 
    - path: /
      backend:
        service:
          name: ssl-redirect
          port:
            number: use-annotation

And i have a problem

image
huynhj93 commented 1 year ago

Error is self explanatory. Port.number is meant to be an integer, not a string. You want port.name if you want a string.

heatherezell commented 1 year ago

Port number will be something like 8200, or 8201, whichever you're configuring the service to listen on. If you have further questions, please try our Discuss forums. Thanks!

ladung commented 1 year ago

@hsimon-hashicorp no, K8s support port number is string use-annotation! i use ALB ingress in EKS. So that configure applied for redirect http to https: refer: https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.2/guide/tasks/ssl_redirect/

ladung commented 1 year ago

@hsimon-hashicorp