@@ -811,10 +811,20 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference
811
811
</td >
812
812
<td >
813
813
<em >(Optional)</em >
814
- <p >CertSecretRef specifies the Secret containing the TLS authentication
815
- data. The secret must contain a &lsquo ; certFile&rsquo ; and &lsquo ; keyFile&rsquo ; , and/or &lsquo ; caFile&rsquo ;
816
- fields. It takes precedence over the values specified in the Secret
817
- referred to by <code >.spec.secretRef</code >.</p >
814
+ <p >CertSecretRef can be given the name of a Secret containing
815
+ either or both of</p >
816
+ <ul >
817
+ <li >a PEM-encoded client certificate (<code >tls.crt</code >) and private
818
+ key (<code >tls.key</code >);</li >
819
+ <li >a PEM-encoded CA certificate (<code >ca.crt</code >)</li >
820
+ </ul >
821
+ <p >and whichever are supplied, will be used for connecting to the
822
+ registry. The client cert and key are useful if you are
823
+ authenticating with a certificate; the CA cert is useful if
824
+ you are using a self-signed server certificate. The Secret must
825
+ be of type <code >Opaque</code > or <code >kubernetes.io/tls</code >.</p >
826
+ <p >It takes precedence over the values specified in the Secret referred
827
+ to by <code >.spec.secretRef</code >.</p >
818
828
</td >
819
829
</tr >
820
830
<tr >
@@ -1109,17 +1119,20 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference
1109
1119
</td >
1110
1120
<td >
1111
1121
<em >(Optional)</em >
1112
- <p >CertSecretRef can be given the name of a secret containing
1122
+ <p >CertSecretRef can be given the name of a Secret containing
1113
1123
either or both of</p >
1114
1124
<ul >
1115
- <li >a PEM-encoded client certificate (<code >certFile </code >) and private
1116
- key (<code >keyFile </code >);</li >
1117
- <li >a PEM-encoded CA certificate (<code >caFile </code >)</li >
1125
+ <li >a PEM-encoded client certificate (<code >tls.crt </code >) and private
1126
+ key (<code >tls.key </code >);</li >
1127
+ <li >a PEM-encoded CA certificate (<code >ca.crt </code >)</li >
1118
1128
</ul >
1119
1129
<p >and whichever are supplied, will be used for connecting to the
1120
1130
registry. The client cert and key are useful if you are
1121
1131
authenticating with a certificate; the CA cert is useful if
1122
- you are using a self-signed server certificate.</p >
1132
+ you are using a self-signed server certificate. The Secret must
1133
+ be of type <code >Opaque</code > or <code >kubernetes.io/tls</code >.</p >
1134
+ <p >Note: Support for the <code >caFile</code >, <code >certFile</code > and <code >keyFile</code > keys have
1135
+ been deprecated.</p >
1123
1136
</td >
1124
1137
</tr >
1125
1138
<tr >
@@ -2503,10 +2516,20 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference
2503
2516
</td >
2504
2517
<td >
2505
2518
<em >(Optional)</em >
2506
- <p >CertSecretRef specifies the Secret containing the TLS authentication
2507
- data. The secret must contain a &lsquo ; certFile&rsquo ; and &lsquo ; keyFile&rsquo ; , and/or &lsquo ; caFile&rsquo ;
2508
- fields. It takes precedence over the values specified in the Secret
2509
- referred to by <code >.spec.secretRef</code >.</p >
2519
+ <p >CertSecretRef can be given the name of a Secret containing
2520
+ either or both of</p >
2521
+ <ul >
2522
+ <li >a PEM-encoded client certificate (<code >tls.crt</code >) and private
2523
+ key (<code >tls.key</code >);</li >
2524
+ <li >a PEM-encoded CA certificate (<code >ca.crt</code >)</li >
2525
+ </ul >
2526
+ <p >and whichever are supplied, will be used for connecting to the
2527
+ registry. The client cert and key are useful if you are
2528
+ authenticating with a certificate; the CA cert is useful if
2529
+ you are using a self-signed server certificate. The Secret must
2530
+ be of type <code >Opaque</code > or <code >kubernetes.io/tls</code >.</p >
2531
+ <p >It takes precedence over the values specified in the Secret referred
2532
+ to by <code >.spec.secretRef</code >.</p >
2510
2533
</td >
2511
2534
</tr >
2512
2535
<tr >
@@ -3004,17 +3027,20 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference
3004
3027
</td >
3005
3028
<td >
3006
3029
<em >(Optional)</em >
3007
- <p >CertSecretRef can be given the name of a secret containing
3030
+ <p >CertSecretRef can be given the name of a Secret containing
3008
3031
either or both of</p >
3009
3032
<ul >
3010
- <li >a PEM-encoded client certificate (<code >certFile </code >) and private
3011
- key (<code >keyFile </code >);</li >
3012
- <li >a PEM-encoded CA certificate (<code >caFile </code >)</li >
3033
+ <li >a PEM-encoded client certificate (<code >tls.crt </code >) and private
3034
+ key (<code >tls.key </code >);</li >
3035
+ <li >a PEM-encoded CA certificate (<code >ca.crt </code >)</li >
3013
3036
</ul >
3014
3037
<p >and whichever are supplied, will be used for connecting to the
3015
3038
registry. The client cert and key are useful if you are
3016
3039
authenticating with a certificate; the CA cert is useful if
3017
- you are using a self-signed server certificate.</p >
3040
+ you are using a self-signed server certificate. The Secret must
3041
+ be of type <code >Opaque</code > or <code >kubernetes.io/tls</code >.</p >
3042
+ <p >Note: Support for the <code >caFile</code >, <code >certFile</code > and <code >keyFile</code > keys have
3043
+ been deprecated.</p >
3018
3044
</td >
3019
3045
</tr >
3020
3046
<tr >
0 commit comments