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 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 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 type: application
version: 0.2.0 version: 0.2.1
appVersion: v0.10.1 appVersion: v0.10.1
home: https://github.com/argoproj-labs/argocd-image-updater home: https://github.com/argoproj-labs/argocd-image-updater
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
@ -15,4 +15,5 @@ maintainers:
url: https://argoproj.github.io/ url: https://argoproj.github.io/
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Fixed]: extraArgs not recognized"
- "[Added]: Ability to provide custom environment variables" - "[Added]: Ability to provide custom environment variables"

View file

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