mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
del unconfig harbor http and https port ,use default port
This commit is contained in:
parent
b468febff7
commit
12b45319ec
|
|
@ -35,8 +35,6 @@ import (
|
|||
|
||||
const (
|
||||
RegistryCertificateBaseName = "dockerhub.kubekey.local"
|
||||
HttpPort = "8081"
|
||||
HttpsPort = "443"
|
||||
LocalCertsDir = "localCertsDir"
|
||||
CertsFileList = "certsFileList"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -226,8 +226,6 @@ func (g *GenerateHarborConfig) Execute(runtime connector.Runtime) error {
|
|||
Dst: "/opt/harbor/harbor.yml",
|
||||
Data: util.Data{
|
||||
"Domain": host.GetName(),
|
||||
"HttpPort": HttpPort,
|
||||
"HttpsPort": HttpsPort,
|
||||
"Certificate": fmt.Sprintf("%s.pem", RegistryCertificateBaseName),
|
||||
"Key": fmt.Sprintf("%s-key.pem", RegistryCertificateBaseName),
|
||||
"Password": templates.Password(g.KubeConf, RegistryCertificateBaseName),
|
||||
|
|
|
|||
Loading…
Reference in New Issue