3
0
mirror of https://github.com/mastodon/chart synced 2025-05-17 20:43:21 +00:00

Remove reference to my wrapper templates

This commit is contained in:
Matthew Abbott 2025-02-01 23:39:01 -06:00
parent 8bc81d2572
commit 16a7aab10d
No known key found for this signature in database

View File

@ -2,9 +2,9 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: {{ include "oliphaunt.fullname" . }}-deploy-search name: {{ include "mastodon.fullname" . }}-deploy-search
labels: labels:
{{- include "oliphaunt.labels" . | nindent 4 }} {{- include "mastodon.labels" . | nindent 4 }}
annotations: annotations:
"helm.sh/hook": post-install,post-upgrade "helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
@ -13,7 +13,7 @@ spec:
suspend: false suspend: false
template: template:
metadata: metadata:
name: {{ include "oliphaunt.fullname" . }}-deploy-search name: {{ include "mastodon.fullname" . }}-deploy-search
{{- with .Values.jobAnnotations }} {{- with .Values.jobAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@ -38,13 +38,13 @@ spec:
volumes: volumes:
- name: assets - name: assets
persistentVolumeClaim: persistentVolumeClaim:
claimName: {{ template "oliphaunt.fullname" . }}-assets claimName: {{ template "mastodon.fullname" . }}-assets
- name: system - name: system
persistentVolumeClaim: persistentVolumeClaim:
claimName: {{ template "oliphaunt.fullname" . }}-system claimName: {{ template "mastodon.fullname" . }}-system
{{- end }} {{- end }}
containers: containers:
- name: {{ include "oliphaunt.fullname" . }}-deploy-search - name: {{ include "mastodon.fullname" . }}-deploy-search
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 }}
resources: resources:
@ -68,7 +68,7 @@ spec:
{{- end }} {{- end }}
envFrom: envFrom:
- configMapRef: - configMapRef:
name: {{ include "oliphaunt.fullname" . }}-mastodon-env name: {{ include "mastodon.fullname" . }}-env
- secretRef: - secretRef:
name: {{ template "mastodon.secretName" $ }} name: {{ template "mastodon.secretName" $ }}
env: env: