change to new variables
This commit is contained in:
@@ -22,8 +22,8 @@ type Config struct {
|
||||
func New() *Config {
|
||||
return &Config{
|
||||
MSHosts: MSHostsConfig{
|
||||
UsersHost: getEnv("USERS_HOST", ""),
|
||||
StoreHost: getEnv("STORE_HOST", ""),
|
||||
UsersHost: getEnv("ASTRA-USERS", ""),
|
||||
StoreHost: getEnv("ASTRA-FILE-STORAGE", ""),
|
||||
},
|
||||
Server: ServerConfig{
|
||||
Port: getEnv("PORT", ""),
|
||||
|
||||
@@ -27,10 +27,6 @@ spec:
|
||||
value: Europe/Moscow
|
||||
- name: PORT
|
||||
value: {{ .Values.app.server.port | quote }}
|
||||
- name: USERS_HOST
|
||||
value: http://astra-users.default.svc.cluster.local:8080
|
||||
- name: STORE_HOST
|
||||
value: http://astra-file-storage.default.svc.cluster.local:8080
|
||||
{{- .Values.envs | toYaml | nindent 12 }}
|
||||
|
||||
image: {{ .Values.app.image }}:{{ .Chart.AppVersion }} #"docker-registry.dopcore.com/andrusyakka/urban-couscous:latest"
|
||||
|
||||
Reference in New Issue
Block a user