Skip to content

Commit

Permalink
fix(bouncer): fix ingress chart
Browse files Browse the repository at this point in the history
  • Loading branch information
uptickmetachu committed Aug 24, 2023
1 parent 5f3bc35 commit 968b4f1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion charts/bouncer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.0
version: 0.3.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
27 changes: 10 additions & 17 deletions charts/bouncer/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,14 @@ metadata:
{{- end }}
spec:
rules:
- host: {{ .Values.ingress.host }}
http:
paths:
- backend:
service:
name: ssl-redirect
port:
number: use-annotation
path: /
pathType: Prefix
- backend:
service
name: {{ .Values.ingress.serviceName }}
port:
number: {{ .Values.ingress.servicePort }}
path: /
pathType: Prefix
- host: {{ .Values.ingress.host | quote }}
http:
paths:
- path: "/"
pathType: "Prefix"
backend:
service:
name: {{ .Values.ingress.serviceName | quote }}
port:
number: {{ .Values.ingress.servicePort }}
{{- end }}
5 changes: 4 additions & 1 deletion charts/bouncer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ service:
port: 80

ingress:
enabled: false
enabled: true
servicePort: 80
serviceName: bouncer
annotations: {}
host: "test"
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand Down

0 comments on commit 968b4f1

Please sign in to comment.