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:
Yohan Belléguic 2023-01-09 16:36:41 +01:00 committed by Sunny
parent b939216694
commit 2741d0a150
6 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@ type HelmRepositorySpec struct {
// For HTTP/S basic auth the secret must contain username and
// password fields.
// For TLS the secret must contain a certFile and keyFile, and/or
// caCert fields.
// caFile fields.
// +optional
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`

View File

@ -51,7 +51,7 @@ type HelmRepositorySpec struct {
// For HTTP/S basic auth the secret must contain 'username' and 'password'
// fields.
// For TLS the secret must contain a 'certFile' and 'keyFile', and/or
// 'caCert' fields.
// 'caFile' fields.
// +optional
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`

View File

@ -92,7 +92,7 @@ spec:
description: The name of the secret containing authentication credentials
for the Helm repository. For HTTP/S basic auth the secret must contain
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:
name:
description: Name of the referent.
@ -325,7 +325,7 @@ spec:
description: SecretRef specifies the Secret containing authentication
credentials for the HelmRepository. For HTTP/S basic auth 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:
name:
description: Name of the referent.

View File

@ -794,7 +794,7 @@ for the HelmRepository.
For HTTP/S basic auth the secret must contain &lsquo;username&rsquo; and &lsquo;password&rsquo;
fields.
For TLS the secret must contain a &lsquo;certFile&rsquo; and &lsquo;keyFile&rsquo;, and/or
&lsquo;caCert&rsquo; fields.</p>
&lsquo;caFile&rsquo; fields.</p>
</td>
</tr>
<tr>
@ -2444,7 +2444,7 @@ for the HelmRepository.
For HTTP/S basic auth the secret must contain &lsquo;username&rsquo; and &lsquo;password&rsquo;
fields.
For TLS the secret must contain a &lsquo;certFile&rsquo; and &lsquo;keyFile&rsquo;, and/or
&lsquo;caCert&rsquo; fields.</p>
&lsquo;caFile&rsquo; fields.</p>
</td>
</tr>
<tr>

View File

@ -19,7 +19,7 @@ type HelmRepositorySpec struct {
// repository.
// For HTTP/S basic auth the secret must contain username and
// password fields.
// For TLS the secret must contain caFile, keyFile and caCert
// For TLS the secret must contain caFile, keyFile and caFile
// fields.
// +optional
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`

View File

@ -20,7 +20,7 @@ type HelmRepositorySpec struct {
// For HTTP/S basic auth the secret must contain username and
// password fields.
// For TLS the secret must contain a certFile and keyFile, and/or
// caCert fields.
// caFile fields.
// +optional
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`