change to new variables

This commit is contained in:
kandrusyak
2023-07-04 02:56:44 +03:00
parent 77c4a57fb7
commit ac08cceda0
2 changed files with 2 additions and 6 deletions

View File

@@ -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", ""),

View File

@@ -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"