From d59157456f200d00ee7da51925feb6b0709859a4 Mon Sep 17 00:00:00 2001 From: Traefiker Bot <30906710+traefiker@users.noreply.github.com> Date: Mon, 4 Sep 2023 14:42:06 +0200 Subject: [PATCH] chore: update CRDs --- traefik-hub/crds/hub.traefik.io_apis.yaml | 43 ++++++++++++++ .../crds/hub.traefik.io_apiversions.yaml | 43 ++++++++++++++ traefik-hub/crds/kustomization.yaml | 56 +++++++++---------- 3 files changed, 114 insertions(+), 28 deletions(-) diff --git a/traefik-hub/crds/hub.traefik.io_apis.yaml b/traefik-hub/crds/hub.traefik.io_apis.yaml index 3a08edb..be3f2a1 100644 --- a/traefik-hub/crds/hub.traefik.io_apis.yaml +++ b/traefik-hub/crds/hub.traefik.io_apis.yaml @@ -47,6 +47,49 @@ spec: spec: description: APISpec configures an API. properties: + cors: + description: CORS configures the CORS for the API. + properties: + allowCredentials: + description: AllowCredentials defines whether the request can + include user credentials. + type: boolean + allowHeaders: + description: AllowHeaders defines the Access-Control-Request-Headers + values sent in preflight response. + items: + type: string + type: array + allowMethods: + description: AllowMethods defines the Access-Control-Request-Method + values sent in preflight response. + items: + type: string + type: array + allowOriginList: + description: AllowOriginList is a list of allowable origins. Can + also be a wildcard origin "*". + items: + type: string + type: array + allowOriginListRegex: + description: AllowOriginListRegex is a list of allowable origins + written following the Regular Expression syntax (https://golang.org/pkg/regexp/). + items: + type: string + type: array + exposeHeaders: + description: ExposeHeaders defines the Access-Control-Expose-Headers + values sent in preflight response. + items: + type: string + type: array + maxAge: + description: MaxAge defines the time that a preflight request + may be cached. + format: int64 + type: integer + type: object currentVersion: type: string pathPrefix: diff --git a/traefik-hub/crds/hub.traefik.io_apiversions.yaml b/traefik-hub/crds/hub.traefik.io_apiversions.yaml index 981827f..34a6dca 100644 --- a/traefik-hub/crds/hub.traefik.io_apiversions.yaml +++ b/traefik-hub/crds/hub.traefik.io_apiversions.yaml @@ -52,6 +52,49 @@ spec: properties: apiName: type: string + cors: + description: CORS configures the CORS for the API. + properties: + allowCredentials: + description: AllowCredentials defines whether the request can + include user credentials. + type: boolean + allowHeaders: + description: AllowHeaders defines the Access-Control-Request-Headers + values sent in preflight response. + items: + type: string + type: array + allowMethods: + description: AllowMethods defines the Access-Control-Request-Method + values sent in preflight response. + items: + type: string + type: array + allowOriginList: + description: AllowOriginList is a list of allowable origins. Can + also be a wildcard origin "*". + items: + type: string + type: array + allowOriginListRegex: + description: AllowOriginListRegex is a list of allowable origins + written following the Regular Expression syntax (https://golang.org/pkg/regexp/). + items: + type: string + type: array + exposeHeaders: + description: ExposeHeaders defines the Access-Control-Expose-Headers + values sent in preflight response. + items: + type: string + type: array + maxAge: + description: MaxAge defines the time that a preflight request + may be cached. + format: int64 + type: integer + type: object release: type: string routes: diff --git a/traefik-hub/crds/kustomization.yaml b/traefik-hub/crds/kustomization.yaml index 60128aa..3ae0695 100644 --- a/traefik-hub/crds/kustomization.yaml +++ b/traefik-hub/crds/kustomization.yaml @@ -2,31 +2,31 @@ kind: Kustomization apiVersion: kustomize.config.k8s.io/v1beta1 resources: -- hub.traefik.io_accesscontrolpolicies.yaml -- hub.traefik.io_apiaccesses.yaml -- hub.traefik.io_apicollections.yaml -- hub.traefik.io_apigateways.yaml -- hub.traefik.io_apiportals.yaml -- hub.traefik.io_apiratelimits.yaml -- hub.traefik.io_apis.yaml -- hub.traefik.io_apiversions.yaml -- hub.traefik.io_edgeingresses.yaml -- hub.traefik.io_ingressclasses.yaml -- traefik.containo.us_ingressroutes.yaml -- traefik.containo.us_ingressroutetcps.yaml -- traefik.containo.us_ingressrouteudps.yaml -- traefik.containo.us_middlewares.yaml -- traefik.containo.us_middlewaretcps.yaml -- traefik.containo.us_serverstransports.yaml -- traefik.containo.us_tlsoptions.yaml -- traefik.containo.us_tlsstores.yaml -- traefik.containo.us_traefikservices.yaml -- traefik.io_ingressroutes.yaml -- traefik.io_ingressroutetcps.yaml -- traefik.io_ingressrouteudps.yaml -- traefik.io_middlewares.yaml -- traefik.io_middlewaretcps.yaml -- traefik.io_serverstransports.yaml -- traefik.io_tlsoptions.yaml -- traefik.io_tlsstores.yaml -- traefik.io_traefikservices.yaml + - hub.traefik.io_accesscontrolpolicies.yaml + - hub.traefik.io_apiaccesses.yaml + - hub.traefik.io_apicollections.yaml + - hub.traefik.io_apigateways.yaml + - hub.traefik.io_apiportals.yaml + - hub.traefik.io_apiratelimits.yaml + - hub.traefik.io_apis.yaml + - hub.traefik.io_apiversions.yaml + - hub.traefik.io_edgeingresses.yaml + - hub.traefik.io_ingressclasses.yaml + - traefik.containo.us_ingressroutes.yaml + - traefik.containo.us_ingressroutetcps.yaml + - traefik.containo.us_ingressrouteudps.yaml + - traefik.containo.us_middlewares.yaml + - traefik.containo.us_middlewaretcps.yaml + - traefik.containo.us_serverstransports.yaml + - traefik.containo.us_tlsoptions.yaml + - traefik.containo.us_tlsstores.yaml + - traefik.containo.us_traefikservices.yaml + - traefik.io_ingressroutes.yaml + - traefik.io_ingressroutetcps.yaml + - traefik.io_ingressrouteudps.yaml + - traefik.io_middlewares.yaml + - traefik.io_middlewaretcps.yaml + - traefik.io_serverstransports.yaml + - traefik.io_tlsoptions.yaml + - traefik.io_tlsstores.yaml + - traefik.io_traefikservices.yaml