Update charts

This commit is contained in:
Björn Busse 2024-01-12 02:05:22 +01:00
parent 27727c664b
commit e02a9b1b03
8 changed files with 42 additions and 8 deletions

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.3.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to

View File

@ -7,7 +7,7 @@ metadata:
stringData:
DB_HOST: {{ .Values.db_host }}
DB_USER: {{ .Values.db_user}}
DB_USER: {{ .Values.db_user }}
DB_PASS: {{ .Values.db_pass }}
DB_NAME: {{ .Values.db_name }}
DB_LOCALE: {{ .Values.db_locale }}
URL_DATA: {{ .Values.url_data }}

View File

@ -82,8 +82,7 @@ tolerations: []
affinity: {}
# Database
db_host: fdc7:a61d:d247::42
db_host: pgsql-ha-postgresql-ha-pgpool
db_user: gtfso
db_name: gtfso
db_locale: de_DE.UTF-8
url_data: https://www.vbb.de/vbbgtfs

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.3.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to

View File

@ -40,11 +40,11 @@ spec:
livenessProbe:
httpGet:
path: /healthz
port: http
port: 5000
readinessProbe:
httpGet:
path: /healthy
port: http
port: 5000
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "gtfso-vbb.fullname" . }}
labels:
{{- include "gtfso-vbb.labels" . | nindent 4 }}
stringData:
DB_HOST: {{ .Values.db_host }}
DB_USER: {{ .Values.db_user }}
DB_PASS: {{ .Values.db_pass }}
DB_NAME: {{ .Values.db_name }}
DB_LOCALE: {{ .Values.db_locale }}
URL_DATA: {{ .Values.url_data }}

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
labels:
{{- include "gtfso-vbb.labels" . | fromYaml | toYaml | nindent 4 }}
name: {{ include "gtfso-vbb.fullname" . }}
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 5000
selector:
{{- include "gtfso-vbb.selectorLabels" . | fromYaml | toYaml | nindent 4 }}

View File

@ -77,3 +77,10 @@ nodeSelector: {}
tolerations: []
affinity: {}
# Database
db_host: pgsql-ha-postgresql-ha-pgpool
db_user: gtfso
db_name: gtfso
db_locale: de_DE.UTF-8
url_data: https://www.vbb.de/vbbgtfs