3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 04:53: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
kind: Job
metadata:
name: {{ include "mastodon.pvc.assets" . }}-precompile
name: {{ include "mastodon.fullname" . }}-assets-precompile
labels:
{{- include "mastodon.labels" . | nindent 4 }}
annotations:
@ -11,7 +11,7 @@ metadata:
spec:
template:
metadata:
name: {{ include "mastodon.pvc.assets" . }}-precompile
name: {{ include "mastodon.fullname" . }}-assets-precompile
{{- with .Values.jobAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
@ -42,7 +42,7 @@ spec:
claimName: {{ template "mastodon.pvc.system" . }}
{{- end }}
containers:
- name: {{ include "mastodon.pvc.assets" . }}-precompile
- name: {{ include "mastodon.fullname" . }}-assets-precompile
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: