File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343{{- end}}
4444 env :
4545 # NOTE(bacongobbler): use drycc/registry_proxy to work around Docker --insecure-registry requirements
46- - name : " DRYCC_REGISTRY_SERVICE_HOST "
46+ - name : " DRYCC_REGISTRY_PROXY_HOST "
4747 value : " 127.0.0.1"
48- - name : " DRYCC_REGISTRY_SERVICE_PORT "
48+ - name : " DRYCC_REGISTRY_PROXY_PORT "
4949 value : " {{ .Values.global.registry_service_port }}"
5050 - name : " HEALTH_SERVER_PORT"
5151 value : " 8092"
5656 - name : " DRYCC_REGISTRY_LOCATION"
5757 value : " {{ .Values.global.registry_location }}"
5858 - name : " DRYCC_REGISTRY_SECRET_PREFIX"
59- value : " {{ .Values.global.secret_prefix }}"
59+ value : " {{ .Values.global.registry_secret_prefix }}"
6060 # Set GIT_LOCK_TIMEOUT to number of minutes you want to wait to git push again to the same repository
6161 - name : " GIT_LOCK_TIMEOUT"
6262 value : " 10"
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ type Config struct {
1616 // k8s service discovery env vars
1717 ControllerHost string `envconfig:"DRYCC_CONTROLLER_SERVICE_HOST" required:"true"`
1818 ControllerPort string `envconfig:"DRYCC_CONTROLLER_SERVICE_PORT" required:"true"`
19- RegistryHost string `envconfig:"DRYCC_REGISTRY_SERVICE_HOST " required:"true"`
20- RegistryPort string `envconfig:"DRYCC_REGISTRY_SERVICE_PORT " required:"true"`
19+ RegistryHost string `envconfig:"DRYCC_REGISTRY_PROXY_HOST " required:"true"`
20+ RegistryPort string `envconfig:"DRYCC_REGISTRY_PROXY_PORT " required:"true"`
2121 RegistryLocation string `envconfig:"DRYCC_REGISTRY_LOCATION" default:"on-cluster"`
2222 RegistrySecretPrefix string `envconfig:"DRYCC_REGISTRY_SECRET_PREFIX" default:"private-registry"`
2323
Original file line number Diff line number Diff line change @@ -87,10 +87,10 @@ func dockerBuilderPod(
8787 addEnvToPod (pod , sourceVersion , gitShortHash )
8888 addEnvToPod (pod , "IMG_NAME" , imageName )
8989 addEnvToPod (pod , builderStorage , storageType )
90- // inject existing DRYCC_REGISTRY_SERVICE_HOST and PORT info to dockerbuilder
90+ // inject existing DRYCC_REGISTRY_PROXY_HOST and PORT info to dockerbuilder
9191 // see https://github.com/drycc/dockerbuilder/issues/83
92- addEnvToPod (pod , "DRYCC_REGISTRY_SERVICE_HOST " , registryHost )
93- addEnvToPod (pod , "DRYCC_REGISTRY_SERVICE_PORT " , registryPort )
92+ addEnvToPod (pod , "DRYCC_REGISTRY_PROXY_HOST " , registryHost )
93+ addEnvToPod (pod , "DRYCC_REGISTRY_PROXY_PORT " , registryPort )
9494
9595 for key , value := range registryEnv {
9696 addEnvToPod (pod , key , value )
You can’t perform that action at this time.
0 commit comments