Skip to content

Commit

Permalink
Update ingress service format
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Jun 30, 2022
1 parent 4cfa239 commit bd7b1ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mediawiki/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: mediawiki
version: 0.6.0
version: 0.6.1
appVersion: 1.35.7
description: Extremely powerful, scalable software and a feature-rich wiki implementation
that uses PHP to process and display data stored in a database.
Expand Down
5 changes: 3 additions & 2 deletions mediawiki/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ spec:
paths:
- path: /
backend:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}
service:
name: {{ $serviceName }}
port: {{ $servicePort }}
{{- end -}}
{{- if and (hasKey .Values.ingress.annotations "kubernetes.io/tls-acme") (index .Values.ingress.annotations "kubernetes.io/tls-acme" | eq "true") }}
tls:
Expand Down

0 comments on commit bd7b1ac

Please sign in to comment.