fix: move extraArgs to container args

Signed-off-by: Tuan Anh Tran <me@tuananh.org>
This commit is contained in:
Tuan Anh Tran 2021-09-20 15:43:30 +07:00
parent 6452b6a2e9
commit e9c4564388
2 changed files with 4 additions and 3 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-image-updater
description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD
type: application
version: 0.2.0
version: 0.2.1
appVersion: v0.10.1
home: https://github.com/argoproj-labs/argocd-image-updater
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
@ -15,4 +15,5 @@ maintainers:
url: https://argoproj.github.io/
annotations:
artifacthub.io/changes: |
- "[Fixed]: extraArgs not recognized"
- "[Added]: Ability to provide custom environment variables"

View file

@ -28,8 +28,8 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
command:
- /usr/local/bin/argocd-image-updater
command: ["/usr/local/bin/argocd-image-updater"]
args:
- run
{{- with .Values.extraArgs }}
{{- toYaml . | nindent 12 }}