From db2ab8a65317fa617691553073c2e502ec232bcc Mon Sep 17 00:00:00 2001 From: Eduardo Froes Date: Wed, 12 Jan 2022 22:59:14 -0300 Subject: [PATCH] Return with service sufix in the service name. --- charts/codelet-application-helm/Chart.yaml | 2 +- .../templates/codelet-application-service.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/codelet-application-helm/Chart.yaml b/charts/codelet-application-helm/Chart.yaml index 3d7dfa9..e840953 100644 --- a/charts/codelet-application-helm/Chart.yaml +++ b/charts/codelet-application-helm/Chart.yaml @@ -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.0.10 +version: 0.0.11 # 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 diff --git a/charts/codelet-application-helm/templates/codelet-application-service.yml b/charts/codelet-application-helm/templates/codelet-application-service.yml index 10317af..568ae89 100644 --- a/charts/codelet-application-helm/templates/codelet-application-service.yml +++ b/charts/codelet-application-helm/templates/codelet-application-service.yml @@ -1,11 +1,11 @@ apiVersion: v1 kind: Service metadata: - name: {{ .Release.Name }} + name: {{ .Release.Name }}-service spec: type: {{ .Values.service.type }} selector: - app: {{ .Release.Name }} + app: {{ .Release.Name }}-service ports: {{- range $key, $val := .Values.service.targetPorts }} - name: {{ $key }}