diff --git a/charts/codelet-application-helm/Chart.yaml b/charts/codelet-application-helm/Chart.yaml index 5052f96..0c90f0d 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.8 +version: 0.0.9 # 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 7484367..356d65b 100644 --- a/charts/codelet-application-helm/templates/codelet-application-deployment.yaml +++ b/charts/codelet-application-helm/templates/codelet-application-deployment.yaml @@ -17,8 +17,10 @@ spec: image: {{ .Values.container.image.name }} imagePullPolicy: {{ .Values.container.image.pullPolicy }} ports: - - name: deployment-port - containerPort: {{ .Values.container.containerPort }} + {{- range $key, $val := .Values.container.containerPorts }} + - name: {{ $key }} + containerPort: {{ $val }} + {{- end }} env: {{- range $key, $val := .Values.container.env }} - name: {{ $key }} diff --git a/charts/codelet-application-helm/templates/codelet-application-ingress.yaml b/charts/codelet-application-helm/templates/codelet-application-ingress.yaml deleted file mode 100644 index 76930d7..0000000 --- a/charts/codelet-application-helm/templates/codelet-application-ingress.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ .Release.Name }}-ingress -spec: - rules: - - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: {{ .Release.Name }}-service - port: - number: {{ .Values.container.containerPort }} -