From e2a4d2366b606c85d0e312d34f67bba2793a6cad Mon Sep 17 00:00:00 2001 From: Stefan Wiedemann Date: Fri, 22 Sep 2023 15:47:20 +0200 Subject: [PATCH] dns --- aws/dome/orion-ld/templates/certificate.yaml | 12 ++++++++++++ aws/dome/orion-ld/templates/route.yaml | 14 ++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 aws/dome/orion-ld/templates/certificate.yaml create mode 100644 aws/dome/orion-ld/templates/route.yaml diff --git a/aws/dome/orion-ld/templates/certificate.yaml b/aws/dome/orion-ld/templates/certificate.yaml new file mode 100644 index 00000000..c9ef4695 --- /dev/null +++ b/aws/dome/orion-ld/templates/certificate.yaml @@ -0,0 +1,12 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: dome-orion-ld +spec: + secretName: orion-ld-tls-sec + issuerRef: + kind: ClusterIssuer + name: letsencrypt-aws-prod + commonName: orion.dome.fiware.dev + dnsNames: + - orion.dome.fiware.dev \ No newline at end of file diff --git a/aws/dome/orion-ld/templates/route.yaml b/aws/dome/orion-ld/templates/route.yaml new file mode 100644 index 00000000..98dbb848 --- /dev/null +++ b/aws/dome/orion-ld/templates/route.yaml @@ -0,0 +1,14 @@ +apiVersion: route.openshift.io/v1 +kind: Route +metadata: + name: orion-ld-route + annotations: + cert-utils-operator.redhat-cop.io/certs-from-secret: orion-ld-tls-sec +spec: + host: orion.dome.fiware.dev + to: + kind: Service + name: dome-orion-ld + tls: + insecureEdgeTerminationPolicy: Redirect + termination: edge \ No newline at end of file