From 498172d9bdb288e6d7526b83fbe67372709d069f Mon Sep 17 00:00:00 2001 From: Ben Moody Date: Wed, 16 Apr 2025 16:06:32 -0400 Subject: [PATCH 1/5] expose blossom publicly --- deployment/route96/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/route96/values.yaml b/deployment/route96/values.yaml index c2b7f13..5f9e713 100644 --- a/deployment/route96/values.yaml +++ b/deployment/route96/values.yaml @@ -21,6 +21,6 @@ service: port: 80 ingress: - enabled: false + enabled: true className: "nginx" host: "blossom.plur.app" From 36d2eeef9fb030fc3eb65048874e7137e3bc498f Mon Sep 17 00:00:00 2001 From: Ben Moody Date: Wed, 16 Apr 2025 16:17:50 -0400 Subject: [PATCH 2/5] update domain --- deployment/route96/templates/service.yaml | 2 +- deployment/route96/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/route96/templates/service.yaml b/deployment/route96/templates/service.yaml index c9eb5b7..c4de661 100644 --- a/deployment/route96/templates/service.yaml +++ b/deployment/route96/templates/service.yaml @@ -13,4 +13,4 @@ spec: - protocol: TCP port: 80 targetPort: 8000 - type: ClusterIP + type: ClusterIP \ No newline at end of file diff --git a/deployment/route96/values.yaml b/deployment/route96/values.yaml index 5f9e713..2b5fb25 100644 --- a/deployment/route96/values.yaml +++ b/deployment/route96/values.yaml @@ -23,4 +23,4 @@ service: ingress: enabled: true className: "nginx" - host: "blossom.plur.app" + host: "blossom.verse.app" From dfd9f2627f78c6ec6f7b6eff75a84d2466a79dd4 Mon Sep 17 00:00:00 2001 From: Ben Moody Date: Fri, 18 Apr 2025 19:02:02 -0400 Subject: [PATCH 3/5] add the required certificate --- deployment/route96/templates/certificate.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 deployment/route96/templates/certificate.yaml diff --git a/deployment/route96/templates/certificate.yaml b/deployment/route96/templates/certificate.yaml new file mode 100644 index 0000000..3a3afce --- /dev/null +++ b/deployment/route96/templates/certificate.yaml @@ -0,0 +1,28 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: blossom-certificate + namespace: blossom + labels: + app.kubernetes.io/part-of: blossom + app.kubernetes.io/managed-by: Helm +spec: + secretName: blossom-certificate + privateKey: + algorithm: RSA + encoding: PKCS1 + size: 2048 + duration: 2160h # 90d + renewBefore: 360h # 15d + isCA: false + usages: + - server auth + - client auth + subject: + organizations: + - cert-manager + dnsNames: + - blossom.verse.app + issuerRef: + name: letsencrypt-prod + kind: ClusterIssuer \ No newline at end of file From 6b9bd760b3bbdf75b94c382d15065596da82b1b2 Mon Sep 17 00:00:00 2001 From: Ben Moody Date: Fri, 18 Apr 2025 19:05:33 -0400 Subject: [PATCH 4/5] ingress tidying --- deployment/route96/templates/ingress.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deployment/route96/templates/ingress.yaml b/deployment/route96/templates/ingress.yaml index 1f0a8bf..fa52403 100644 --- a/deployment/route96/templates/ingress.yaml +++ b/deployment/route96/templates/ingress.yaml @@ -4,12 +4,14 @@ kind: Ingress metadata: name: blossom-ingress namespace: blossom - annotations: - kubernetes.io/ingress.class: {{ .Values.ingress.className }} labels: app.kubernetes.io/part-of: blossom app.kubernetes.io/managed-by: Helm spec: + tls: + - hosts: + - {{ .Values.ingress.host }} + secretName: blossom-certificate rules: - host: {{ .Values.ingress.host }} http: @@ -21,4 +23,5 @@ spec: name: blossom-service port: number: 80 + ingressClassName: {{ .Values.ingress.className }} {{- end -}} \ No newline at end of file From ecb73b136aae7e0cbd3106c8c0748a2e7f0e2322 Mon Sep 17 00:00:00 2001 From: Ben Moody Date: Fri, 18 Apr 2025 19:23:41 -0400 Subject: [PATCH 5/5] fix yaml indentation --- deployment/route96/templates/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/route96/templates/ingress.yaml b/deployment/route96/templates/ingress.yaml index fa52403..de28c5c 100644 --- a/deployment/route96/templates/ingress.yaml +++ b/deployment/route96/templates/ingress.yaml @@ -9,9 +9,9 @@ metadata: app.kubernetes.io/managed-by: Helm spec: tls: - - hosts: - - {{ .Values.ingress.host }} - secretName: blossom-certificate + - hosts: + - {{ .Values.ingress.host }} + secretName: blossom-certificate rules: - host: {{ .Values.ingress.host }} http: