nexus-casc-plugin icon indicating copy to clipboard operation
nexus-casc-plugin copied to clipboard

Add handling of repository routing rules

Open larhauga opened this issue 11 months ago • 0 comments

This pull requests adds support for adding routing rules.

Example configuration:

repository:
  routingRules:
    - name: go-internal
      description: internal golang packages with authentication
      mode: ALLOW
      matchers:
        - ".*/github.com/<private-organization>/.*"
...
    - name: athens
      recipeName: go-proxy
      online: true
      routingRuleName: go-internal
      attributes:
        proxy:
          remoteUrl: http://athens.athens.svc.cluster.local:8080
          contentMaxAge: 10080
          metadataMaxAge: 1440
...

larhauga avatar Mar 08 '24 11:03 larhauga