Skip to content

Commit 4309680

Browse files
authored
Merge pull request #100784 from kalexand-rh/more4.20api
[enterprise-4.20] fixing new API error
2 parents 87874cd + 4b673ee commit 4309680

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

rest_api/config_apis/clusterimagepolicy-config-openshift-io-v1.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ images not matching the verification policy will be treated.
8080
| 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".
8181
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).
8282
More general scopes are prefixes of individual-image scopes, and specify a repository (by omitting the tag or digest), a repository
83-
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).
83+
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).
8484
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.
8585
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.
8686
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::
554554
| Parameter | Type | Description
555555
| `body`
556556
| xref:../config_apis/clusterimagepolicy-config-openshift-io-v1.adoc#clusterimagepolicy-config-openshift-io-v1[`ClusterImagePolicy`] schema
557-
|
557+
|
558558
|===
559559

560560
.HTTP responses
@@ -687,7 +687,7 @@ Description::
687687
| Parameter | Type | Description
688688
| `body`
689689
| xref:../config_apis/clusterimagepolicy-config-openshift-io-v1.adoc#clusterimagepolicy-config-openshift-io-v1[`ClusterImagePolicy`] schema
690-
|
690+
|
691691
|===
692692

693693
.HTTP responses
@@ -789,7 +789,7 @@ Description::
789789
| Parameter | Type | Description
790790
| `body`
791791
| xref:../config_apis/clusterimagepolicy-config-openshift-io-v1.adoc#clusterimagepolicy-config-openshift-io-v1[`ClusterImagePolicy`] schema
792-
|
792+
|
793793
|===
794794

795795
.HTTP responses

rest_api/config_apis/imagepolicy-config-openshift-io-v1.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ images not matching the verification policy will be treated.
8080
| 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".
8181
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).
8282
More general scopes are prefixes of individual-image scopes, and specify a repository (by omitting the tag or digest), a repository
83-
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).
83+
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).
8484
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.
8585
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.
8686
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::
580580
| Parameter | Type | Description
581581
| `body`
582582
| xref:../config_apis/imagepolicy-config-openshift-io-v1.adoc#imagepolicy-config-openshift-io-v1[`ImagePolicy`] schema
583-
|
583+
|
584584
|===
585585

586586
.HTTP responses
@@ -713,7 +713,7 @@ Description::
713713
| Parameter | Type | Description
714714
| `body`
715715
| xref:../config_apis/imagepolicy-config-openshift-io-v1.adoc#imagepolicy-config-openshift-io-v1[`ImagePolicy`] schema
716-
|
716+
|
717717
|===
718718

719719
.HTTP responses
@@ -815,7 +815,7 @@ Description::
815815
| Parameter | Type | Description
816816
| `body`
817817
| xref:../config_apis/imagepolicy-config-openshift-io-v1.adoc#imagepolicy-config-openshift-io-v1[`ImagePolicy`] schema
818-
|
818+
|
819819
|===
820820

821821
.HTTP responses

0 commit comments

Comments
 (0)