diff --git a/src/main/helm/templates/certificate.yaml b/src/main/helm/templates/certificate.yaml index 7ac0e72801f769045b063a333c1c706f12655bae..76aac3a6a3469cf42d22e2ad56f857b5b961260f 100644 --- a/src/main/helm/templates/certificate.yaml +++ b/src/main/helm/templates/certificate.yaml @@ -40,4 +40,5 @@ spec: - key encipherment - key agreement dnsNames: + - "{{ .Release.Name }}-passthrough-{{ include "app.baseDomain" . }}" - "{{ .Release.Name }}-{{ include "app.baseDomain" . }}" \ No newline at end of file diff --git a/src/main/helm/templates/route.yaml b/src/main/helm/templates/route.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0f86471e20d37042968af11b9d2e1a0a3666c69b --- /dev/null +++ b/src/main/helm/templates/route.yaml @@ -0,0 +1,23 @@ +kind: Route +apiVersion: route.openshift.io/v1 +metadata: + name: {{ .Release.Name }}-passthrough + namespace: by-enable-dev + +spec: + host: {{ .Release.Name }}-passthrough-{{ include "app.baseDomain" . }} + to: + kind: Service + name: xta-test-server + weight: 100 + port: + targetPort: 8443 + tls: + termination: passthrough + wildcardPolicy: None +status: + ingress: + - host: {{ .Release.Name }}-passthrough-{{ include "app.baseDomain" . }} + routerName: default + wildcardPolicy: None + routerCanonicalHostname: router-default.apps.okd.dev.by.ozg-cloud.systems