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

allow selecting ports which need to be cached via annotation #2

Open
asnapper opened this issue Feb 2, 2023 · 0 comments
Open

allow selecting ports which need to be cached via annotation #2

asnapper opened this issue Feb 2, 2023 · 0 comments

Comments

@asnapper
Copy link
Member

asnapper commented Feb 2, 2023

currently all ports are mapped to the caching layer when annotating a service. it should be possible, via a second annotation, to select which ports on a service need to go trough the cache layer

metadata:
  annoations:
    swisstxt.ch/http-cache-enabled: "true"
    swisstxt.ch/http-cache-ports: "http"

or comma separated with multiple ports:

metadata:
  annoations:
    swisstxt.ch/http-cache-enabled: "true"
    swisstxt.ch/http-cache-ports: "http,prometheus"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant