Skip to content

Commit

Permalink
feat(*.istio.io): Update CRDs to Istio 1.24.1 (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmluck authored Dec 12, 2024
1 parent b7258b3 commit d7c6cdc
Show file tree
Hide file tree
Showing 25 changed files with 645 additions and 147 deletions.
40 changes: 33 additions & 7 deletions extensions.istio.io/wasmplugin_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"description": "Extend the functionality provided by the Istio proxy through WebAssembly filters. See more details at: https://istio.io/docs/reference/config/proxy_extensions/wasm-plugin.html",
"properties": {
"failStrategy": {
"description": "Specifies the failure behavior for the plugin due to fatal errors.",
"description": "Specifies the failure behavior for the plugin due to fatal errors.\n\nValid Options: FAIL_CLOSE, FAIL_OPEN",
"enum": [
"FAIL_CLOSE",
"FAIL_OPEN"
],
"type": "string"
},
"imagePullPolicy": {
"description": "The pull behaviour to be applied when fetching Wasm module by either OCI image or `http/https`.",
"description": "The pull behaviour to be applied when fetching Wasm module by either OCI image or `http/https`.\n\nValid Options: IfNotPresent, Always",
"enum": [
"UNSPECIFIED_POLICY",
"IfNotPresent",
Expand All @@ -31,7 +31,7 @@
"items": {
"properties": {
"mode": {
"description": "Criteria for selecting traffic by their direction.",
"description": "Criteria for selecting traffic by their direction.\n\nValid Options: CLIENT, SERVER, CLIENT_AND_SERVER",
"enum": [
"UNDEFINED",
"CLIENT",
Expand Down Expand Up @@ -69,7 +69,7 @@
"type": "array"
},
"phase": {
"description": "Determines where in the filter chain this `WasmPlugin` is to be injected.",
"description": "Determines where in the filter chain this `WasmPlugin` is to be injected.\n\nValid Options: AUTHN, AUTHZ, STATS",
"enum": [
"UNSPECIFIED_PHASE",
"AUTHN",
Expand All @@ -91,6 +91,7 @@
},
"priority": {
"description": "Determines ordering of `WasmPlugins` in the same `phase`.",
"format": "int32",
"nullable": true,
"type": "integer"
},
Expand All @@ -114,7 +115,6 @@
"type": "string"
},
"targetRef": {
"description": "Optional.",
"properties": {
"group": {
"description": "group is the group of the target resource.",
Expand All @@ -136,8 +136,34 @@
"type": "object",
"additionalProperties": false
},
"targetRefs": {
"description": "Optional.",
"items": {
"properties": {
"group": {
"description": "group is the group of the target resource.",
"type": "string"
},
"kind": {
"description": "kind is kind of the target resource.",
"type": "string"
},
"name": {
"description": "name is the name of the target resource.",
"type": "string"
},
"namespace": {
"description": "namespace is the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"type": {
"description": "Specifies the type of Wasm Extension to be used.",
"description": "Specifies the type of Wasm Extension to be used.\n\nValid Options: HTTP, NETWORK",
"enum": [
"UNSPECIFIED_PLUGIN_TYPE",
"HTTP",
Expand Down Expand Up @@ -178,7 +204,7 @@
"type": "string"
},
"valueFrom": {
"description": "Source for the environment variable's value.",
"description": "Source for the environment variable's value.\n\nValid Options: INLINE, HOST",
"enum": [
"INLINE",
"HOST"
Expand Down
100 changes: 90 additions & 10 deletions networking.istio.io/destinationrule_v1alpha3.json

Large diffs are not rendered by default.

100 changes: 90 additions & 10 deletions networking.istio.io/destinationrule_v1beta1.json

Large diffs are not rendered by default.

44 changes: 39 additions & 5 deletions networking.istio.io/envoyfilter_v1alpha3.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"items": {
"properties": {
"applyTo": {
"description": "Specifies where in the Envoy configuration, the patch should be applied.",
"description": "Specifies where in the Envoy configuration, the patch should be applied.\n\nValid Options: LISTENER, FILTER_CHAIN, NETWORK_FILTER, HTTP_FILTER, ROUTE_CONFIGURATION, VIRTUAL_HOST, HTTP_ROUTE, CLUSTER, EXTENSION_CONFIG, BOOTSTRAP, LISTENER_FILTER",
"enum": [
"INVALID",
"LISTENER",
Expand Down Expand Up @@ -75,6 +75,8 @@
},
"portNumber": {
"description": "The service port for which this cluster was generated.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"service": {
Expand All @@ -90,7 +92,7 @@
"additionalProperties": false
},
"context": {
"description": "The specific config generation context to match on.",
"description": "The specific config generation context to match on.\n\nValid Options: ANY, SIDECAR_INBOUND, SIDECAR_OUTBOUND, GATEWAY",
"enum": [
"ANY",
"SIDECAR_INBOUND",
Expand All @@ -111,6 +113,8 @@
},
"destinationPort": {
"description": "The destination_port value used by a filter chain's match condition.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"filter": {
Expand Down Expand Up @@ -164,6 +168,8 @@
},
"portNumber": {
"description": "The service port/gateway port to which traffic is being sent/received.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
}
},
Expand Down Expand Up @@ -205,6 +211,8 @@
},
"portNumber": {
"description": "The service port number or gateway server port number for which this route configuration was generated.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"vhost": {
Expand All @@ -218,7 +226,7 @@
"description": "Match a specific route within the virtual host.",
"properties": {
"action": {
"description": "Match a route with specific action type.",
"description": "Match a route with specific action type.\n\nValid Options: ANY, ROUTE, REDIRECT, DIRECT_RESPONSE",
"enum": [
"ANY",
"ROUTE",
Expand Down Expand Up @@ -251,7 +259,7 @@
"description": "The patch to apply along with the operation.",
"properties": {
"filterClass": {
"description": "Determines the filter insertion order.",
"description": "Determines the filter insertion order.\n\nValid Options: AUTHN, AUTHZ, STATS",
"enum": [
"UNSPECIFIED",
"AUTHN",
Expand All @@ -261,7 +269,7 @@
"type": "string"
},
"operation": {
"description": "Determines how the patch should be applied.",
"description": "Determines how the patch should be applied.\n\nValid Options: MERGE, ADD, REMOVE, INSERT_BEFORE, INSERT_AFTER, INSERT_FIRST, REPLACE",
"enum": [
"INVALID",
"MERGE",
Expand Down Expand Up @@ -294,6 +302,32 @@
"format": "int32",
"type": "integer"
},
"targetRefs": {
"description": "Optional.",
"items": {
"properties": {
"group": {
"description": "group is the group of the target resource.",
"type": "string"
},
"kind": {
"description": "kind is kind of the target resource.",
"type": "string"
},
"name": {
"description": "name is the name of the target resource.",
"type": "string"
},
"namespace": {
"description": "namespace is the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"workloadSelector": {
"description": "Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.",
"properties": {
Expand Down
14 changes: 11 additions & 3 deletions networking.istio.io/gateway_v1alpha3.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@
},
"number": {
"description": "A valid non-negative integer port number.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"protocol": {
"description": "The protocol exposed on the port.",
"type": "string"
},
"targetPort": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
}
},
Expand All @@ -66,6 +70,10 @@
"description": "REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.",
"type": "string"
},
"caCrl": {
"description": "OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.",
"type": "string"
},
"cipherSuites": {
"description": "Optional: If specified, only support the specified cipher list.",
"items": {
Expand All @@ -82,7 +90,7 @@
"type": "boolean"
},
"maxProtocolVersion": {
"description": "Optional: Maximum TLS protocol version.",
"description": "Optional: Maximum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"enum": [
"TLS_AUTO",
"TLSV1_0",
Expand All @@ -93,7 +101,7 @@
"type": "string"
},
"minProtocolVersion": {
"description": "Optional: Minimum TLS protocol version.",
"description": "Optional: Minimum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"enum": [
"TLS_AUTO",
"TLSV1_0",
Expand All @@ -104,7 +112,7 @@
"type": "string"
},
"mode": {
"description": "Optional: Indicates whether connections to this port should be secured using TLS.",
"description": "Optional: Indicates whether connections to this port should be secured using TLS.\n\nValid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL",
"enum": [
"PASSTHROUGH",
"SIMPLE",
Expand Down
14 changes: 11 additions & 3 deletions networking.istio.io/gateway_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@
},
"number": {
"description": "A valid non-negative integer port number.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"protocol": {
"description": "The protocol exposed on the port.",
"type": "string"
},
"targetPort": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
}
},
Expand All @@ -66,6 +70,10 @@
"description": "REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.",
"type": "string"
},
"caCrl": {
"description": "OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate.",
"type": "string"
},
"cipherSuites": {
"description": "Optional: If specified, only support the specified cipher list.",
"items": {
Expand All @@ -82,7 +90,7 @@
"type": "boolean"
},
"maxProtocolVersion": {
"description": "Optional: Maximum TLS protocol version.",
"description": "Optional: Maximum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"enum": [
"TLS_AUTO",
"TLSV1_0",
Expand All @@ -93,7 +101,7 @@
"type": "string"
},
"minProtocolVersion": {
"description": "Optional: Minimum TLS protocol version.",
"description": "Optional: Minimum TLS protocol version.\n\nValid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3",
"enum": [
"TLS_AUTO",
"TLSV1_0",
Expand All @@ -104,7 +112,7 @@
"type": "string"
},
"mode": {
"description": "Optional: Indicates whether connections to this port should be secured using TLS.",
"description": "Optional: Indicates whether connections to this port should be secured using TLS.\n\nValid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL",
"enum": [
"PASSTHROUGH",
"SIMPLE",
Expand Down
1 change: 1 addition & 0 deletions networking.istio.io/proxyconfig_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"properties": {
"concurrency": {
"description": "The number of worker threads to run.",
"format": "int32",
"nullable": true,
"type": "integer"
},
Expand Down
12 changes: 10 additions & 2 deletions networking.istio.io/serviceentry_v1alpha3.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
},
"ports": {
"additionalProperties": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"description": "Set of ports associated with the endpoint.",
Expand All @@ -46,6 +48,8 @@
},
"weight": {
"description": "The load balancing weight associated with the endpoint.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
}
},
Expand All @@ -69,7 +73,7 @@
"type": "array"
},
"location": {
"description": "Specify whether the service should be considered external to the mesh or part of the mesh.",
"description": "Specify whether the service should be considered external to the mesh or part of the mesh.\n\nValid Options: MESH_EXTERNAL, MESH_INTERNAL",
"enum": [
"MESH_EXTERNAL",
"MESH_INTERNAL"
Expand All @@ -86,6 +90,8 @@
},
"number": {
"description": "A valid non-negative integer port number.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"protocol": {
Expand All @@ -94,6 +100,8 @@
},
"targetPort": {
"description": "The port number on the endpoint where the traffic will be received.",
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
}
},
Expand All @@ -107,7 +115,7 @@
"type": "array"
},
"resolution": {
"description": "Service resolution mode for the hosts.",
"description": "Service resolution mode for the hosts.\n\nValid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN",
"enum": [
"NONE",
"STATIC",
Expand Down
Loading

0 comments on commit d7c6cdc

Please sign in to comment.