Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to configure ingress class #102

Open
constin opened this issue Jul 27, 2022 · 1 comment
Open

Not possible to configure ingress class #102

constin opened this issue Jul 27, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@constin
Copy link

constin commented Jul 27, 2022

Not possible to configure ingress class with annotations, code will delete this annotation. I don't know reason, but it's not flexible. For example GKE with https support enabled will try to use https lb, but sometime better use TCP LB with internal ingress.

delete(obj.ObjectMeta.Annotations, ingressClassAnnotationKey)

Also ingress pathType hardcoded too. I'd like to have ability to configure it self.

@constin constin added the bug Something isn't working label Jul 27, 2022
@ryanmrodriguez
Copy link
Contributor

Not sure if it helps your case, but you can set it as a flag to the operator.

    spec:
      containers:
      - name: wordpress-operator
        image: bitpoke/wordpress-operator:v.0.12.1
        imagePullPolicy: Always
        args:
          - --ingress-class
          - nginx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants