Skip to content

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

Description

@asnapper

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"

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions