Skip to content

Commit

Permalink
chg to LoadBalancer
Browse files Browse the repository at this point in the history
  • Loading branch information
sbtaylor15 committed Dec 15, 2022
1 parent cc02fc2 commit 414b5cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
2 changes: 1 addition & 1 deletion deployhub/dh-ms-nginx/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: dh-ms-nginx
version: 10.0.19
version: 10.0.20
21 changes: 0 additions & 21 deletions deployhub/dh-ms-nginx/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,6 @@ spec:
backend:
service:
name: {{ include "dh-ms-nginx.name" . }}
port:
number: 80
{{ else }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "dh-ms-nginx.name" . }}
labels:
app: {{ include "dh-ms-nginx.name" . }}
spec:
ingressClassName: nginx
rules:
- host: {{ .Values.ingress.dnsname | quote }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ include "dh-ms-nginx.name" . }}

port:
number: 80
{{ end }}
Expand Down
4 changes: 4 additions & 0 deletions deployhub/dh-ms-nginx/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ spec:
targetPort: 443
protocol: TCP
name: https
{{ if eq .Values.ingress.type "alb" }}
type: NodePort
{{ else }}
type: LoadBalancer
{{ end }}

0 comments on commit 414b5cd

Please sign in to comment.