fix(argo-cd): Replace server.staticAssets.enabled with automation
Signed-off-by: Lucas Bickel <lucas.bickel@adfinis.com>
This commit is contained in:
parent
f20e070de1
commit
249262a79f
3 changed files with 3 additions and 7 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: 2.0.5
|
appVersion: 2.0.5
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 3.11.1
|
version: 3.11.2
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-cd/assets/logo.png
|
icon: https://argoproj.github.io/argo-cd/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,4 +21,4 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Changed]: Set server.staticAssets.enabled=true since Argo CD 2.0.5 still needs it"
|
- "[Changed]: Replace server.staticAssets.enabled with semverCompare based check"
|
||||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.server.image.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.server.image.imagePullPolicy }}
|
||||||
command:
|
command:
|
||||||
- argocd-server
|
- argocd-server
|
||||||
{{ if .Values.server.staticAssets.enabled }}
|
{{- if semverCompare "< 2.1.0-0" (default .Values.global.image.tag .Values.server.image.tag) }}
|
||||||
- --staticassets
|
- --staticassets
|
||||||
- /shared/app
|
- /shared/app
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -431,10 +431,6 @@ server:
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
# - --insecure
|
# - --insecure
|
||||||
|
|
||||||
# This flag is used to either remove or pass the CLI flag --staticassets /shared/app to the argocd-server app
|
|
||||||
staticAssets:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
## Environment variables to pass to argocd-server
|
## Environment variables to pass to argocd-server
|
||||||
##
|
##
|
||||||
env: []
|
env: []
|
||||||
|
|
Loading…
Reference in a new issue