diff --git a/helm_deploy/use-of-force/templates/_helpers.tpl b/helm_deploy/use-of-force/templates/_helpers.tpl deleted file mode 100644 index 22d8a6d2..00000000 --- a/helm_deploy/use-of-force/templates/_helpers.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{/* Short name for root chart */}} -{{- define "uof.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* Labels set on all resources: none are used as selectors */}} -{{- define "uof.labels" -}} -helm.sh/chart: {{ include "uof.chart" . }} -{{- $appVersion := index .Values "generic-service" "image" "tag" }} -{{- if $appVersion }} -app.kubernetes.io/version: {{ $appVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -app.kubernetes.io/part-of: {{ include "generic-service.name" . }} -{{- end }} \ No newline at end of file diff --git a/helm_deploy/use-of-force/templates/job.yaml b/helm_deploy/use-of-force/templates/job.yaml index fa3f3021..8e3c5de3 100644 --- a/helm_deploy/use-of-force/templates/job.yaml +++ b/helm_deploy/use-of-force/templates/job.yaml @@ -2,8 +2,6 @@ apiVersion: batch/v1 kind: CronJob metadata: name: send-reminders - labels: - {{- include "uof.labels" . | nindent 4 }} spec: schedule: "*/5 * * * *" concurrencyPolicy: Replace