From e074b42a8cd133193fcb661a76f59990c0e9d4db Mon Sep 17 00:00:00 2001 From: Jose Ganora Date: Wed, 26 Feb 2025 11:41:47 -0300 Subject: [PATCH 1/2] changes to move api to ngnix ingress --- helm-chart/values.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index ff5df67..8bcf61c 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -8,7 +8,7 @@ replicaCount: 1 # Kubernetes service configuration service: - type: LoadBalancer + type: ClusterIP port: 80 targetPort: 80 # Environment variables @@ -64,10 +64,20 @@ secrets: # Ingress (if using) ingress: enabled: true - annotations: { } + annotations: + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/ssl-redirect: "true" + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" hosts: - host: "api.whatnow" paths: - path: / pathType: ImplementationSpecific - tls: [] + - host: "api.whatnow.jazusoft.com" + paths: + - path: / + pathType: Prefix + tls: + - hosts: + - "api.whatnow.jazusoft.com" + secretName: "your-tls-secret" From 4f0846a899151577cb4bf78ecb771f88b6de4d7d Mon Sep 17 00:00:00 2001 From: Jose Ganora Date: Wed, 26 Feb 2025 11:42:53 -0300 Subject: [PATCH 2/2] Added .idea in gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8ba32bf..913b94c 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ Homestead.yaml npm-debug.log yarn-error.log helm-chart/secrets.yml +.idea/*