File tree Expand file tree Collapse file tree 4 files changed +8
-11
lines changed
Expand file tree Collapse file tree 4 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ type GitRepositorySpec struct {
5656 // the GitRepository.
5757 // For HTTPS repositories the Secret must contain 'username' and 'password'
5858 // fields.
59- // For SSH repositories the Secret must contain 'identity', 'identity.pub'
59+ // For SSH repositories the Secret must contain 'identity'
6060 // and 'known_hosts' fields.
6161 // +optional
6262 SecretRef * meta.LocalObjectReference `json:"secretRef,omitempty"`
Original file line number Diff line number Diff line change @@ -149,8 +149,8 @@ spec:
149149 secretRef :
150150 description : The secret name containing the Git credentials. For HTTPS
151151 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.
154154 properties :
155155 name :
156156 description : Name of the referent.
@@ -493,8 +493,7 @@ spec:
493493 description : SecretRef specifies the Secret containing authentication
494494 credentials for the GitRepository. For HTTPS repositories the Secret
495495 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.
498497 properties :
499498 name :
500499 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
321321the GitRepository.
322322For HTTPS repositories the Secret must contain &lsquo ; username&rsquo ; and &lsquo ; password&rsquo ;
323323fields.
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 ;
325325and &lsquo ; known_hosts&rsquo ; fields.</p >
326326</td >
327327</tr >
@@ -1405,7 +1405,7 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference
14051405the GitRepository.
14061406For HTTPS repositories the Secret must contain &lsquo ; username&rsquo ; and &lsquo ; password&rsquo ;
14071407fields.
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 ;
14091409and &lsquo ; known_hosts&rsquo ; fields.</p >
14101410</td >
14111411</tr >
Original file line number Diff line number Diff line change @@ -152,9 +152,8 @@ data:
152152# ### SSH authentication
153153
154154To 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.
158157
159158` ` ` yaml
160159---
@@ -165,7 +164,6 @@ metadata:
165164type: Opaque
166165data:
167166 identity: <BASE64>
168- identity.pub: <BASE64>
169167 known_hosts: <BASE64>
170168` ` `
171169
You can’t perform that action at this time.
0 commit comments