feat: update ArgoCD version to v2.1.0
Signed-off-by: Emanuel Oliveira <emanuelolive@grupoboticario.com.br> Signed-off-by: Emanuel Oliveira <emanuelolive@grupoboticario.com.br>
This commit is contained in:
parent
fa7ba522e0
commit
2ddd3a3fcb
9 changed files with 154 additions and 39 deletions
|
@ -1,8 +1,8 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 2.0.5
|
appVersion: 2.1.0
|
||||||
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.12.1
|
version: 3.13.0
|
||||||
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,5 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Fixed]: redis-ha.nameOverride / redis-ha.fullnameOverride breaks the ArgoCD helm chart"
|
- "[Update]: Update to ArgoCD v2.1.0"
|
||||||
|
- "[Feature]: Enable use of separated secred for repositories"
|
||||||
|
|
|
@ -267,6 +267,12 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
description: CommonLabels is a list of additional labels to add to rendered manifests
|
description: CommonLabels is a list of additional labels to add to rendered manifests
|
||||||
type: object
|
type: object
|
||||||
|
forceCommonAnnotations:
|
||||||
|
description: ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
|
forceCommonLabels:
|
||||||
|
description: ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
images:
|
images:
|
||||||
description: Images is a list of Kustomize image override specifications
|
description: Images is a list of Kustomize image override specifications
|
||||||
items:
|
items:
|
||||||
|
@ -365,6 +371,10 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
group:
|
group:
|
||||||
type: string
|
type: string
|
||||||
|
jqPathExpressions:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
jsonPointers:
|
jsonPointers:
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
@ -376,7 +386,6 @@ spec:
|
||||||
namespace:
|
namespace:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- jsonPointers
|
|
||||||
- kind
|
- kind
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
@ -543,6 +552,12 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
description: CommonLabels is a list of additional labels to add to rendered manifests
|
description: CommonLabels is a list of additional labels to add to rendered manifests
|
||||||
type: object
|
type: object
|
||||||
|
forceCommonAnnotations:
|
||||||
|
description: ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
|
forceCommonLabels:
|
||||||
|
description: ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
images:
|
images:
|
||||||
description: Images is a list of Kustomize image override specifications
|
description: Images is a list of Kustomize image override specifications
|
||||||
items:
|
items:
|
||||||
|
@ -838,6 +853,12 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
description: CommonLabels is a list of additional labels to add to rendered manifests
|
description: CommonLabels is a list of additional labels to add to rendered manifests
|
||||||
type: object
|
type: object
|
||||||
|
forceCommonAnnotations:
|
||||||
|
description: ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
|
forceCommonLabels:
|
||||||
|
description: ForceCommonLabels specifies whether toforce applying common labels to resources for Kustomizeapps
|
||||||
|
type: boolean
|
||||||
images:
|
images:
|
||||||
description: Images is a list of Kustomize image override specifications
|
description: Images is a list of Kustomize image override specifications
|
||||||
items:
|
items:
|
||||||
|
@ -1134,6 +1155,12 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
description: CommonLabels is a list of additional labels to add to rendered manifests
|
description: CommonLabels is a list of additional labels to add to rendered manifests
|
||||||
type: object
|
type: object
|
||||||
|
forceCommonAnnotations:
|
||||||
|
description: ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
|
forceCommonLabels:
|
||||||
|
description: ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
images:
|
images:
|
||||||
description: Images is a list of Kustomize image override specifications
|
description: Images is a list of Kustomize image override specifications
|
||||||
items:
|
items:
|
||||||
|
@ -1412,6 +1439,12 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
description: CommonLabels is a list of additional labels to add to rendered manifests
|
description: CommonLabels is a list of additional labels to add to rendered manifests
|
||||||
type: object
|
type: object
|
||||||
|
forceCommonAnnotations:
|
||||||
|
description: ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
|
forceCommonLabels:
|
||||||
|
description: ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
images:
|
images:
|
||||||
description: Images is a list of Kustomize image override specifications
|
description: Images is a list of Kustomize image override specifications
|
||||||
items:
|
items:
|
||||||
|
@ -1687,6 +1720,12 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
description: CommonLabels is a list of additional labels to add to rendered manifests
|
description: CommonLabels is a list of additional labels to add to rendered manifests
|
||||||
type: object
|
type: object
|
||||||
|
forceCommonAnnotations:
|
||||||
|
description: ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
|
forceCommonLabels:
|
||||||
|
description: ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps
|
||||||
|
type: boolean
|
||||||
images:
|
images:
|
||||||
description: Images is a list of Kustomize image override specifications
|
description: Images is a list of Kustomize image override specifications
|
||||||
items:
|
items:
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{- if .Values.configs.repositoryCredentials }}
|
||||||
|
WARNING: You are using configs.repositoryCredentials parameter that's DEPRECATED
|
||||||
|
Instead, use configs.repositoryTemplates and/or configs.repositories parameters
|
||||||
|
|
||||||
|
{{- end}}
|
||||||
In order to access the server UI you have the following options:
|
In order to access the server UI you have the following options:
|
||||||
|
|
||||||
1. kubectl port-forward service/{{include "argo-cd.fullname" . }}-server -n {{ .Release.Namespace }} 8080:443
|
1. kubectl port-forward service/{{include "argo-cd.fullname" . }}-server -n {{ .Release.Namespace }} 8080:443
|
||||||
|
|
|
@ -50,6 +50,8 @@ spec:
|
||||||
- {{ .Values.controller.args.selfHealTimeout | quote }}
|
- {{ .Values.controller.args.selfHealTimeout | quote }}
|
||||||
- --repo-server
|
- --repo-server
|
||||||
- {{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
|
- {{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
|
||||||
|
- --repo-server-timeout-seconds
|
||||||
|
- {{ .Values.controller.args.repoServerTimeoutSeconds | quote }}
|
||||||
- --logformat
|
- --logformat
|
||||||
- {{ .Values.controller.logFormat }}
|
- {{ .Values.controller.logFormat }}
|
||||||
- --loglevel
|
- --loglevel
|
||||||
|
@ -95,7 +97,10 @@ spec:
|
||||||
timeoutSeconds: {{ .Values.controller.readinessProbe.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.controller.readinessProbe.timeoutSeconds }}
|
||||||
successThreshold: {{ .Values.controller.readinessProbe.successThreshold }}
|
successThreshold: {{ .Values.controller.readinessProbe.successThreshold }}
|
||||||
failureThreshold: {{ .Values.controller.readinessProbe.failureThreshold }}
|
failureThreshold: {{ .Values.controller.readinessProbe.failureThreshold }}
|
||||||
|
workingDir: /home/argocd
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: argocd-home
|
||||||
|
mountPath: /home/argocd
|
||||||
- mountPath: /app/config/controller/tls
|
- mountPath: /app/config/controller/tls
|
||||||
name: argocd-repo-server-tls
|
name: argocd-repo-server-tls
|
||||||
{{- with .Values.controller.volumeMounts }}
|
{{- with .Values.controller.volumeMounts }}
|
||||||
|
@ -121,6 +126,8 @@ spec:
|
||||||
{{ toYaml . | indent 6 }}
|
{{ toYaml . | indent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
|
- emptyDir: {}
|
||||||
|
name: argocd-home
|
||||||
- name: argocd-repo-server-tls
|
- name: argocd-repo-server-tls
|
||||||
secret:
|
secret:
|
||||||
items:
|
items:
|
||||||
|
|
|
@ -41,7 +41,7 @@ spec:
|
||||||
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default .Values.global.image.tag .Values.repoServer.image.tag }}
|
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default .Values.global.image.tag .Values.repoServer.image.tag }}
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
|
||||||
command:
|
command:
|
||||||
- uid_entrypoint.sh
|
- entrypoint.sh
|
||||||
- argocd-repo-server
|
- argocd-repo-server
|
||||||
{{- if or (and .Values.redis.enabled (not $redisHa.enabled)) (and $redisHa.enabled $redisHa.haproxy.enabled) }}
|
{{- if or (and .Values.redis.enabled (not $redisHa.enabled)) (and $redisHa.enabled $redisHa.haproxy.enabled) }}
|
||||||
- --redis
|
- --redis
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{{- if .Values.configs.repositoryCredentials }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: argocd-repository-credentials
|
||||||
|
labels:
|
||||||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }}
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
{{- range $key, $value := .Values.configs.repositoryCredentials }}
|
||||||
|
{{ $key }}: {{ $value | b64enc }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -1,13 +1,18 @@
|
||||||
{{- if .Values.configs.repositoryCredentials }}
|
{{- if .Values.configs.repositoryTemplates }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: List
|
||||||
|
items:
|
||||||
|
{{- range $repo_cred_key, $repo_cred_value := .Values.configs.repositoryTemplates }}
|
||||||
|
- apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-repository-credentials
|
name: argocd-repo-creds-{{ $repo_cred_key }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }}
|
argocd.argoproj.io/secret-type: repo-creds
|
||||||
type: Opaque
|
{{- include "argo-cd.labels" (dict "context" $ "component" $.Values.server.name "name" "secret") | nindent 8 }}
|
||||||
data:
|
data:
|
||||||
{{- range $key, $value := .Values.configs.repositoryCredentials }}
|
{{- range $key, $value := $repo_cred_value }}
|
||||||
{{ $key }}: {{ $value | b64enc }}
|
{{ $key }}: {{ $value | toString | b64enc }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{{- if .Values.configs.repositories }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: List
|
||||||
|
items:
|
||||||
|
{{- range $repo_key, $repo_value := .Values.configs.repositories }}
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: argocd-repo-{{ $repo_key }}
|
||||||
|
labels:
|
||||||
|
argocd.argoproj.io/secret-type: repository
|
||||||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 8 }}
|
||||||
|
data:
|
||||||
|
{{- range $key, $value := $repo_value }}
|
||||||
|
{{ $key }}: {{ $value | b64enc }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -8,7 +8,7 @@ kubeVersionOverride: ""
|
||||||
global:
|
global:
|
||||||
image:
|
image:
|
||||||
repository: quay.io/argoproj/argocd
|
repository: quay.io/argoproj/argocd
|
||||||
tag: v2.0.5
|
tag: v2.1.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext: {}
|
securityContext: {}
|
||||||
# runAsUser: 999
|
# runAsUser: 999
|
||||||
|
@ -57,6 +57,7 @@ controller:
|
||||||
operationProcessors: "10"
|
operationProcessors: "10"
|
||||||
appResyncPeriod: "180"
|
appResyncPeriod: "180"
|
||||||
selfHealTimeout: "5"
|
selfHealTimeout: "5"
|
||||||
|
repoServerTimeoutSeconds: "60"
|
||||||
|
|
||||||
## Argo controller log format: text|json
|
## Argo controller log format: text|json
|
||||||
logFormat: text
|
logFormat: text
|
||||||
|
@ -97,6 +98,8 @@ controller:
|
||||||
# drop:
|
# drop:
|
||||||
# - all
|
# - all
|
||||||
# readOnlyRootFilesystem: true
|
# readOnlyRootFilesystem: true
|
||||||
|
# runAsNonRoot: true
|
||||||
|
# readOnlyRootFilesystem: true
|
||||||
|
|
||||||
## Configures the controller port
|
## Configures the controller port
|
||||||
containerPort: 8082
|
containerPort: 8082
|
||||||
|
@ -368,10 +371,8 @@ redis:
|
||||||
|
|
||||||
## Redis Pod specific security context
|
## Redis Pod specific security context
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
|
||||||
runAsGroup: 1000
|
|
||||||
fsGroup: 1000
|
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
|
runAsUser: 999
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: false
|
create: false
|
||||||
|
@ -671,6 +672,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
|
||||||
|
|
||||||
|
# DEPRECATED: Please instead use configs.repositoryTemplates and configs.repositories
|
||||||
# repositories: |
|
# repositories: |
|
||||||
# - url: git@github.com:group/repo.git
|
# - url: git@github.com:group/repo.git
|
||||||
# sshPrivateKeySecret:
|
# sshPrivateKeySecret:
|
||||||
|
@ -682,6 +685,7 @@ server:
|
||||||
# - type: helm
|
# - type: helm
|
||||||
# url: https://argoproj.github.io/argo-helm
|
# url: https://argoproj.github.io/argo-helm
|
||||||
# name: argo
|
# name: argo
|
||||||
|
|
||||||
# oidc.config: |
|
# oidc.config: |
|
||||||
# name: AzureAD
|
# name: AzureAD
|
||||||
# issuer: https://login.microsoftonline.com/TENANT_ID/v2.0
|
# issuer: https://login.microsoftonline.com/TENANT_ID/v2.0
|
||||||
|
@ -1088,25 +1092,48 @@ configs:
|
||||||
# +LB9LGh4OAp68ImTjqf6ioGKG0RBSznwME+r4nXtT1S/qLR6ASWUS4ViWRhbRlNK
|
# +LB9LGh4OAp68ImTjqf6ioGKG0RBSznwME+r4nXtT1S/qLR6ASWUS4ViWRhbRlNK
|
||||||
# XWyb96wrUlv+E8I=
|
# XWyb96wrUlv+E8I=
|
||||||
# -----END CERTIFICATE-----
|
# -----END CERTIFICATE-----
|
||||||
# Creates a secret with optional repository credentials
|
## # Creates a secret with optional repository credentials
|
||||||
repositoryCredentials:
|
## DEPRECATED: Instead, use configs.repositoryTemplates and/or configs.repositories
|
||||||
{}
|
repositoryCredentials: {}
|
||||||
# sample-ssh-key: |
|
|
||||||
# -----BEGIN RSA PRIVATE KEY-----
|
## Creates a secret for each key/value specified below to create repository credentials
|
||||||
# MIICXAIBAAKBgQCcmiVJXGUvL8zqWmRRETbCKgFadtjJ9WDQpSwiZzMiktpYBo0N
|
repositoryTemplates: {}
|
||||||
# z0cThzGQfWqvdiJYEy72MrKCaSYssV3eHP5zTffk4VBDktNfdl1kgkOpqnh7tQO4
|
# github-enterprise-creds-1:
|
||||||
# nBONRLzcK6KEbKUsmiTbW8Jb4UFYDhyyyveby7y3vYePmaRQIrlEenVfKwIDAQAB
|
# url: https://github.com/argoproj
|
||||||
# AoGAbbg+WZjnt9jYzHWKhZX29LDzg8ty9oT6URT4yB3gIOAdJMFqQHuyg8cb/e0x
|
# githubAppID: 1
|
||||||
# O0AcrfK623oHwgEj4vpeFwnfaBdtM5GfH9zaj6pnXV7VZc3oBHrBnHUgFT3NEYUe
|
# githubAppInstallationID: 2
|
||||||
# tt6rtatIguBH61Aj/pyij9sOfF0xDj0s1nwFTbdHtZR/31kCQQDIwcVTqhKkDNW6
|
# githubAppEnterpriseBaseUrl: https://ghe.example.com/api/v3
|
||||||
# cvdz+Wt3v9x1wNg+VhZhyA/pKILz3+qtn3GogLrQqhpVi+Y7tdvEv9FvgKaCjUp8
|
# githubAppPrivateKey: |
|
||||||
# 6Lfp6dDFAkEAx7HpQbXFdrtcveOi9kosKRDX1PT4zdhB08jAXGlV8jr0jkrZazVM
|
# -----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
# hV5rVCuu35Vh6x1fiyGwwiVsqhgWE+KPLwJAWrDemasM/LsnmjDxhJy6ZcBwsWlK
|
# ...
|
||||||
# xu5Q8h9UwLmiXtVayNBsofh1bGpLtzWZ7oN7ImidDkgJ8JQvgDoJS0xrGQJBALPJ
|
# -----END OPENSSH PRIVATE KEY-----
|
||||||
# FkMFnrjtqGqBVkc8shNqyZY90v6oM2OzupO4dht2PpUZCDPAMZtlTWXjSjabbCPc
|
# https-creds:
|
||||||
# NxexBk1UmkdtFftjHxsCQGjG+nhRYH92MsmrbvZyFzgxg9SIOu6xel7D3Dq9l5Le
|
# url: https://github.com/argoproj
|
||||||
# XG+bpHPF4SiCpAxthP5WNa17zuvk+CDsMZgZNuhYNMo=
|
# password: my-password
|
||||||
# -----END RSA PRIVATE KEY-----
|
# username: my-username
|
||||||
|
# ssh-creds:
|
||||||
|
# url: git@github.com:argoproj-labs
|
||||||
|
# sshPrivateKey: |
|
||||||
|
# -----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
|
# ...
|
||||||
|
# -----END OPENSSH PRIVATE KEY-----
|
||||||
|
|
||||||
|
## Creates a secret for each key/value specified below to create repositories
|
||||||
|
## Note: the last example in the list would use a repository credential template, configured under "configs.repositoryCredencials".
|
||||||
|
repositories: {}
|
||||||
|
# istio-helm-repo:
|
||||||
|
# url: https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts
|
||||||
|
# name: istio.io
|
||||||
|
# type: helm
|
||||||
|
# private-helm-repo:
|
||||||
|
# url: https://my-private-chart-repo.internal
|
||||||
|
# name: private-repo
|
||||||
|
# type: helm
|
||||||
|
# password: my-password
|
||||||
|
# username: my-username
|
||||||
|
# private-repo:
|
||||||
|
# url: https://github.com/argoproj/private-repo
|
||||||
|
|
||||||
secret:
|
secret:
|
||||||
createSecret: true
|
createSecret: true
|
||||||
## Annotations to be added to argocd-secret
|
## Annotations to be added to argocd-secret
|
||||||
|
|
Loading…
Reference in a new issue