Update the variable for domain name, skip rmdir for the moment

This commit is contained in:
Nico Schottelius 2021-06-27 20:17:44 +02:00
parent 423cf93f1b
commit 9d5cc76567
2 changed files with 13 additions and 11 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.5 version: 0.1.8
# 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

@ -24,15 +24,17 @@ spec:
volumeMounts: volumeMounts:
- name: etcletsencrypt - name: etcletsencrypt
mountPath: "/etc/letsencrypt" mountPath: "/etc/letsencrypt"
- name: remove-lost-found # This does not work: the running postgres will block this
image: busybox # init container to work (mount) the volume again
command: # - name: remove-lost-found
- sh # image: busybox
- -c # command:
- test -d /data/lost+found && rmdir /data/lost+found # - sh
volumeMounts: # - -c
- name: postgres-data # - test -d /data/lost+found && rmdir /data/lost+found || exit 0
mountPath: "/data" # volumeMounts:
# - name: postgres-data
# mountPath: "/data"
containers: containers:
# This container will only start *after* the cert has been placed # This container will only start *after* the cert has been placed
- name: nginx - name: nginx
@ -64,7 +66,7 @@ spec:
value: "1000" value: "1000"
- name: USER_GID - name: USER_GID
value: "1000" value: "1000"
- name: GITEA__DOMAIN - name: GITEA__server__DOMAIN
value: "{{ tpl .Values.fqdn . }}" value: "{{ tpl .Values.fqdn . }}"
- name: GITEA__database__DB_TYPE - name: GITEA__database__DB_TYPE
value: "postgres" value: "postgres"