Support OpenShift Routes

This commit is contained in:
disposab1e 2019-11-01 00:15:18 +01:00
parent 32e94860de
commit ed4e3d5a7d
2 changed files with 8 additions and 3 deletions

View file

@ -9,8 +9,12 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: {{ include "argo-cd.name" . }} app.kubernetes.io/part-of: {{ include "argo-cd.name" . }}
{{- with .Values.route.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec: spec:
host: {{ .Values.route.hostname | default "" | quote }} host: {{ .Values.route.hostname | quote }}
subdomain: '' subdomain: ''
to: to:
kind: Service kind: Service

View file

@ -70,7 +70,6 @@ dexServer:
volumes: [] volumes: []
# terminate tls at ArgoCD level # terminate tls at ArgoCD level
# Consider using 'route.enabled: true' if you want to access Argo CD from inside OpenShift
ingress: ingress:
enabled: false enabled: false
annotations: annotations:
@ -87,12 +86,14 @@ ingress:
# - chart-example.local # - chart-example.local
# Create a OpenShift Route with SSL passthrough for UI and CLI # Create a OpenShift Route with SSL passthrough for UI and CLI
# Consider setting 'hostname' e.g. https://argocd.apps-crc.testing/ using your Default Ingress Controller Domain # Consider setting 'hostname' e.g. 'argocd.apps-crc.testing' using your Default Ingress Controller Domain.
# Find your domain with: kubectl describe --namespace=openshift-ingress-operator ingresscontroller/default | grep Domain: # Find your domain with: kubectl describe --namespace=openshift-ingress-operator ingresscontroller/default | grep Domain:
# If 'hostname' is an empty string "" OpenShift will create a hostname for you. # If 'hostname' is an empty string "" OpenShift will create a hostname for you.
route: route:
enabled: false enabled: false
hostname: "" hostname: ""
annotations:
{}
certificate: certificate:
enabled: false enabled: false