Skip to content

Commit 6a6a43c

Browse files
authored
Merge pull request #16 from IFRCGo/helm_chart_fixes
Helm chart fixes
2 parents 603c954 + 4f0846a commit 6a6a43c

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ Homestead.yaml
1414
npm-debug.log
1515
yarn-error.log
1616
helm-chart/secrets.yml
17+
.idea/*

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)