fix typo in helmRepo secretRef spec CRD
When using a TLS authentication, user can provide a custom certificate by setting the caFile key in the secret, not caCert. Signed-off-by: Yohan Belléguic <yohan.belleguic@arkea.com>
This commit is contained in:
parent
b939216694
commit
2741d0a150
|
@ -43,7 +43,7 @@ type HelmRepositorySpec struct {
|
||||||
// For HTTP/S basic auth the secret must contain username and
|
// For HTTP/S basic auth the secret must contain username and
|
||||||
// password fields.
|
// password fields.
|
||||||
// For TLS the secret must contain a certFile and keyFile, and/or
|
// For TLS the secret must contain a certFile and keyFile, and/or
|
||||||
// caCert fields.
|
// caFile fields.
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`
|
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ type HelmRepositorySpec struct {
|
||||||
// For HTTP/S basic auth the secret must contain 'username' and 'password'
|
// For HTTP/S basic auth the secret must contain 'username' and 'password'
|
||||||
// fields.
|
// fields.
|
||||||
// For TLS the secret must contain a 'certFile' and 'keyFile', and/or
|
// For TLS the secret must contain a 'certFile' and 'keyFile', and/or
|
||||||
// 'caCert' fields.
|
// 'caFile' fields.
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`
|
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,7 @@ spec:
|
||||||
description: The name of the secret containing authentication credentials
|
description: The name of the secret containing authentication credentials
|
||||||
for the Helm repository. For HTTP/S basic auth the secret must contain
|
for the Helm repository. For HTTP/S basic auth the secret must contain
|
||||||
username and password fields. For TLS the secret must contain a
|
username and password fields. For TLS the secret must contain a
|
||||||
certFile and keyFile, and/or caCert fields.
|
certFile and keyFile, and/or caFile fields.
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
description: Name of the referent.
|
description: Name of the referent.
|
||||||
|
@ -325,7 +325,7 @@ spec:
|
||||||
description: SecretRef specifies the Secret containing authentication
|
description: SecretRef specifies the Secret containing authentication
|
||||||
credentials for the HelmRepository. For HTTP/S basic auth the secret
|
credentials for the HelmRepository. For HTTP/S basic auth the secret
|
||||||
must contain 'username' and 'password' fields. For TLS the secret
|
must contain 'username' and 'password' fields. For TLS the secret
|
||||||
must contain a 'certFile' and 'keyFile', and/or 'caCert' fields.
|
must contain a 'certFile' and 'keyFile', and/or 'caFile' fields.
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
description: Name of the referent.
|
description: Name of the referent.
|
||||||
|
|
|
@ -794,7 +794,7 @@ for the HelmRepository.
|
||||||
For HTTP/S basic auth the secret must contain ‘username’ and ‘password’
|
For HTTP/S basic auth the secret must contain ‘username’ and ‘password’
|
||||||
fields.
|
fields.
|
||||||
For TLS the secret must contain a ‘certFile’ and ‘keyFile’, and/or
|
For TLS the secret must contain a ‘certFile’ and ‘keyFile’, and/or
|
||||||
‘caCert’ fields.</p>
|
‘caFile’ fields.</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -2444,7 +2444,7 @@ for the HelmRepository.
|
||||||
For HTTP/S basic auth the secret must contain ‘username’ and ‘password’
|
For HTTP/S basic auth the secret must contain ‘username’ and ‘password’
|
||||||
fields.
|
fields.
|
||||||
For TLS the secret must contain a ‘certFile’ and ‘keyFile’, and/or
|
For TLS the secret must contain a ‘certFile’ and ‘keyFile’, and/or
|
||||||
‘caCert’ fields.</p>
|
‘caFile’ fields.</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -19,7 +19,7 @@ type HelmRepositorySpec struct {
|
||||||
// repository.
|
// repository.
|
||||||
// For HTTP/S basic auth the secret must contain username and
|
// For HTTP/S basic auth the secret must contain username and
|
||||||
// password fields.
|
// password fields.
|
||||||
// For TLS the secret must contain caFile, keyFile and caCert
|
// For TLS the secret must contain caFile, keyFile and caFile
|
||||||
// fields.
|
// fields.
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`
|
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`
|
||||||
|
|
|
@ -20,7 +20,7 @@ type HelmRepositorySpec struct {
|
||||||
// For HTTP/S basic auth the secret must contain username and
|
// For HTTP/S basic auth the secret must contain username and
|
||||||
// password fields.
|
// password fields.
|
||||||
// For TLS the secret must contain a certFile and keyFile, and/or
|
// For TLS the secret must contain a certFile and keyFile, and/or
|
||||||
// caCert fields.
|
// caFile fields.
|
||||||
// +optional
|
// +optional
|
||||||
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`
|
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue