mirror of
https://github.com/mastodon/chart
synced 2025-05-18 04:53:21 +00:00
broken
This commit is contained in:
parent
423f380f07
commit
cf492363d6
|
@ -1,3 +1,6 @@
|
|||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
# Chart values used for testing the Helm chart.
|
||||
#
|
||||
image:
|
||||
|
@ -12,8 +15,8 @@ image:
|
|||
pullPolicy: IfNotPresent
|
||||
|
||||
mastodon:
|
||||
# -- create an initial administrator user; the password is autogenerated and will
|
||||
# have to be reset
|
||||
# -- create an initial administrator user; the password is autogenerated and
|
||||
# will have to be reset
|
||||
createAdmin:
|
||||
# @ignored
|
||||
enabled: false
|
||||
|
@ -21,7 +24,7 @@ mastodon:
|
|||
username: not_gargron
|
||||
# @ignored
|
||||
email: not@example.commit
|
||||
# existingSecret: mastodon-admin
|
||||
existingSecret: ""
|
||||
# secretKeys:
|
||||
# usernameKey: username
|
||||
# passwordKey: password
|
||||
|
@ -93,11 +96,6 @@ mastodon:
|
|||
# with keys SECRET_KEY_BASE and OTP_SECRET and
|
||||
# VAPID_PRIVATE_KEY and VAPID_PUBLIC_KEY
|
||||
# existingSecret: ""
|
||||
# secretKeys:
|
||||
# vapidPrivateKey: VAPID_PRIVATE_KEY
|
||||
# vapidPublicKey: VAPID_PUBLIC_KEY
|
||||
# secretKeyBase: SECRET_KEY_BASE
|
||||
# otpSecret: OTP_SECRET
|
||||
|
||||
sidekiq:
|
||||
# -- Pod security context for all Sidekiq Pods, overwrites .Values.podSecurityContext
|
||||
|
@ -167,7 +165,7 @@ mastodon:
|
|||
password:
|
||||
# -- Instead of defining login/password above, you can specify the name of an existing secret here. Login and
|
||||
# password must be located in keys named `login` and `password` respectively.
|
||||
existingSecret:
|
||||
existingSecret: ""
|
||||
streaming:
|
||||
port: 4000
|
||||
# -- this should be set manually since os.cpus() returns the number of CPUs on
|
||||
|
|
|
@ -58,7 +58,7 @@ Rolling pod annotations
|
|||
{{- if .Values.revisionPodAnnotation }}
|
||||
rollme: {{ .Release.Revision | quote }}
|
||||
{{- end }}
|
||||
checksum/config-secrets: {{ include ( print $.Template.BasePath "/secret-mastodon.yaml" ) . | sha256sum | quote }}
|
||||
checksum/config-secrets: {{ include ( print $.Template.BasePath "/secret.yaml" ) . | sha256sum | quote }}
|
||||
checksum/config-configmap: {{ include ( print $.Template.BasePath "/configmap-env.yaml" ) . | sha256sum | quote }}
|
||||
{{- end }}
|
||||
|
||||
|
@ -89,16 +89,9 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
|
|||
{{- printf "%s-%s" .Release.Name "postgresql" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Get the mastodon secret.
|
||||
*/}}
|
||||
{{- define "mastodon.secretName" -}}
|
||||
{{- if .Values.mastodon.secrets.existingSecret }}
|
||||
{{- printf "%s" (tpl .Values.mastodon.secrets.existingSecret $) -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s" (include "common.names.fullname" .) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- default "secret" .Values.mastodon.secrets.existingSecret }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Get the smtp secret.
|
||||
|
|
|
@ -52,33 +52,9 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "mastodon.fullname" . }}-env
|
||||
{{- if not .Values.mastodon.secrets.existingSecret }}
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.mastodon.secrets.existingSecret }}
|
||||
- name: "SECRET_KEY_BASE"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.secretKeyBase }}
|
||||
- name: "OTP_SECRET"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.optSecret }}
|
||||
- name: "VAPID_PRIVATE_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPrivateKey }}
|
||||
- name: "VAPID_PUBLIC_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPublicKey }}
|
||||
{{- end }}
|
||||
- name: "DB_PASS"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
|
@ -82,33 +82,9 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "mastodon.fullname" $context }}-env
|
||||
{{- if not .Values.mastodon.secrets.existingSecret }}
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.mastodon.secrets.existingSecret }}
|
||||
- name: "SECRET_KEY_BASE"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.secretKeyBase }}
|
||||
- name: "OTP_SECRET"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.optSecret }}
|
||||
- name: "VAPID_PRIVATE_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPrivateKey }}
|
||||
- name: "VAPID_PUBLIC_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPublicKey }}
|
||||
{{- end }}
|
||||
- name: "DB_PASS"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
|
@ -63,33 +63,9 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "mastodon.fullname" . }}-env
|
||||
{{- if not .Values.mastodon.secrets.existingSecret }}
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.mastodon.secrets.existingSecret }}
|
||||
- name: "SECRET_KEY_BASE"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.secretKeyBase }}
|
||||
- name: "OTP_SECRET"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.optSecret }}
|
||||
- name: "VAPID_PRIVATE_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPrivateKey }}
|
||||
- name: "VAPID_PUBLIC_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPublicKey }}
|
||||
{{- end }}
|
||||
- name: "DB_PASS"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
|
@ -53,33 +53,9 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "mastodon.fullname" . }}-env
|
||||
{{- if not .Values.mastodon.secrets.existingSecret }}
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.mastodon.secrets.existingSecret }}
|
||||
- name: "SECRET_KEY_BASE"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.secretKeyBase }}
|
||||
- name: "OTP_SECRET"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.optSecret }}
|
||||
- name: "VAPID_PRIVATE_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPrivateKey }}
|
||||
- name: "VAPID_PUBLIC_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPublicKey }}
|
||||
{{- end }}
|
||||
- name: "DB_PASS"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
|
@ -54,33 +54,9 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "mastodon.fullname" . }}-env
|
||||
{{- if not .Values.mastodon.secrets.existingSecret }}
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.mastodon.secrets.existingSecret }}
|
||||
- name: "SECRET_KEY_BASE"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.secretKeyBase }}
|
||||
- name: "OTP_SECRET"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.optSecret }}
|
||||
- name: "VAPID_PRIVATE_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPrivateKey }}
|
||||
- name: "VAPID_PUBLIC_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPublicKey }}
|
||||
{{- end }}
|
||||
- name: "DB_PASS"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
|
@ -53,33 +53,9 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "mastodon.fullname" . }}-env
|
||||
{{- if not .Values.mastodon.secrets.existingSecret }}
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.mastodon.secrets.existingSecret }}
|
||||
- name: "SECRET_KEY_BASE"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.secretKeyBase }}
|
||||
- name: "OTP_SECRET"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.optSecret }}
|
||||
- name: "VAPID_PRIVATE_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPrivateKey }}
|
||||
- name: "VAPID_PUBLIC_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPublicKey }}
|
||||
{{- end }}
|
||||
- name: "ADMIN_USER"
|
||||
{{- if .Values.mastodon.createAdmin.existingSecret }}
|
||||
valueFrom:
|
||||
|
|
|
@ -52,33 +52,9 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "mastodon.fullname" . }}-env
|
||||
{{- if not .Values.mastodon.secrets.existingSecret }}
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.mastodon.secrets.existingSecret }}
|
||||
- name: "SECRET_KEY_BASE"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.secretKeyBase }}
|
||||
- name: "OTP_SECRET"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.optSecret }}
|
||||
- name: "VAPID_PRIVATE_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPrivateKey }}
|
||||
- name: "VAPID_PUBLIC_KEY"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.mastodon.secrets.existingSecret }}
|
||||
key: {{ .Values.mastodon.secrets.secretKeys.vapidPublicKey }}
|
||||
{{- end }}
|
||||
- name: "DB_PASS"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
image:
|
||||
repository: ghcr.io/mastodon/mastodon
|
||||
# https://github.com/mastodon/mastodon/pkgs/container/mastodon
|
||||
|
@ -19,11 +22,11 @@ mastodon:
|
|||
username: not_gargron
|
||||
# @ignored
|
||||
email: not@example.commit
|
||||
# existingSecret: mastodon-admin
|
||||
# secretKeys:
|
||||
# usernameKey: username
|
||||
# passwordKey: password
|
||||
# emailKey: email
|
||||
existingSecret: ""
|
||||
secretKeys:
|
||||
usernameKey: username
|
||||
passwordKey: password
|
||||
emailKey: email
|
||||
cron:
|
||||
# -- run `tootctl media remove` every week
|
||||
removeMedia:
|
||||
|
@ -88,12 +91,12 @@ mastodon:
|
|||
private_key: ""
|
||||
public_key: ""
|
||||
# -- you can also specify the name of an existing Secret
|
||||
# keys must be:
|
||||
# VAPID_PRIVATE_KEY
|
||||
# VAPID_PUBLIC_KEY
|
||||
# SECRET_KEY_BASE
|
||||
# OTP_SECRET
|
||||
existingSecret: ""
|
||||
secretKeys:
|
||||
vapidPrivateKey: VAPID_PRIVATE_KEY
|
||||
vapidPublicKey: VAPID_PUBLIC_KEY
|
||||
secretKeyBase: SECRET_KEY_BASE
|
||||
otpSecret: OTP_SECRET
|
||||
|
||||
sidekiq:
|
||||
# -- Pod security context for all Sidekiq Pods, overwrites .Values.podSecurityContext
|
||||
|
@ -163,7 +166,7 @@ mastodon:
|
|||
password:
|
||||
# -- Instead of defining login/password above, you can specify the name of an existing secret here. Login and
|
||||
# password must be located in keys named `login` and `password` respectively.
|
||||
existingSecret:
|
||||
existingSecret: ""
|
||||
streaming:
|
||||
port: 4000
|
||||
# -- this should be set manually since os.cpus() returns the number of CPUs on
|
||||
|
@ -296,7 +299,7 @@ redis:
|
|||
password: ""
|
||||
# you can also specify the name of an existing Secret
|
||||
# with a key of redis-password set to the password you want
|
||||
# existingSecret: ""
|
||||
existingSecret: ""
|
||||
|
||||
# @ignored
|
||||
service:
|
||||
|
|
Loading…
Reference in New Issue
Block a user