디렉토리 구조 및 각 서비스 추가
This commit is contained in:
26
helm/argo-cd/templates/argocd-server/openshift/route.yaml
Normal file
26
helm/argo-cd/templates/argocd-server/openshift/route.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
{{- if .Values.server.route.enabled -}}
|
||||
apiVersion: route.openshift.io/v1
|
||||
kind: Route
|
||||
metadata:
|
||||
name: {{ template "argo-cd.server.fullname" . }}
|
||||
labels:
|
||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||
{{- with .Values.server.route.annotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := . }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
host: {{ .Values.server.route.hostname | quote }}
|
||||
to:
|
||||
kind: Service
|
||||
name: {{ template "argo-cd.server.fullname" . }}
|
||||
weight: 100
|
||||
port:
|
||||
targetPort: https
|
||||
tls:
|
||||
termination: {{ .Values.server.route.termination_type | quote }}
|
||||
insecureEdgeTerminationPolicy: {{ .Values.server.route.termination_policy | quote }}
|
||||
wildcardPolicy: None
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user