argo-cd: fix statusbadge option to chart

This commit is contained in:
AntoineDao 2019-11-12 14:16:15 +10:00
parent 5d42be2215
commit c69027c535
4 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.2.5" appVersion: "1.2.5"
description: A Helm chart for Argo-CD description: A Helm chart for Argo-CD
name: argo-cd name: argo-cd
version: 1.0.6 version: 1.0.7
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
keywords: keywords:

View file

@ -52,7 +52,7 @@ $ helm install --name my-release argo/argo-cd
| config.webhook.bitbucketSecret | string | `nil` | BitBucket incoming webhook secret | | config.webhook.bitbucketSecret | string | `nil` | BitBucket incoming webhook secret |
| config.webhook.githubSecret | string | `nil` | GitHub incoming webhook secret | | config.webhook.githubSecret | string | `nil` | GitHub incoming webhook secret |
| config.webhook.gitlabSecret | string | `nil` | GitLab incoming webhook secret | | config.webhook.gitlabSecret | string | `nil` | GitLab incoming webhook secret |
| config.statusbadge.enabled | bool | `nil` | Toggle to enable status badges in argocd-cm | | config.statusbadge.enabled | bool | `false` | Toggle to enable status badges in argocd-cm |
| dexServer.containerPortGrpc | int | `5557` | Container port for Dex Server GRPC | | dexServer.containerPortGrpc | int | `5557` | Container port for Dex Server GRPC |
| dexServer.containerPortHttp | int | `5556` | Container port for Dex Server HTTP | | dexServer.containerPortHttp | int | `5556` | Container port for Dex Server HTTP |
| dexServer.image.pullPolicy | string | `"Always"` | Docker image pull policy | | dexServer.image.pullPolicy | string | `"Always"` | Docker image pull policy |

View file

@ -45,7 +45,5 @@ data:
{{- if .Values.config.configManagementPlugins }} {{- if .Values.config.configManagementPlugins }}
configManagementPlugins: | configManagementPlugins: |
{{ toYaml .Values.config.configManagementPlugins | indent 4 }} {{ toYaml .Values.config.configManagementPlugins | indent 4 }}
{{ -if .Values.config.statusbadge.enabled }} statusbadge.enabled: "{{ .Values.config.statusbadge.enabled }}"
statusbadge.enabled: "true"
{{ - end }}
{{- end }} {{- end }}

View file

@ -319,6 +319,8 @@ server:
url: https://argocd.example.com url: https://argocd.example.com
# Argo CD instance label key # Argo CD instance label key
application.instanceLabelKey: argocd.argoproj.io/instance application.instanceLabelKey: argocd.argoproj.io/instance
# Argo CD status badge feature flag
statusbadge.enabled: false
## ArgoCD rbac config ## ArgoCD rbac config
## reference https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md ## reference https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md