From 0c266117c110907cfec7e2899a69a747e06cbca7 Mon Sep 17 00:00:00 2001 From: Negash Date: Sun, 7 Jan 2024 14:22:55 +0000 Subject: [PATCH] swich to alpine --- chart/templates/cleanup-cron.yaml | 16 +++++++++++++++- chart/values.yaml | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/chart/templates/cleanup-cron.yaml b/chart/templates/cleanup-cron.yaml index 2b21a86..c54dd0b 100644 --- a/chart/templates/cleanup-cron.yaml +++ b/chart/templates/cleanup-cron.yaml @@ -7,9 +7,23 @@ spec: workflowSpec: templates: - name: cleanup-backups + inputs: + artifacts: + - name: kubectl + path: /bin/kubectl + mode: 755 + http: + url: >- + https://storage.googleapis.com/kubernetes-release/release/{{ .Values.kubectl }}/bin/linux/amd64/kubectl + - name: jq + path: /bin/jq + mode: 755 + http: + url: >- + https://github.com/jqlang/jq/releases/download/jq-{{ .Values.jq }}/jq-linux-amd64 container: name: cleanup-backups - image: rancher/kubectl:{{ .Values.kubectl }} + image: alpine command: - sh args: diff --git a/chart/values.yaml b/chart/values.yaml index ad0d2f6..139be25 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,6 +1,7 @@ # SA from argo (add some rbac) serviceAccountName: argo-workflow kubectl: v1.27.9 +jq: 1.7.1 # create argo event bus with default name in NS for aldaas EventBus: enabled: true