diff --git a/traefik-hub/crds/hub.traefik.io_apiportals.yaml b/traefik-hub/crds/hub.traefik.io_apiportals.yaml index e04bb19..8a82367 100644 --- a/traefik-hub/crds/hub.traefik.io_apiportals.yaml +++ b/traefik-hub/crds/hub.traefik.io_apiportals.yaml @@ -45,14 +45,17 @@ spec: title: description: Title is the public facing name of the APIPortal. type: string - trustedDomains: - description: TrustedDomains are the domains that are trusted by the - OAuth 2.0 authorization server. + trustedUrls: + description: TrustedURLs are the urls that are trusted by the OAuth + 2.0 authorization server. items: type: string - maxItems: 20 + maxItems: 1 minItems: 1 type: array + x-kubernetes-validations: + - message: must be a valid URLs + rule: self.all(x, isURL(x)) ui: description: UI holds the UI customization options. properties: @@ -61,7 +64,7 @@ spec: type: string type: object required: - - trustedDomains + - trustedUrls type: object status: description: The current status of this APIPortal. diff --git a/traefik-hub/crds/hub.traefik.io_apis.yaml b/traefik-hub/crds/hub.traefik.io_apis.yaml index 08d98d5..4f05ab8 100644 --- a/traefik-hub/crds/hub.traefik.io_apis.yaml +++ b/traefik-hub/crds/hub.traefik.io_apis.yaml @@ -108,6 +108,26 @@ spec: type: object maxItems: 100 type: array + override: + description: Override holds data used to override OpenAPI specification. + properties: + servers: + items: + properties: + url: + type: string + x-kubernetes-validations: + - message: must be a valid URL + rule: isURL(self) + required: + - url + type: object + maxItems: 100 + minItems: 1 + type: array + required: + - servers + type: object path: description: Path specifies the endpoint path within the Kubernetes Service where the OpenAPI specification can be obtained. The diff --git a/traefik-hub/crds/hub.traefik.io_apiversions.yaml b/traefik-hub/crds/hub.traefik.io_apiversions.yaml index e4a581c..29bdea3 100644 --- a/traefik-hub/crds/hub.traefik.io_apiversions.yaml +++ b/traefik-hub/crds/hub.traefik.io_apiversions.yaml @@ -114,6 +114,26 @@ spec: type: object maxItems: 100 type: array + override: + description: Override holds data used to override OpenAPI specification. + properties: + servers: + items: + properties: + url: + type: string + x-kubernetes-validations: + - message: must be a valid URL + rule: isURL(self) + required: + - url + type: object + maxItems: 100 + minItems: 1 + type: array + required: + - servers + type: object path: description: Path specifies the endpoint path within the Kubernetes Service where the OpenAPI specification can be obtained. The