diff --git a/helm-guestbook/templates/ingress.yaml b/helm-guestbook/templates/ingress.yaml index 016e1e7..28c0b32 100644 --- a/helm-guestbook/templates/ingress.yaml +++ b/helm-guestbook/templates/ingress.yaml @@ -28,7 +28,7 @@ spec: pathType: Prefix backend: service: - name: http + name: guestbook-svc port: number: {{ $.Values.service.port }} {{- end }} diff --git a/helm-guestbook/templates/service.yaml b/helm-guestbook/templates/service.yaml index b7aab0b..3ce0420 100644 --- a/helm-guestbook/templates/service.yaml +++ b/helm-guestbook/templates/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ template "helm-guestbook.fullname" . }} + name: guestbook-svc labels: app: {{ template "helm-guestbook.name" . }} chart: {{ template "helm-guestbook.chart" . }}