Merge branch 'master' into master
This commit is contained in:
commit
ffe5aeb32f
10 changed files with 59 additions and 14 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: 2.0.1
|
appVersion: 2.0.1
|
||||||
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.2.5
|
version: 3.3.2
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -113,6 +113,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| configs.tlsCertsAnnotations | TLS certificate configmap annotations | `{}` |
|
| configs.tlsCertsAnnotations | TLS certificate configmap annotations | `{}` |
|
||||||
| configs.tlsCerts.data."argocd.example.com" | TLS certificate | See [values.yaml](values.yaml) |
|
| configs.tlsCerts.data."argocd.example.com" | TLS certificate | See [values.yaml](values.yaml) |
|
||||||
| configs.secret.extra | add additional secrets to be added to argocd-secret | `{}` |
|
| configs.secret.extra | add additional secrets to be added to argocd-secret | `{}` |
|
||||||
|
| configs.styles | Define custom CSS styles for your argo instance ([Read More](https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/)). This Settings will automatically mount the provided css and reference it in the argo configuration. | `""` (See [values.yaml](values.yaml)) |
|
||||||
| openshift.enabled | enables using arbitrary uid for argo repo server | `false` |
|
| openshift.enabled | enables using arbitrary uid for argo repo server | `false` |
|
||||||
|
|
||||||
## ArgoCD Controller
|
## ArgoCD Controller
|
||||||
|
|
|
@ -151,4 +151,22 @@ Return the appropriate apiVersion for ingress
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- print "networking.k8s.io/v1" -}}
|
{{- print "networking.k8s.io/v1" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Argo Configuration Preset Values (Incluenced by Values configuration)
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.config.presets" -}}
|
||||||
|
{{- if .Values.configs.styles }}
|
||||||
|
ui.cssurl: "./custom/custom.styles.css"
|
||||||
|
{{- end }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Merge Argo Configuration with Preset Configuration
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.config" -}}
|
||||||
|
{{- if .Values.server.configEnabled -}}
|
||||||
|
{{- toYaml (mergeOverwrite (default dict (fromYaml (include "argo-cd.config.presets" $))) .Values.server.config) }}
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
|
@ -95,9 +95,9 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/config/controller/tls
|
- mountPath: /app/config/controller/tls
|
||||||
name: argocd-repo-server-tls
|
name: argocd-repo-server-tls
|
||||||
{{- if .Values.controller.volumeMounts }}
|
{{- with .Values.controller.volumeMounts }}
|
||||||
{{- toYaml .Values.controller.volumeMounts | nindent 10}}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.controller.resources | nindent 10 }}
|
{{- toYaml .Values.controller.resources | nindent 10 }}
|
||||||
{{- if .Values.controller.nodeSelector }}
|
{{- if .Values.controller.nodeSelector }}
|
||||||
|
@ -129,9 +129,9 @@ spec:
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
optional: true
|
optional: true
|
||||||
secretName: argocd-repo-server-tls
|
secretName: argocd-repo-server-tls
|
||||||
{{- if .Values.controller.volumes }}
|
{{- with .Values.controller.volumes }}
|
||||||
{{- toYaml .Values.controller.volumes | nindent 8 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.priorityClassName }}
|
{{- if .Values.controller.priorityClassName }}
|
||||||
priorityClassName: {{ .Values.controller.priorityClassName }}
|
priorityClassName: {{ .Values.controller.priorityClassName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -11,6 +11,5 @@ metadata:
|
||||||
{{ $key }}: {{ $value | quote }}
|
{{ $key }}: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
data:
|
data: {{- include "argo-cd.config" $ | nindent 4 }}
|
||||||
{{- toYaml .Values.server.config | nindent 4 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -0,0 +1,11 @@
|
||||||
|
{{- if .Values.configs.styles }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: argocd-custom-styles
|
||||||
|
labels:
|
||||||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
|
data:
|
||||||
|
custom.styles.css: |
|
||||||
|
{{- .Values.configs.styles | nindent 4 }}
|
||||||
|
{{- end }}
|
|
@ -82,6 +82,11 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- mountPath: /app/config/server/tls
|
- mountPath: /app/config/server/tls
|
||||||
name: argocd-repo-server-tls
|
name: argocd-repo-server-tls
|
||||||
|
{{- if .Values.configs.styles }}
|
||||||
|
- mountPath: "/shared/app/custom/custom.styles.css"
|
||||||
|
subPath: "custom.styles.css"
|
||||||
|
name: custom-styles
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.server.name }}
|
- name: {{ .Values.server.name }}
|
||||||
containerPort: {{ .Values.server.containerPort }}
|
containerPort: {{ .Values.server.containerPort }}
|
||||||
|
@ -141,6 +146,11 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- emptyDir: {}
|
- emptyDir: {}
|
||||||
name: static-files
|
name: static-files
|
||||||
|
{{- if .Values.configs.styles }}
|
||||||
|
- configMap:
|
||||||
|
name: argocd-custom-styles
|
||||||
|
name: custom-styles
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.configs.knownHosts }}
|
{{- if .Values.configs.knownHosts }}
|
||||||
- configMap:
|
- configMap:
|
||||||
name: argocd-ssh-known-hosts-cm
|
name: argocd-ssh-known-hosts-cm
|
||||||
|
|
|
@ -283,7 +283,7 @@ redis:
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: redis
|
repository: redis
|
||||||
tag: 6.2.1-alpine
|
tag: 6.2.2-alpine
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to redis-server
|
## Additional command line arguments to pass to redis-server
|
||||||
|
@ -360,7 +360,7 @@ redis-ha:
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
tag: 6.2.1-alpine
|
tag: 6.2.2-alpine
|
||||||
|
|
||||||
## Server
|
## Server
|
||||||
server:
|
server:
|
||||||
|
@ -1015,9 +1015,16 @@ configs:
|
||||||
|
|
||||||
# Argo expects the password in the secret to be bcrypt hashed. You can create this hash with
|
# Argo expects the password in the secret to be bcrypt hashed. You can create this hash with
|
||||||
# `htpasswd -nbBC 10 "" $ARGO_PWD | tr -d ':\n' | sed 's/$2y/$2a/'`
|
# `htpasswd -nbBC 10 "" $ARGO_PWD | tr -d ':\n' | sed 's/$2y/$2a/'`
|
||||||
# argocdServerAdminPassword:
|
# argocdServerAdminPassword: ""
|
||||||
# Password modification time defaults to current time if not set
|
# Password modification time defaults to current time if not set
|
||||||
# argocdServerAdminPasswordMtime: "2006-01-02T15:04:05Z"
|
# argocdServerAdminPasswordMtime: "2006-01-02T15:04:05Z"
|
||||||
|
|
||||||
|
## Custom CSS Styles
|
||||||
|
## Reference: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
|
||||||
|
# styles: |
|
||||||
|
# .nav-bar {
|
||||||
|
# background: linear-gradient(to bottom, #999, #777, #333, #222, #111);
|
||||||
|
# }
|
||||||
|
|
||||||
openshift:
|
openshift:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: argocd-applicationset
|
name: argocd-applicationset
|
||||||
description: A Helm chart for installing ArgoCD ApplicationSet
|
description: A Helm chart for installing ArgoCD ApplicationSet
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.3
|
version: 0.1.4
|
||||||
appVersion: "v0.1.0"
|
appVersion: "v0.1.0"
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
|
|
|
@ -40,7 +40,6 @@ helm.sh/chart: {{ include "argo-applicationset.chart" . }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/name: {{ include "argo-applicationset.name" . }}
|
|
||||||
app.kubernetes.io/part-of: argo-cd-applicationset
|
app.kubernetes.io/part-of: argo-cd-applicationset
|
||||||
app.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue