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 # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # incremented each time you make changes to the application. Versions are not expected to

View File

@ -8,6 +8,6 @@ metadata:
stringData: stringData:
DB_HOST: {{ .Values.db_host }} 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_NAME: {{ .Values.db_name }}
DB_LOCALE: {{ .Values.db_locale }} DB_LOCALE: {{ .Values.db_locale }}
URL_DATA: {{ .Values.url_data }}

View File

@ -82,8 +82,7 @@ tolerations: []
affinity: {} affinity: {}
# Database # Database
db_host: fdc7:a61d:d247::42 db_host: pgsql-ha-postgresql-ha-pgpool
db_user: gtfso db_user: gtfso
db_name: gtfso db_name: gtfso
db_locale: de_DE.UTF-8 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 # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # incremented each time you make changes to the application. Versions are not expected to

View File

@ -40,11 +40,11 @@ spec:
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
port: http port: 5000
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /healthy path: /healthy
port: http port: 5000
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- 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: [] tolerations: []
affinity: {} 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