peertube: bump to v5.0.1, helm chart v0.2.0

This commit is contained in:
ace
2023-03-02 21:32:30 +03:00
parent 23d4f4c2f7
commit 32ecc39ae0
7 changed files with 47 additions and 18 deletions

View File

@ -30,7 +30,10 @@ spec:
initContainers:
- name: check-db-ready
image: postgres:latest
command: ['sh', '-c', 'until pg_isready -h {{ .Values.configAsCode.config.database.hostname }} -p 5432; do echo waiting for database; sleep 5; done;']
command: ['sh', '-c', 'until pg_isready -h {{ .Values.configAsCode.config.database.hostname }} -p {{ .Values.configAsCode.config.database.port }} ; do echo waiting for database; sleep 5; done;']
- name: check-redis-ready
image: redis:latest
command: ['sh', '-c', 'until [ "$(redis-cli -h {{ .Values.configAsCode.config.redis.hostname }} -p {{ .Values.configAsCode.config.redis.port }} ping)" = "PONG" ] ; do echo waiting for redis; sleep 5; done;']
containers:
- name: {{ .Chart.Name }}
securityContext: