Skip to content

Commit

Permalink
Removed the sufix in the container name.
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardofroes committed Oct 26, 2021
1 parent b47fb9f commit df648d7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/codelet-application-helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -10,7 +10,7 @@ spec:
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-codelet-application-service
name: {{ .Release.Name }}-service
port:
number: {{ .Values.container.containerPort }}

Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down

0 comments on commit df648d7

Please sign in to comment.