mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
make push image to support namespaceOverride
Signed-off-by: 24sama <jacksama@foxmail.com>
This commit is contained in:
parent
f1273bdd5a
commit
9f65844321
|
|
@ -130,10 +130,11 @@ func CmdPush(fileName string, prePath string, kubeConf *common.KubeConf, arches
|
|||
|
||||
privateRegistry := kubeConf.Cluster.Registry.PrivateRegistry
|
||||
image := Image{
|
||||
RepoAddr: privateRegistry,
|
||||
Namespace: namespace,
|
||||
Repo: imageName,
|
||||
Tag: tag,
|
||||
RepoAddr: privateRegistry,
|
||||
Namespace: namespace,
|
||||
NamespaceOverride: kubeConf.Cluster.Registry.NamespaceOverride,
|
||||
Repo: imageName,
|
||||
Tag: tag,
|
||||
}
|
||||
|
||||
auths := templates.Auths(kubeConf)
|
||||
|
|
|
|||
Loading…
Reference in New Issue