feat: Define custom styles via values (#689)

* feat: define custom styles via values

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* Version Bump

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* Mount to correct server

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* fix(argo-cd): correct alphabetical place of new values

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* fix(argo-cd): correct alphabetical place of new values in README

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Oliver Bähler 2021-05-16 17:32:19 +02:00 committed by GitHub
parent 0919bbc116
commit a70e1779af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 50 additions and 4 deletions

View file

@ -82,6 +82,11 @@ spec:
{{- end }}
- mountPath: /app/config/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:
- name: {{ .Values.server.name }}
containerPort: {{ .Values.server.containerPort }}
@ -141,6 +146,11 @@ spec:
{{- end }}
- emptyDir: {}
name: static-files
{{- if .Values.configs.styles }}
- configMap:
name: argocd-custom-styles
name: custom-styles
{{- end }}
{{- if .Values.configs.knownHosts }}
- configMap:
name: argocd-ssh-known-hosts-cm