feat(routing): Add routing chart and deployment

This commit is contained in:
2024-09-02 16:16:50 +02:00
parent 018f110624
commit bda63b4063
17 changed files with 771 additions and 8 deletions
+50
View File
@@ -0,0 +1,50 @@
image:
repository: hbt/routing
ingress:
annotations:
cert-manager.io/cluster-issuer: lets-encrypt
tls:
- secretName: chart-example-tls
hosts:
- chart-example.local
application:
port: 8080
actuatorPort: 8081
keycloak:
url: https://id.2martens.de
realm: 2martens
configserver:
scheme: http
host: configserver
port: 8888
prefix: /config
service:
port: 8080
actuatorPort: 8081
secrets:
# Needs to be overwritten. Will be ignored if vault is enabled.
MONGODB_CONNECTION_STRING: ""
# Needs to be overwritten. Will be ignored if vault is enabled.
CLIENT_SECRET: ""
environment:
- name: PORT
value: "{{ .Values.application.port }}"
- name: ACTUATOR_PORT
value: "{{ .Values.application.actuatorPort }}"
- name: KEYCLOAK_URL
value: "{{ .Values.application.keycloak.url }}"
- name: KEYCLOAK_REALM
value: "{{ .Values.application.keycloak.realm }}"
- name: CONFIGSERVER_SCHEME
value: "{{ .Values.application.configserver.scheme }}"
- name: CONFIGSERVER_HOST
value: "{{ .Values.application.configserver.host }}"
- name: CONFIGSERVER_PORT
value: "{{ .Values.application.configserver.port }}"
- name: CONFIGSERVER_PREFIX
value: "{{ .Values.application.configserver.prefix }}"