From 1dd4bec69139b9da4b0a3f7f65b2ad52e7dd773e Mon Sep 17 00:00:00 2001 From: Kathryn Alexander Date: Fri, 17 Oct 2025 15:45:46 -0400 Subject: [PATCH] fixing new API error --- .../clusterimagepolicy-config-openshift-io-v1.adoc | 8 ++++---- .../config_apis/imagepolicy-config-openshift-io-v1.adoc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rest_api/config_apis/clusterimagepolicy-config-openshift-io-v1.adoc b/rest_api/config_apis/clusterimagepolicy-config-openshift-io-v1.adoc index d59f32df2c7f..1d32cf7f3ecb 100644 --- a/rest_api/config_apis/clusterimagepolicy-config-openshift-io-v1.adoc +++ b/rest_api/config_apis/clusterimagepolicy-config-openshift-io-v1.adoc @@ -80,7 +80,7 @@ images not matching the verification policy will be treated. | scopes is a required field that defines the list of image identities assigned to a policy. Each item refers to a scope in a registry implementing the "Docker Registry HTTP API V2". Scopes matching individual images are named Docker references in the fully expanded form, either using a tag or digest. For example, docker.io/library/busybox:latest (not busybox:latest). More general scopes are prefixes of individual-image scopes, and specify a repository (by omitting the tag or digest), a repository -namespace, or a registry host (by only specifying the host name and possibly a port number) or a wildcard expression starting with `*.`, for matching all subdomains (not including a port number). +namespace, or a registry host (by only specifying the host name and possibly a port number) or a wildcard expression starting with `\*.`, for matching all subdomains (not including a port number). Wildcards are only supported for subdomain matching, and may not be used in the middle of the host, i.e. *.example.com is a valid case, but example*.*.com is not. This support no more than 256 scopes in one object. If multiple scopes match a given image, only the policy requirements for the most specific scope apply. The policy requirements for more general scopes are ignored. In addition to setting a policy appropriate for your own deployed applications, make sure that a policy on the OpenShift image repositories @@ -554,7 +554,7 @@ Description:: | Parameter | Type | Description | `body` | xref:../config_apis/clusterimagepolicy-config-openshift-io-v1.adoc#clusterimagepolicy-config-openshift-io-v1[`ClusterImagePolicy`] schema -| +| |=== .HTTP responses @@ -687,7 +687,7 @@ Description:: | Parameter | Type | Description | `body` | xref:../config_apis/clusterimagepolicy-config-openshift-io-v1.adoc#clusterimagepolicy-config-openshift-io-v1[`ClusterImagePolicy`] schema -| +| |=== .HTTP responses @@ -789,7 +789,7 @@ Description:: | Parameter | Type | Description | `body` | xref:../config_apis/clusterimagepolicy-config-openshift-io-v1.adoc#clusterimagepolicy-config-openshift-io-v1[`ClusterImagePolicy`] schema -| +| |=== .HTTP responses diff --git a/rest_api/config_apis/imagepolicy-config-openshift-io-v1.adoc b/rest_api/config_apis/imagepolicy-config-openshift-io-v1.adoc index c430444a4db4..398f17766208 100644 --- a/rest_api/config_apis/imagepolicy-config-openshift-io-v1.adoc +++ b/rest_api/config_apis/imagepolicy-config-openshift-io-v1.adoc @@ -80,7 +80,7 @@ images not matching the verification policy will be treated. | scopes is a required field that defines the list of image identities assigned to a policy. Each item refers to a scope in a registry implementing the "Docker Registry HTTP API V2". Scopes matching individual images are named Docker references in the fully expanded form, either using a tag or digest. For example, docker.io/library/busybox:latest (not busybox:latest). More general scopes are prefixes of individual-image scopes, and specify a repository (by omitting the tag or digest), a repository -namespace, or a registry host (by only specifying the host name and possibly a port number) or a wildcard expression starting with `*.`, for matching all subdomains (not including a port number). +namespace, or a registry host (by only specifying the host name and possibly a port number) or a wildcard expression starting with `\*.`, for matching all subdomains (not including a port number). Wildcards are only supported for subdomain matching, and may not be used in the middle of the host, i.e. *.example.com is a valid case, but example*.*.com is not. This support no more than 256 scopes in one object. If multiple scopes match a given image, only the policy requirements for the most specific scope apply. The policy requirements for more general scopes are ignored. In addition to setting a policy appropriate for your own deployed applications, make sure that a policy on the OpenShift image repositories @@ -580,7 +580,7 @@ Description:: | Parameter | Type | Description | `body` | xref:../config_apis/imagepolicy-config-openshift-io-v1.adoc#imagepolicy-config-openshift-io-v1[`ImagePolicy`] schema -| +| |=== .HTTP responses @@ -713,7 +713,7 @@ Description:: | Parameter | Type | Description | `body` | xref:../config_apis/imagepolicy-config-openshift-io-v1.adoc#imagepolicy-config-openshift-io-v1[`ImagePolicy`] schema -| +| |=== .HTTP responses @@ -815,7 +815,7 @@ Description:: | Parameter | Type | Description | `body` | xref:../config_apis/imagepolicy-config-openshift-io-v1.adoc#imagepolicy-config-openshift-io-v1[`ImagePolicy`] schema -| +| |=== .HTTP responses