File tree 4 files changed +10
-13
lines changed
4 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ type GitRepositorySpec struct {
56
56
// the GitRepository.
57
57
// For HTTPS repositories the Secret must contain 'username' and 'password'
58
58
// fields.
59
- // For SSH repositories the Secret must contain 'identity', 'identity.pub'
59
+ // For SSH repositories the Secret must contain 'identity'
60
60
// and 'known_hosts' fields.
61
61
// +optional
62
62
SecretRef * meta.LocalObjectReference `json:"secretRef,omitempty"`
Original file line number Diff line number Diff line change @@ -149,8 +149,8 @@ spec:
149
149
secretRef :
150
150
description : The secret name containing the Git credentials. For HTTPS
151
151
repositories the secret must contain username and password fields.
152
- For SSH repositories the secret must contain identity, identity.pub
153
- and known_hosts fields.
152
+ For SSH repositories the secret must contain identity and known_hosts
153
+ fields.
154
154
properties :
155
155
name :
156
156
description : Name of the referent.
@@ -493,8 +493,7 @@ spec:
493
493
description : SecretRef specifies the Secret containing authentication
494
494
credentials for the GitRepository. For HTTPS repositories the Secret
495
495
must contain 'username' and 'password' fields. For SSH repositories
496
- the Secret must contain 'identity', 'identity.pub' and 'known_hosts'
497
- fields.
496
+ the Secret must contain 'identity' and 'known_hosts' fields.
498
497
properties :
499
498
name :
500
499
description : Name of the referent.
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference
321
321
the GitRepository.
322
322
For HTTPS repositories the Secret must contain &lsquo ; username&rsquo ; and &lsquo ; password&rsquo ;
323
323
fields.
324
- For SSH repositories the Secret must contain &lsquo ; identity&rsquo ; , & lsquo ; identity.pub & rsquo ;
324
+ For SSH repositories the Secret must contain &lsquo ; identity&rsquo ;
325
325
and &lsquo ; known_hosts&rsquo ; fields.</p >
326
326
</td >
327
327
</tr >
@@ -1405,7 +1405,7 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference
1405
1405
the GitRepository.
1406
1406
For HTTPS repositories the Secret must contain &lsquo ; username&rsquo ; and &lsquo ; password&rsquo ;
1407
1407
fields.
1408
- For SSH repositories the Secret must contain &lsquo ; identity&rsquo ; , & lsquo ; identity.pub & rsquo ;
1408
+ For SSH repositories the Secret must contain &lsquo ; identity&rsquo ;
1409
1409
and &lsquo ; known_hosts&rsquo ; fields.</p >
1410
1410
</td >
1411
1411
</tr >
@@ -1630,8 +1630,8 @@ Artifact
1630
1630
<td >
1631
1631
<code >includedArtifacts</code ><br >
1632
1632
<em >
1633
- <a href =" #source.toolkit.fluxcd.io/v1beta2.*. /api/v1beta2.Artifact " >
1634
- [ ] * . /api/v1beta2.Artifact
1633
+ <a href =" #source.toolkit.fluxcd.io/v1beta2.*github.com/fluxcd/source-controller /api/v1beta2.Artifact " >
1634
+ [ ] * github.com/fluxcd/source-controller /api/v1beta2.Artifact
1635
1635
</a >
1636
1636
</em >
1637
1637
</td >
Original file line number Diff line number Diff line change @@ -152,9 +152,8 @@ data:
152
152
# ### SSH authentication
153
153
154
154
To authenticate towards a Git repository over SSH, the referenced Secret is
155
- expected to contain `.data.identity`, `.data.identity.pub` and `known_hosts`
156
- fields. With the respective private and public key of the SSH key pair, and the
157
- host keys of the Git repository.
155
+ expected to contain `.data.identity` and `known_hosts` fields. With the respective
156
+ private key of the SSH key pair, and the host keys of the Git repository.
158
157
159
158
` ` ` yaml
160
159
---
@@ -165,7 +164,6 @@ metadata:
165
164
type: Opaque
166
165
data:
167
166
identity: <BASE64>
168
- identity.pub: <BASE64>
169
167
known_hosts: <BASE64>
170
168
` ` `
171
169
You can’t perform that action at this time.
0 commit comments