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

External access Openshift route annotation #310

Open
siw36 opened this issue Sep 10, 2020 · 1 comment
Open

External access Openshift route annotation #310

siw36 opened this issue Sep 10, 2020 · 1 comment

Comments

@siw36
Copy link

siw36 commented Sep 10, 2020

I'm using the Quay operator on Openshift and somehow need to limit the access to the Quay and Quay config routes to a list of IP addresses.
I tried to add the annotations to spec.quay.externalAcccess.annotations but it seems like this field is only relevant when the externalAccess.type is ingress.

Example:

[...]
    externalAccess:
      hostname: quay.apps.<domain>
      configHostname: quay-config.apps.<domain>
      annotations:
        haproxy.router.openshift.io/ip_whitelist: x.x.x.x,y.y.y.y
      tls:
        secretName: quay-letsencrypt-cert
        termination: passthrough
[...]

When I add annotations to the routes manually, the operator reverts that change at some point.

Is there a way to add annotations to the created Openshift routes?

@ricardomaraschini
Copy link
Contributor

At this point this is not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants