You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/v1/0000_00_cluster-version-operator_01_clusterversion-TechPreviewNoUpgrade.crd.yaml
+24-6
Original file line number
Diff line number
Diff line change
@@ -155,15 +155,33 @@ spec:
155
155
- name
156
156
x-kubernetes-list-type: map
157
157
signatureStores:
158
-
description: "signatureStores contains the upstream URIs to verify release signatures. By default, CVO will use existing signature stores if this property is empty. The CVO will check the release signatures in the local ConfigMaps first. It will search for a valid signature in these stores in parallel only when local ConfigMaps did not include a valid signature. Validation will fail if none of the signature stores reply with valid signature before timeout. Setting signatureStores will replace the default signature stores with custom signature stores. Default stores can be used with custom signature stores by adding them manually. \n Items in this list should be a valid absolute http/https URI of an upstream signature store as per rfc1738. A maximum of 32 signature stores may be configured."
158
+
description: "signatureStores contains the upstream URIs to verify release signatures and optional reference to a config map by name containing the PEM-encoded CA bundle. \nBy default, CVO will use existing signature stores if this property is empty. The CVO will check the release signatures in the local ConfigMaps first. It will search for a valid signature in these stores in parallel only when local ConfigMaps did not include a valid signature. Validation will fail if none of the signature stores reply with valid signature before timeout. Setting signatureStores will replace the default signature stores with custom signature stores. Default stores can be used with custom signature stores by adding them manually. \n A maximum of 32 signature stores may be configured."
159
159
type: array
160
160
maxItems: 32
161
161
items:
162
-
type: string
163
-
x-kubernetes-list-type: set
164
-
x-kubernetes-validations:
165
-
- rule: self.all(x, isURL(x))
166
-
message: signatureStores must contain only valid absolute URLs per the Go net/url standard
162
+
description: SignatureStore represents the URL of custom Signature Store
163
+
type: object
164
+
required:
165
+
- url
166
+
properties:
167
+
ca:
168
+
description: ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the signature store is not honored. If the specified ca data is not valid, the signature store is not honored. If empty, we fall back to the CA configured via Proxy, which is appended to the default system roots. The namespace for this config map is openshift-config.
169
+
type: object
170
+
required:
171
+
- name
172
+
properties:
173
+
name:
174
+
description: name is the metadata.name of the referenced config map
175
+
type: string
176
+
url:
177
+
description: url contains the upstream custom signature store URL. url should be a valid absolute http/https URI of an upstream signature store as per rfc1738. This must be provided and cannot be empty.
178
+
type: string
179
+
x-kubernetes-validations:
180
+
- rule: isURL(self)
181
+
message: url must be a valid absolute URL
182
+
x-kubernetes-list-map-keys:
183
+
- url
184
+
x-kubernetes-list-type: map
167
185
upstream:
168
186
description: upstream may be used to specify the preferred update server. By default it will use the appropriate update server for the cluster and region.
// signatureStores contains the upstream URIs to verify release signatures.
91
+
// signatureStores contains the upstream URIs to verify release signatures and optional
92
+
// reference to a config map by name containing the PEM-encoded CA bundle.
93
+
//
92
94
// By default, CVO will use existing signature stores if this property is empty.
93
95
// The CVO will check the release signatures in the local ConfigMaps first. It will search for a valid signature
94
96
// in these stores in parallel only when local ConfigMaps did not include a valid signature.
95
97
// Validation will fail if none of the signature stores reply with valid signature before timeout.
96
98
// Setting signatureStores will replace the default signature stores with custom signature stores.
97
99
// Default stores can be used with custom signature stores by adding them manually.
98
100
//
99
-
// Items in this list should be a valid absolute http/https URI of an upstream signature store as per rfc1738.
100
101
// A maximum of 32 signature stores may be configured.
101
-
// +kubebuilder:validation:XValidation:rule="self.all(x, isURL(x))",message="signatureStores must contain only valid absolute URLs per the Go net/url standard"
0 commit comments