diff --git a/charts/kong-operator/charts/ko-crds/templates/ko-crds.yaml b/charts/kong-operator/charts/ko-crds/templates/ko-crds.yaml index 27ad2cea8..cfeb746bd 100644 --- a/charts/kong-operator/charts/ko-crds/templates/ko-crds.yaml +++ b/charts/kong-operator/charts/ko-crds/templates/ko-crds.yaml @@ -8828,9 +8828,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8846,6 +8848,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9157,9 +9160,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -9175,6 +9180,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9703,6 +9709,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -18661,9 +18668,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -18679,6 +18688,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -27608,9 +27618,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -27626,6 +27638,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -36662,9 +36675,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -36680,6 +36695,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -36883,9 +36899,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -36901,6 +36919,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -46478,6 +46497,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -46573,9 +46593,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -46591,6 +46613,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -46638,6 +46661,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -46923,6 +46947,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46976,6 +47001,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -46986,12 +47012,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47243,6 +47271,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47303,6 +47332,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47313,12 +47343,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47897,6 +47929,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47947,6 +47980,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47957,12 +47991,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48245,6 +48281,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48295,6 +48332,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48305,12 +48343,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48565,6 +48605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48822,6 +48863,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49121,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49340,6 +49383,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49603,6 +49647,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50081,6 +50126,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -50091,12 +50137,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -50338,6 +50386,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50388,6 +50437,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -50398,12 +50448,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -50474,6 +50526,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50734,6 +50787,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50784,6 +50838,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -50794,12 +50849,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51265,6 +51322,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51315,6 +51373,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51325,12 +51384,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52186,7 +52247,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -52226,6 +52289,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52278,6 +52342,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52288,12 +52353,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52356,9 +52423,6 @@ spec: and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -52454,6 +52518,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -52492,9 +52557,6 @@ spec: and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -52724,6 +52786,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52779,6 +52842,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52789,12 +52853,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53097,6 +53163,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -53145,6 +53212,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -53353,6 +53421,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -53414,6 +53483,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -53882,8 +53952,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -54339,6 +54411,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -54399,6 +54472,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -54409,12 +54483,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -54507,7 +54583,7 @@ spec: as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -54579,7 +54655,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -54630,6 +54705,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. @@ -54907,6 +54985,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -54968,6 +55047,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -54978,12 +55058,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -55476,6 +55558,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -55536,6 +55619,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -55546,12 +55630,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -55701,6 +55787,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -55720,6 +55807,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -56008,6 +56096,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -56320,6 +56409,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -56500,6 +56590,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -56519,6 +56610,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -56830,6 +56922,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -56841,12 +56934,14 @@ spec: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -57026,6 +57121,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -57069,6 +57165,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -57230,12 +57327,14 @@ spec: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -57383,6 +57482,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -57426,6 +57526,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -57657,6 +57758,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -58020,6 +58122,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/affinity-values.snap b/charts/kong-operator/ci/__snapshots__/affinity-values.snap index 617eea685..dd598d2bb 100644 --- a/charts/kong-operator/ci/__snapshots__/affinity-values.snap +++ b/charts/kong-operator/ci/__snapshots__/affinity-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/controlplane-config-dump.snap b/charts/kong-operator/ci/__snapshots__/controlplane-config-dump.snap index b9034dd7b..bfd788990 100644 --- a/charts/kong-operator/ci/__snapshots__/controlplane-config-dump.snap +++ b/charts/kong-operator/ci/__snapshots__/controlplane-config-dump.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/disable-gateway-controller-values.snap b/charts/kong-operator/ci/__snapshots__/disable-gateway-controller-values.snap index 16699eda7..6a3e87ff6 100644 --- a/charts/kong-operator/ci/__snapshots__/disable-gateway-controller-values.snap +++ b/charts/kong-operator/ci/__snapshots__/disable-gateway-controller-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/env-and-args-values.snap b/charts/kong-operator/ci/__snapshots__/env-and-args-values.snap index 240e51a70..32316339e 100644 --- a/charts/kong-operator/ci/__snapshots__/env-and-args-values.snap +++ b/charts/kong-operator/ci/__snapshots__/env-and-args-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/env-and-customenv-values.snap b/charts/kong-operator/ci/__snapshots__/env-and-customenv-values.snap index 97e00c79b..e63f872a7 100644 --- a/charts/kong-operator/ci/__snapshots__/env-and-customenv-values.snap +++ b/charts/kong-operator/ci/__snapshots__/env-and-customenv-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/extra-labels-values.snap b/charts/kong-operator/ci/__snapshots__/extra-labels-values.snap index e2019e675..0cd716e29 100644 --- a/charts/kong-operator/ci/__snapshots__/extra-labels-values.snap +++ b/charts/kong-operator/ci/__snapshots__/extra-labels-values.snap @@ -8374,9 +8374,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8392,6 +8394,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8688,9 +8691,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8706,6 +8711,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9205,6 +9211,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17654,9 +17661,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17672,6 +17681,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26009,9 +26019,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26027,6 +26039,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34455,9 +34468,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34473,6 +34488,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34668,9 +34684,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34686,6 +34704,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43606,6 +43625,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43699,9 +43719,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43717,6 +43739,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43761,6 +43784,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44031,6 +44055,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44082,6 +44107,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44092,12 +44118,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44328,6 +44356,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44386,6 +44415,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44396,12 +44426,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44951,6 +44983,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44999,6 +45032,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45009,12 +45043,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45276,6 +45312,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45324,6 +45361,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45334,12 +45372,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45572,6 +45612,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45817,6 +45858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46062,6 +46104,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46311,6 +46354,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46562,6 +46606,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47018,6 +47063,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47028,12 +47074,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47253,6 +47301,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47301,6 +47350,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47311,12 +47361,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47378,6 +47430,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47622,6 +47675,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47670,6 +47724,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47680,12 +47735,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48122,6 +48179,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48170,6 +48228,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48180,12 +48239,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48990,7 +49051,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49029,6 +49092,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49080,6 +49144,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49090,12 +49155,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49145,9 +49212,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49212,6 +49276,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49244,9 +49309,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49454,6 +49516,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49506,6 +49569,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49516,12 +49580,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49793,6 +49859,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49839,6 +49906,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50035,6 +50103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50093,6 +50162,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50517,8 +50587,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50939,6 +51011,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50996,6 +51069,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51006,12 +51080,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51081,7 +51157,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51150,7 +51226,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51201,6 +51276,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51449,6 +51527,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51507,6 +51586,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51517,12 +51597,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51979,6 +52061,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52037,6 +52120,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52047,12 +52131,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52181,6 +52267,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52200,6 +52287,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52466,6 +52554,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52752,6 +52841,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52918,6 +53008,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52937,6 +53028,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53219,6 +53311,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53229,12 +53322,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53395,6 +53490,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53435,6 +53531,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53580,12 +53677,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53724,6 +53823,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53764,6 +53864,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53973,6 +54074,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54301,6 +54403,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/image-pull-secrets-and-image-digest-values.snap b/charts/kong-operator/ci/__snapshots__/image-pull-secrets-and-image-digest-values.snap index e1e275f1e..ecaff3de3 100644 --- a/charts/kong-operator/ci/__snapshots__/image-pull-secrets-and-image-digest-values.snap +++ b/charts/kong-operator/ci/__snapshots__/image-pull-secrets-and-image-digest-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/nightly-can-be-used-values.snap b/charts/kong-operator/ci/__snapshots__/nightly-can-be-used-values.snap index cb4abf7e8..ee792b3f3 100644 --- a/charts/kong-operator/ci/__snapshots__/nightly-can-be-used-values.snap +++ b/charts/kong-operator/ci/__snapshots__/nightly-can-be-used-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/pod-annotations-values.snap b/charts/kong-operator/ci/__snapshots__/pod-annotations-values.snap index 59a5e92ae..a419e2b8d 100644 --- a/charts/kong-operator/ci/__snapshots__/pod-annotations-values.snap +++ b/charts/kong-operator/ci/__snapshots__/pod-annotations-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/probes-and-args-values.snap b/charts/kong-operator/ci/__snapshots__/probes-and-args-values.snap index 1c2b4f89d..6071c909e 100644 --- a/charts/kong-operator/ci/__snapshots__/probes-and-args-values.snap +++ b/charts/kong-operator/ci/__snapshots__/probes-and-args-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/tolerations-values.snap b/charts/kong-operator/ci/__snapshots__/tolerations-values.snap index 7d62e14d0..b683b9e0a 100644 --- a/charts/kong-operator/ci/__snapshots__/tolerations-values.snap +++ b/charts/kong-operator/ci/__snapshots__/tolerations-values.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/validating-policies-dataplane-ports-disabled.snap b/charts/kong-operator/ci/__snapshots__/validating-policies-dataplane-ports-disabled.snap index bce2cf958..b0e20fbf5 100644 --- a/charts/kong-operator/ci/__snapshots__/validating-policies-dataplane-ports-disabled.snap +++ b/charts/kong-operator/ci/__snapshots__/validating-policies-dataplane-ports-disabled.snap @@ -8373,9 +8373,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8391,6 +8393,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8687,9 +8690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8705,6 +8710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9204,6 +9210,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17653,9 +17660,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17671,6 +17680,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -26008,9 +26018,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -26026,6 +26038,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34454,9 +34467,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34472,6 +34487,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34667,9 +34683,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34685,6 +34703,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43605,6 +43624,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43698,9 +43718,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43716,6 +43738,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43760,6 +43783,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -44030,6 +44054,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44081,6 +44106,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44091,12 +44117,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44327,6 +44355,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44385,6 +44414,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44395,12 +44425,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44950,6 +44982,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44998,6 +45031,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45008,12 +45042,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45275,6 +45311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45323,6 +45360,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45333,12 +45371,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45571,6 +45611,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45816,6 +45857,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46061,6 +46103,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46310,6 +46353,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46561,6 +46605,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47017,6 +47062,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47027,12 +47073,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47252,6 +47300,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47300,6 +47349,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47310,12 +47360,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47377,6 +47429,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47621,6 +47674,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47669,6 +47723,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47679,12 +47734,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48121,6 +48178,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48169,6 +48227,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48179,12 +48238,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48989,7 +49050,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -49028,6 +49091,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49079,6 +49143,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49089,12 +49154,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49144,9 +49211,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49211,6 +49275,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49243,9 +49308,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49453,6 +49515,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49505,6 +49568,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49515,12 +49579,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49792,6 +49858,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49838,6 +49905,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50034,6 +50102,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50092,6 +50161,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50516,8 +50586,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50938,6 +51010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50995,6 +51068,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51005,12 +51079,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51080,7 +51156,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51149,7 +51225,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51200,6 +51275,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51448,6 +51526,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51506,6 +51585,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51516,12 +51596,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51978,6 +52060,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52036,6 +52119,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -52046,12 +52130,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52180,6 +52266,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52199,6 +52286,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52465,6 +52553,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52751,6 +52840,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52917,6 +53007,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52936,6 +53027,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53218,6 +53310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53228,12 +53321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53394,6 +53489,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53434,6 +53530,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53579,12 +53676,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53723,6 +53822,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53763,6 +53863,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53972,6 +54073,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54300,6 +54402,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/webhook-conversion-disabled-values.snap b/charts/kong-operator/ci/__snapshots__/webhook-conversion-disabled-values.snap index 1c8fb818a..3e2e6f171 100644 --- a/charts/kong-operator/ci/__snapshots__/webhook-conversion-disabled-values.snap +++ b/charts/kong-operator/ci/__snapshots__/webhook-conversion-disabled-values.snap @@ -741,9 +741,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -759,6 +761,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -1262,6 +1265,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -9711,9 +9715,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -9729,6 +9735,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -19091,6 +19098,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -19184,9 +19192,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -19202,6 +19212,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -19246,6 +19257,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -19520,6 +19532,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -19571,6 +19584,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -19581,12 +19595,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -19817,6 +19833,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -19875,6 +19892,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -19885,12 +19903,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -20440,6 +20460,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -20488,6 +20509,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -20498,12 +20520,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -20765,6 +20789,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -20813,6 +20838,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -20823,12 +20849,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -21061,6 +21089,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -21306,6 +21335,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -21551,6 +21581,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -21800,6 +21831,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -22051,6 +22083,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -22507,6 +22540,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -22517,12 +22551,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -22742,6 +22778,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -22790,6 +22827,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -22800,12 +22838,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -22867,6 +22907,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -23111,6 +23152,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -23159,6 +23201,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -23169,12 +23212,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -23611,6 +23656,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -23659,6 +23705,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -23669,12 +23716,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -24479,7 +24528,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -24518,6 +24569,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -24569,6 +24621,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -24579,12 +24632,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -24634,9 +24689,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -24701,6 +24753,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -24733,9 +24786,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -24943,6 +24993,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -24995,6 +25046,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -25005,12 +25057,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -25282,6 +25336,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -25328,6 +25383,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -25524,6 +25580,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -25582,6 +25639,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -26006,8 +26064,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -26428,6 +26488,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -26485,6 +26546,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -26495,12 +26557,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -26570,7 +26634,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -26639,7 +26703,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -26690,6 +26753,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -26938,6 +27004,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -26996,6 +27063,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -27006,12 +27074,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -27468,6 +27538,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -27526,6 +27597,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -27536,12 +27608,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -27670,6 +27744,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -27689,6 +27764,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -27955,6 +28031,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -28241,6 +28318,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -28407,6 +28485,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -28426,6 +28505,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -28693,12 +28773,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -28837,6 +28919,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -28877,6 +28960,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -29106,6 +29190,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/webhook-conversion-enabled-cert-manager.snap b/charts/kong-operator/ci/__snapshots__/webhook-conversion-enabled-cert-manager.snap index 86c82afcf..6e424d414 100644 --- a/charts/kong-operator/ci/__snapshots__/webhook-conversion-enabled-cert-manager.snap +++ b/charts/kong-operator/ci/__snapshots__/webhook-conversion-enabled-cert-manager.snap @@ -8323,9 +8323,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8341,6 +8343,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -8637,9 +8640,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -8655,6 +8660,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -9154,6 +9160,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -17603,9 +17610,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -17621,6 +17630,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -25958,9 +25968,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -25976,6 +25988,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34404,9 +34417,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34422,6 +34437,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -34617,9 +34633,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -34635,6 +34653,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43555,6 +43574,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -43648,9 +43668,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -43666,6 +43688,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -43710,6 +43733,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -43980,6 +44004,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44031,6 +44056,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44041,12 +44067,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44277,6 +44305,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44335,6 +44364,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44345,12 +44375,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -44900,6 +44932,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -44948,6 +44981,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -44958,12 +44992,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45225,6 +45261,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45273,6 +45310,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -45283,12 +45321,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -45521,6 +45561,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -45766,6 +45807,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46011,6 +46053,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46260,6 +46303,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46511,6 +46555,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -46967,6 +47012,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -46977,12 +47023,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47202,6 +47250,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47250,6 +47299,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47260,12 +47310,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -47327,6 +47379,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -47571,6 +47624,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -47619,6 +47673,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -47629,12 +47684,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48071,6 +48128,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -48119,6 +48177,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -48129,12 +48188,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -48939,7 +49000,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -48978,6 +49041,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49029,6 +49093,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49039,12 +49104,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49094,9 +49161,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -49161,6 +49225,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49193,9 +49258,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -49403,6 +49465,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49455,6 +49518,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -49465,12 +49529,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -49742,6 +49808,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -49788,6 +49855,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -49984,6 +50052,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50042,6 +50111,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -50466,8 +50536,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -50888,6 +50960,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -50945,6 +51018,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -50955,12 +51029,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51030,7 +51106,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -51099,7 +51175,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -51150,6 +51225,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -51398,6 +51476,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51456,6 +51535,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51466,12 +51546,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -51928,6 +52010,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -51986,6 +52069,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -51996,12 +52080,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -52130,6 +52216,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52149,6 +52236,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -52415,6 +52503,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52701,6 +52790,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -52867,6 +52957,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -52886,6 +52977,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53168,6 +53260,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -53178,12 +53271,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53344,6 +53439,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53384,6 +53480,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53529,12 +53626,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -53673,6 +53772,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53713,6 +53813,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -53922,6 +54023,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -54250,6 +54352,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: diff --git a/charts/kong-operator/ci/__snapshots__/webhooks-validating-and-conversion-disabled-values.snap b/charts/kong-operator/ci/__snapshots__/webhooks-validating-and-conversion-disabled-values.snap index 0082e3a7d..e30588e2d 100644 --- a/charts/kong-operator/ci/__snapshots__/webhooks-validating-and-conversion-disabled-values.snap +++ b/charts/kong-operator/ci/__snapshots__/webhooks-validating-and-conversion-disabled-values.snap @@ -716,9 +716,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -734,6 +736,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -1237,6 +1240,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -9686,9 +9690,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -9704,6 +9710,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -19066,6 +19073,7 @@ spec: properties: name: description: Name is the name of the resource. + minLength: 1 type: string namespace: description: Namespace is the namespace of the resource. @@ -19159,9 +19167,11 @@ spec: group: default: gateway-operator.konghq.com description: Group is the group of the extension resource. + maxLength: 253 type: string kind: description: Kind is kind of the extension resource. + maxLength: 253 minLength: 1 type: string name: @@ -19177,6 +19187,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - kind @@ -19221,6 +19232,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: @@ -19495,6 +19507,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -19546,6 +19559,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -19556,12 +19570,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -19792,6 +19808,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -19850,6 +19867,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -19860,12 +19878,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -20415,6 +20435,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -20463,6 +20484,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -20473,12 +20495,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -20740,6 +20764,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -20788,6 +20813,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -20798,12 +20824,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -21036,6 +21064,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -21281,6 +21310,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -21526,6 +21556,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -21775,6 +21806,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -22026,6 +22058,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -22482,6 +22515,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -22492,12 +22526,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -22717,6 +22753,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -22765,6 +22802,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -22775,12 +22813,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -22842,6 +22882,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -23086,6 +23127,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -23134,6 +23176,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -23144,12 +23187,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -23586,6 +23631,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -23634,6 +23680,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -23644,12 +23691,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -24454,7 +24503,9 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: KongRoute is the schema for Routes API which defines a Kong Route. + description: |- + KongRoute is the schema for Routes API which defines a Kong Route. + Currently, KongRoute supports only the JSON flavor of Route configuration. properties: apiVersion: description: |- @@ -24493,6 +24544,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -24544,6 +24596,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -24554,12 +24607,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -24609,9 +24664,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array headers: @@ -24676,6 +24728,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -24708,9 +24761,6 @@ spec: description: An integer representing a port number between 0 and 65535, inclusive. format: int64 type: integer - required: - - ip - - port type: object type: array strip_path: @@ -24918,6 +24968,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -24970,6 +25021,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -24980,12 +25032,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -25257,6 +25311,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -25303,6 +25358,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -25499,6 +25555,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -25557,6 +25614,7 @@ spec: properties: name: description: Name is the name of the entity. + maxLength: 253 minLength: 1 type: string required: @@ -25981,8 +26039,10 @@ spec: type: object threshold: description: |- - Threshold is the minimum percentage of the upstream’s targets’ weight that must be available for the whole - upstream to be considered healthy. + Threshold is the minimum percentage of the upstream’s targets’ weight that + must be available for the whole upstream to be considered healthy. + maximum: 100 + minimum: 0 type: integer type: object slots: @@ -26403,6 +26463,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -26460,6 +26521,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -26470,12 +26532,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -26545,7 +26609,7 @@ spec: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string healthchecks: - description: Healthchecks - The array of healthchecks. + description: Healthchecks is the configuration of upstream's healthchecks. properties: active: properties: @@ -26614,7 +26678,6 @@ spec: required: - concurrency - http_path - - https_sni - https_verify_certificate - timeout - type @@ -26665,6 +26728,9 @@ spec: required: - threshold type: object + x-kubernetes-validations: + - message: healthcheck threshold must be between 0 and 100 + rule: self.threshold >= 0 && self.threshold <= 100 host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string @@ -26913,6 +26979,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -26971,6 +27038,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -26981,12 +27049,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -27443,6 +27513,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -27501,6 +27572,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string konnectNamespacedRef: @@ -27511,12 +27583,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -27645,6 +27719,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -27664,6 +27739,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -27930,6 +28006,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -28216,6 +28293,7 @@ spec: properties: id: description: ID is the Konnect ID of the entity. + maxLength: 36 minLength: 1 type: string required: @@ -28382,6 +28460,7 @@ spec: description: |- KonnectID is the schema for the KonnectID type. This field is required when the Type is konnectID. + maxLength: 36 type: string namespacedRef: description: |- @@ -28401,6 +28480,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -28668,12 +28748,14 @@ spec: properties: name: description: Name is the name of the Konnect Control Plane. + maxLength: 253 minLength: 1 type: string namespace: description: |- Namespace is the namespace where the Konnect Control Plane is in. Currently only cluster scoped resources (KongVault) are allowed to set `konnectNamespacedRef.namespace`. + maxLength: 253 type: string required: - name @@ -28812,6 +28894,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -28852,6 +28935,7 @@ spec: namespace of the parent object MUST be used. This field MUST not be set when referring to cluster-scoped resources. + maxLength: 253 type: string required: - name @@ -29081,6 +29165,7 @@ spec: description: |- ID is the ID of the Konnect entity. It can be set only in case the ControlPlane type is Mirror. + maxLength: 36 pattern: ^[0-9a-f]{8}(?:\-[0-9a-f]{4}){3}-[0-9a-f]{12}$ type: string required: