From df648d70681d7f9afa3f93f0d291e3438ebebefe Mon Sep 17 00:00:00 2001 From: Eduardo Froes Date: Mon, 25 Oct 2021 22:31:36 -0300 Subject: [PATCH] Removed the sufix in the container name. --- charts/codelet-application-helm/Chart.yaml | 2 +- .../templates/codelet-application-deployment.yaml | 8 ++++---- .../templates/codelet-application-ingress.yaml | 4 ++-- .../templates/codelet-application-service.yml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/charts/codelet-application-helm/Chart.yaml b/charts/codelet-application-helm/Chart.yaml index 4c71058..57d8a1d 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.3 +version: 0.0.4 # 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-deployment.yaml b/charts/codelet-application-helm/templates/codelet-application-deployment.yaml index f17ddad..7484367 100644 --- a/charts/codelet-application-helm/templates/codelet-application-deployment.yaml +++ b/charts/codelet-application-helm/templates/codelet-application-deployment.yaml @@ -1,19 +1,19 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ .Release.Name }}-codelet-application + name: {{ .Release.Name }} spec: replicas: {{ .Values.replicaCount }} selector: matchLabels: - app: {{ .Release.Name }}-codelet-application + app: {{ .Release.Name }} template: metadata: labels: - app: {{ .Release.Name }}-codelet-application + app: {{ .Release.Name }} spec: containers: - - name: {{ .Values.container.containerName }}-codelet-application + - name: {{ .Values.container.containerName }} image: {{ .Values.container.image.name }} imagePullPolicy: {{ .Values.container.image.pullPolicy }} ports: diff --git a/charts/codelet-application-helm/templates/codelet-application-ingress.yaml b/charts/codelet-application-helm/templates/codelet-application-ingress.yaml index 0f48e34..76930d7 100644 --- a/charts/codelet-application-helm/templates/codelet-application-ingress.yaml +++ b/charts/codelet-application-helm/templates/codelet-application-ingress.yaml @@ -1,7 +1,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: {{ .Release.Name }}-codelet-application-ingress + name: {{ .Release.Name }}-ingress spec: rules: - http: @@ -10,7 +10,7 @@ spec: pathType: Prefix backend: service: - name: {{ .Release.Name }}-codelet-application-service + name: {{ .Release.Name }}-service port: number: {{ .Values.container.containerPort }} diff --git a/charts/codelet-application-helm/templates/codelet-application-service.yml b/charts/codelet-application-helm/templates/codelet-application-service.yml index d3d55e1..6cca2a1 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 }}-codelet-application-service + name: {{ .Release.Name }}-service spec: type: {{ .Values.service.type }} selector: - app: {{ .Release.Name }}-codelet-application-service + app: {{ .Release.Name }}-service ports: - name: http port: {{ .Values.container.containerPort }}