diff --git a/api/v1alpha1/wasm_types.go b/api/v1alpha1/wasm_types.go index fa2c481a8ad2..2f297d3aa973 100644 --- a/api/v1alpha1/wasm_types.go +++ b/api/v1alpha1/wasm_types.go @@ -121,9 +121,9 @@ type HTTPWasmCodeSource struct { type ImageWasmCodeSource struct { // URL is the URL of the OCI image. // URL can be in the format of `registry/image:tag` or `registry/image@sha256:digest`. - // The image format must follow the Wasm Artifact Image Specification or the Compat Spec. + // The image format must follow the Wasm Artifact Image Specification or the Compat Specification. // - Wasm Artifact Image Specification: https://github.com/solo-io/wasm/blob/master/spec/spec.md - // - Compat spec image: https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md + // - Compat Specification: https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md URL string `json:"url"` // PullSecretRef is a reference to the secret containing the credentials to pull the image. diff --git a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml index 732256f9b4fb..bb9746da15e1 100644 --- a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml +++ b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml @@ -391,9 +391,9 @@ spec: description: |- URL is the URL of the OCI image. URL can be in the format of `registry/image:tag` or `registry/image@sha256:digest`. - The image format must follow the Wasm Artifact Image Specification or the Compat Spec. + The image format must follow the Wasm Artifact Image Specification or the Compat Specification. - Wasm Artifact Image Specification: https://github.com/solo-io/wasm/blob/master/spec/spec.md - - Compat spec image: https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md + - Compat Specification: https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md type: string required: - url diff --git a/internal/provider/kubernetes/predicates_test.go b/internal/provider/kubernetes/predicates_test.go index 163ddc379738..6379263bdb0c 100644 --- a/internal/provider/kubernetes/predicates_test.go +++ b/internal/provider/kubernetes/predicates_test.go @@ -326,10 +326,14 @@ func TestValidateSecretForReconcile(t *testing.T) { Name: "wasm-oci", }, Spec: egv1a1.EnvoyExtensionPolicySpec{ - TargetRef: gwapiv1a2.LocalPolicyTargetReferenceWithSectionName{ - LocalPolicyTargetReference: gwapiv1a2.LocalPolicyTargetReference{ - Kind: "Gateway", - Name: "scheduled-status-test", + PolicyTargetReferences: egv1a1.PolicyTargetReferences{ + TargetRefs: []gwapiv1a2.LocalPolicyTargetReferenceWithSectionName{ + { + LocalPolicyTargetReference: gwapiv1a2.LocalPolicyTargetReference{ + Kind: "Gateway", + Name: "scheduled-status-test", + }, + }, }, }, Wasm: []egv1a1.Wasm{ diff --git a/site/content/en/latest/api/extension_types.md b/site/content/en/latest/api/extension_types.md index b6641976c4c5..ddbbc487d0ca 100644 --- a/site/content/en/latest/api/extension_types.md +++ b/site/content/en/latest/api/extension_types.md @@ -2002,7 +2002,7 @@ _Appears in:_ | Field | Type | Required | Description | | --- | --- | --- | --- | -| `url` | _string_ | true | URL is the URL of the OCI image.
URL can be in the format of `registry/image:tag` or `registry/image@sha256:digest`.
The image format must follow the Wasm Artifact Image Specification or the Compat Spec.
- Wasm Artifact Image Specification: https://github.com/solo-io/wasm/blob/master/spec/spec.md
- Compat spec image: https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md | +| `url` | _string_ | true | URL is the URL of the OCI image.
URL can be in the format of `registry/image:tag` or `registry/image@sha256:digest`.
The image format must follow the Wasm Artifact Image Specification or the Compat Specification.
- Wasm Artifact Image Specification: https://github.com/solo-io/wasm/blob/master/spec/spec.md
- Compat Specification: https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md | | `pullSecretRef` | _[SecretObjectReference](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1.SecretObjectReference)_ | false | PullSecretRef is a reference to the secret containing the credentials to pull the image.
Only support Kubernetes Secret resource from the same namespace. | diff --git a/site/content/zh/latest/api/extension_types.md b/site/content/zh/latest/api/extension_types.md index b6641976c4c5..ddbbc487d0ca 100644 --- a/site/content/zh/latest/api/extension_types.md +++ b/site/content/zh/latest/api/extension_types.md @@ -2002,7 +2002,7 @@ _Appears in:_ | Field | Type | Required | Description | | --- | --- | --- | --- | -| `url` | _string_ | true | URL is the URL of the OCI image.
URL can be in the format of `registry/image:tag` or `registry/image@sha256:digest`.
The image format must follow the Wasm Artifact Image Specification or the Compat Spec.
- Wasm Artifact Image Specification: https://github.com/solo-io/wasm/blob/master/spec/spec.md
- Compat spec image: https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md | +| `url` | _string_ | true | URL is the URL of the OCI image.
URL can be in the format of `registry/image:tag` or `registry/image@sha256:digest`.
The image format must follow the Wasm Artifact Image Specification or the Compat Specification.
- Wasm Artifact Image Specification: https://github.com/solo-io/wasm/blob/master/spec/spec.md
- Compat Specification: https://github.com/solo-io/wasm/blob/master/spec/spec-compat.md | | `pullSecretRef` | _[SecretObjectReference](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1.SecretObjectReference)_ | false | PullSecretRef is a reference to the secret containing the credentials to pull the image.
Only support Kubernetes Secret resource from the same namespace. |