mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 23:51:48 +00:00
Add link to kubectl repo
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
parent
529e66ce51
commit
df8152e688
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ import (
|
||||||
|
|
||||||
const defaultSSHPort = 22
|
const defaultSSHPort = 22
|
||||||
|
|
||||||
|
// types gotten from https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/create/create_secret_docker.go#L64-L84
|
||||||
|
|
||||||
// DockerConfigJSON represents a local docker auth config file
|
// DockerConfigJSON represents a local docker auth config file
|
||||||
// for pulling images.
|
// for pulling images.
|
||||||
type DockerConfigJSON struct {
|
type DockerConfigJSON struct {
|
||||||
|
|
@ -53,6 +55,7 @@ type DockerConfig map[string]DockerConfigEntry
|
||||||
type DockerConfigEntry struct {
|
type DockerConfigEntry struct {
|
||||||
Username string `json:"username,omitempty"`
|
Username string `json:"username,omitempty"`
|
||||||
Password string `json:"password,omitempty"`
|
Password string `json:"password,omitempty"`
|
||||||
|
Email string `json:"email,omitempty"`
|
||||||
Auth string `json:"auth,omitempty"`
|
Auth string `json:"auth,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue