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 { func New() *Config {
return &Config{ return &Config{
MSHosts: MSHostsConfig{ MSHosts: MSHostsConfig{
UsersHost: getEnv("USERS_HOST", ""), UsersHost: getEnv("ASTRA-USERS", ""),
StoreHost: getEnv("STORE_HOST", ""), StoreHost: getEnv("ASTRA-FILE-STORAGE", ""),
}, },
Server: ServerConfig{ Server: ServerConfig{
Port: getEnv("PORT", ""), Port: getEnv("PORT", ""),

View File

@@ -27,10 +27,6 @@ spec:
value: Europe/Moscow value: Europe/Moscow
- name: PORT - name: PORT
value: {{ .Values.app.server.port | quote }} 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 }} {{- .Values.envs | toYaml | nindent 12 }}
image: {{ .Values.app.image }}:{{ .Chart.AppVersion }} #"docker-registry.dopcore.com/andrusyakka/urban-couscous:latest" image: {{ .Values.app.image }}:{{ .Chart.AppVersion }} #"docker-registry.dopcore.com/andrusyakka/urban-couscous:latest"