3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 13:03:21 +00:00

Apply suggestions from code review - fix goofy s//g for earlier

This commit is contained in:
JesseBot 2023-07-14 15:52:32 +02:00 committed by GitHub
parent 0e729406c3
commit 832d8183da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: {{ include "mastodon.pvc.assets" . }}-precompile name: {{ include "mastodon.fullname" . }}-assets-precompile
labels: labels:
{{- include "mastodon.labels" . | nindent 4 }} {{- include "mastodon.labels" . | nindent 4 }}
annotations: annotations:
@ -11,7 +11,7 @@ metadata:
spec: spec:
template: template:
metadata: metadata:
name: {{ include "mastodon.pvc.assets" . }}-precompile name: {{ include "mastodon.fullname" . }}-assets-precompile
{{- with .Values.jobAnnotations }} {{- with .Values.jobAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@ -42,7 +42,7 @@ spec:
claimName: {{ template "mastodon.pvc.system" . }} claimName: {{ template "mastodon.pvc.system" . }}
{{- end }} {{- end }}
containers: containers:
- name: {{ include "mastodon.pvc.assets" . }}-precompile - name: {{ include "mastodon.fullname" . }}-assets-precompile
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
command: command: