Skip to content

Commit e074b42

Browse files
author
Jose Ganora
committed
changes to move api to ngnix ingress
1 parent 28dff2e commit e074b42

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

helm-chart/values.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ replicaCount: 1
88

99
# Kubernetes service configuration
1010
service:
11-
type: LoadBalancer
11+
type: ClusterIP
1212
port: 80
1313
targetPort: 80
1414
# Environment variables
@@ -64,10 +64,20 @@ secrets:
6464
# Ingress (if using)
6565
ingress:
6666
enabled: true
67-
annotations: { }
67+
annotations:
68+
kubernetes.io/ingress.class: nginx
69+
nginx.ingress.kubernetes.io/ssl-redirect: "true"
70+
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
6871
hosts:
6972
- host: "api.whatnow"
7073
paths:
7174
- path: /
7275
pathType: ImplementationSpecific
73-
tls: []
76+
- host: "api.whatnow.jazusoft.com"
77+
paths:
78+
- path: /
79+
pathType: Prefix
80+
tls:
81+
- hosts:
82+
- "api.whatnow.jazusoft.com"
83+
secretName: "your-tls-secret"

0 commit comments

Comments
 (0)