-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add env tpl #43
base: main
Are you sure you want to change the base?
add env tpl #43
Conversation
eigentlich gehört das auch in der config map gefixt, aber ich weiß nicht wie das geht. |
Shouldn't the variable in variable resolution be done by Spring and isn't needed here? |
refarch-gateway:
a: "b"
env:
- name: SPRING_PROFILES_ACTIVE
value: no-security
- name: SSO_ISSUER_URL
value: https://sso.muenchen.de/auth/realms/muenchen.de
- name: SPRING_CLOUD_GATEWAY_ROUTES_0_ID
value: backend
- name: SPRING_CLOUD_GATEWAY_ROUTES_0_URI
value: "http://{{ .Values.a }}-backend:8080/" so irgendwie. |
Das mit dem ist auch nicht so gut. Falls dann die Leute etwas überschreiben wollen, muss man alles erneut angeben. So kann man keine Standardvariablen wie Zeitzone setzen env:
- name: abc
value: def Besser : env:
Abc: def |
I think the additional complexity by allowing usage of helm var and also env vars via Spring is not worth the benefits. |
Ich möchte wenn ich ein Chart installiere, dass möglichst alles out of the box funktioniert. Wenn ich jetzt den Namen Beispielsweise ändere, will ich jetzt nicht an 5 Stellen alles ändern. hier muss jetzt z. B. Jeder |
But you don't know which services a application has and therefore can't provide default config for routes. |
Ich rede hier nicht von Routen. Es geht nur um die Config von ApiGateway zum Backend. Wie kann die z. B. Standardmäßig die Zeitzone und die Java-HeapSize angegeben werden? |
I.e. by putting it in the |
DigiWf hat folgendes env:
# auth
- name: AUTH_OAUTH2_CLIENT_KEYCLOAK_CLIENTID
valueFrom:
secretKeyRef:
name: digitalwf-sso-secret
key: username |
😥 Es hat jetzt alles nicht funktioniert. Ich bekomme Values in Subcharts und in Parent-Charts. Ich bekomme aber die Values nicht vom Subchart wieder in ein anderes Subchart.
Theoretisch könnte man eine Configmap im Parentchart definieren und im Apigateway einhängen |
Description
Variable in Varialbe