From 16a7aab10dc5b9c5564e666d1a2f2153f292481e Mon Sep 17 00:00:00 2001 From: Matthew Abbott Date: Sat, 1 Feb 2025 23:39:01 -0600 Subject: [PATCH] Remove reference to my wrapper templates --- templates/job-deploy-search.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/job-deploy-search.yaml b/templates/job-deploy-search.yaml index 354fe09..3767010 100644 --- a/templates/job-deploy-search.yaml +++ b/templates/job-deploy-search.yaml @@ -2,9 +2,9 @@ apiVersion: batch/v1 kind: Job metadata: - name: {{ include "oliphaunt.fullname" . }}-deploy-search + name: {{ include "mastodon.fullname" . }}-deploy-search labels: - {{- include "oliphaunt.labels" . | nindent 4 }} + {{- include "mastodon.labels" . | nindent 4 }} annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded @@ -13,7 +13,7 @@ spec: suspend: false template: metadata: - name: {{ include "oliphaunt.fullname" . }}-deploy-search + name: {{ include "mastodon.fullname" . }}-deploy-search {{- with .Values.jobAnnotations }} annotations: {{- toYaml . | nindent 8 }} @@ -38,13 +38,13 @@ spec: volumes: - name: assets persistentVolumeClaim: - claimName: {{ template "oliphaunt.fullname" . }}-assets + claimName: {{ template "mastodon.fullname" . }}-assets - name: system persistentVolumeClaim: - claimName: {{ template "oliphaunt.fullname" . }}-system + claimName: {{ template "mastodon.fullname" . }}-system {{- end }} containers: - - name: {{ include "oliphaunt.fullname" . }}-deploy-search + - name: {{ include "mastodon.fullname" . }}-deploy-search image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} resources: @@ -61,14 +61,14 @@ spec: {{- end }} {{- if .Values.mastodon.deploySearch.resetChewy }} - '--reset-chewy' - {{- end }} - {{- with .Values.mastodon.deploySearch.batchSize }} - - '--batch-size' - - {{ . | quote }} + {{- end }} + {{- with .Values.mastodon.deploySearch.batchSize }} + - '--batch-size' + - {{ . | quote }} {{- end }} envFrom: - configMapRef: - name: {{ include "oliphaunt.fullname" . }}-mastodon-env + name: {{ include "mastodon.fullname" . }}-env - secretRef: name: {{ template "mastodon.secretName" $ }} env: