Skip to content

Commit

Permalink
[stable/nginx-ingress] fix service selector (helm#21512)
Browse files Browse the repository at this point in the history
* fixes helm#21508

Signed-off-by: Syunsuke Komma <syunsuke@weseek.co.jp>

* bump chart version

Signed-off-by: Syunsuke Komma <syunsuke@weseek.co.jp>
  • Loading branch information
skomma authored Mar 18, 2020
1 parent 34155a3 commit 1635fc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/nginx-ingress/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: nginx-ingress
version: 1.34.0
version: 1.34.1
appVersion: 0.30.0
home: https://github.com/kubernetes/ingress-nginx
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
Expand Down
2 changes: 1 addition & 1 deletion stable/nginx-ingress/templates/controller-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
{{- end }}
selector:
app: {{ template "nginx-ingress.name" . }}
component: "{{ .Values.controller.name }}"
release: {{ .Release.Name }}
app.kubernetes.io/component: controller
type: "{{ .Values.controller.service.type }}"
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
targetPort: http
selector:
app: {{ template "nginx-ingress.name" . }}
component: "{{ .Values.defaultBackend.name }}"
release: {{ .Release.Name }}
app.kubernetes.io/component: default-backend
type: "{{ .Values.defaultBackend.service.type }}"
{{- end }}

0 comments on commit 1635fc3

Please sign in to comment.