feat: Fix/Enhance Routes; Add uid workaround for repo server (#276)
* Fix/Enhance Routes; Add uid workaround for repo server * Fix CI linting * Update default openshift.enabled value; Fix argocd-repo-server env template * Bump chart version to fix linting Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
This commit is contained in:
parent
9f1bb53898
commit
a5070f5f07
4 changed files with 20 additions and 6 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||
appVersion: "1.5.2"
|
||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 2.2.7
|
||||
version: 2.2.8
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||
keywords:
|
||||
|
|
|
@ -53,6 +53,9 @@ spec:
|
|||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
|
||||
command:
|
||||
- argocd-repo-server
|
||||
{{- if .Values.openshift.enabled }}
|
||||
- uid_entrypoint.sh
|
||||
{{- end }}
|
||||
{{- if or (and .Values.redis.enabled (not $redisHa.enabled)) (and $redisHa.enabled $redisHa.haproxy.enabled) }}
|
||||
- --redis
|
||||
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
||||
|
@ -65,9 +68,15 @@ spec:
|
|||
{{- if .Values.repoServer.containerSecurityContext }}
|
||||
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- if .Values.repoServer.env }}
|
||||
{{- if or (.Values.repoServer.env) (.Values.openshift.enabled) }}
|
||||
env:
|
||||
{{- if .Values.repoServer.env }}
|
||||
{{- toYaml .Values.repoServer.env | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.openshift.enabled }}
|
||||
- name: USER_NAME
|
||||
value: argocd
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
{{- if .Values.repoServer.volumeMounts }}
|
||||
|
|
|
@ -23,7 +23,9 @@ spec:
|
|||
port:
|
||||
targetPort: https
|
||||
tls:
|
||||
termination: passthrough
|
||||
insecureEdgeTerminationPolicy: None
|
||||
termination: {{ .Values.server.route.termination_type | default "passthrough" }}
|
||||
insecureEdgeTerminationPolicy: {{ .Values.server.route.termination_policy | default "None" }}
|
||||
wildcardPolicy: None
|
||||
status:
|
||||
ingress: []
|
||||
{{- end }}
|
||||
|
|
|
@ -171,7 +171,7 @@ dex:
|
|||
|
||||
image:
|
||||
repository: quay.io/dexidp/dex
|
||||
tag: v2.14.0
|
||||
tag: v2.22.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
initImage:
|
||||
repository:
|
||||
|
@ -813,3 +813,6 @@ configs:
|
|||
# argocdServerAdminPassword:
|
||||
# Password modification time defaults to current time if not set
|
||||
# argocdServerAdminPasswordMtime: "2006-01-02T15:04:05Z"
|
||||
|
||||
openshift:
|
||||
enabled: false
|
||||
|
|
Loading…
Reference in a new issue