postgres-operator: bump to v1.9.0, helm chart v1.9.0

postgres-operator-ui: bump to v1.9.0, helm chart v1.9.0

astodon: bump to v4.1.2, helm chart v4.0.0
This commit is contained in:
ace
2023-04-08 22:26:41 +03:00
parent b0a01a4956
commit 8867ab5980
43 changed files with 1872 additions and 746 deletions

View File

@ -1,8 +1,8 @@
{{- if .Values.mastodon.createAdmin.enabled }}
{{- if .Values.mastodon.createAdmin.enabled -}}
apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "mastodon.fullname" . }}-create-admin
name: {{ include "mastodon.fullname" . }}-set-admin-password
labels:
{{- include "mastodon.labels" . | nindent 4 }}
annotations:
@ -13,6 +13,10 @@ spec:
template:
metadata:
name: {{ include "mastodon.fullname" . }}-create-admin
{{- with .Values.jobAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
restartPolicy: Never
{{- if (not .Values.mastodon.s3.enabled) }}
@ -24,7 +28,7 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: component
- key: app.kubernetes.io/part-of
operator: In
values:
- rails
@ -50,21 +54,21 @@ spec:
- configMapRef:
name: {{ include "mastodon.fullname" . }}-env
- secretRef:
name: {{ template "mastodon.fullname" . }}
name: {{ template "mastodon.secretName" . }}
env:
- name: "DB_PASS"
valueFrom:
secretKeyRef:
{{- if .Values.postgresql.enabled }}
name: {{ .Release.Name }}-postgresql
name: {{ template "mastodon.postgresql.secretName" . }}
{{- else }}
name: {{ template "mastodon.fullname" . }}
{{- end }}
key: postgresql-password
key: password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-redis
name: {{ template "mastodon.redis.secretName" . }}
key: redis-password
- name: "PORT"
value: {{ .Values.mastodon.web.port | quote }}