refactor(charts): BREAKING CHANGE (#2836)
* Update Apps with new Common version * Patch with the secret fixes from common * fix amd
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{/* Define the cronjob */}}
|
||||
{{- define "linkace.cronjob" -}}
|
||||
{{- if .Values.secret.CRON_TOKEN }}
|
||||
{{- $jobName := include "common.names.fullname" . }}
|
||||
{{- $jobName := include "tc.common.names.fullname" . }}
|
||||
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
@@ -9,7 +9,7 @@ kind: CronJob
|
||||
metadata:
|
||||
name: {{ printf "%s-cronjob" $jobName }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- include "tc.common.labels" . | nindent 4 }}
|
||||
spec:
|
||||
schedule: "{{ .Values.cronjob.schedule }}"
|
||||
concurrencyPolicy: Forbid
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{ include "common.setup" . }}
|
||||
{{ include "tc.common.loader.init" . }}
|
||||
|
||||
{{ include "linkace.cronjob" . }}
|
||||
|
||||
{{ include "linkace.secrets" . }}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.postSetup" . }}
|
||||
{{ include "tc.common.loader.apply" . }}
|
||||
|
||||
Reference in New Issue
Block a user