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:
parent
0e729406c3
commit
832d8183da
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user