File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
docs/content/customization/generic Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,8 @@ func (ExtraAPIServerCertSANs) VariableSchema() clusterv1.VariableSchema {
242
242
}
243
243
244
244
type ImageCredentials struct {
245
- // The Secret containing the registry credentials and CA certificate
246
- // The Secret should have keys ' username', ' password' and ' ca.crt'
245
+ // The Secret containing the registry credentials and optional CA certificate
246
+ // using the keys ` username`, ` password` and ` ca.crt`.
247
247
// This credentials Secret is not required for some registries, e.g. ECR.
248
248
// +optional
249
249
SecretRef * corev1.ObjectReference `json:"secretRef,omitempty"`
@@ -256,7 +256,7 @@ func (ImageCredentials) VariableSchema() clusterv1.VariableSchema {
256
256
Properties : map [string ]clusterv1.JSONSchemaProps {
257
257
"secretRef" : {
258
258
Description : "The Secret containing the registry credentials. " +
259
- "The Secret should have keys 'username', 'password' and 'ca.crt' " +
259
+ "The Secret should have keys 'username', 'password' and optional 'ca.crt' " +
260
260
"This credentials Secret is not required for some registries, e.g. ECR." ,
261
261
Type : "object" ,
262
262
Properties : map [string ]clusterv1.JSONSchemaProps {
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ This customization will be available when the
13
13
14
14
To provide image registry mirror with CA certificate, specify the following configuration:
15
15
16
- If your registry mirror requires self signed CA certifate, create a Kubernetes Secret with keys for ` ca.crt ` :
16
+ If your registry mirror requires a private or self-signed CA certificate,
17
+ create a Kubernetes Secret with the ` ca.crt ` key populated with the CA certificate in PEM format:
17
18
18
19
``` shell
19
20
kubectl create secret generic my-mirror-ca-cert-secret \
You can’t perform that action at this time.
0 commit comments