AppManager: Use port numbers in ingress definitions
Change-Id: I6d69566667490aac70597387c59cecbb8601a5a8
diff --git a/charts/rpuppy/templates/install.yaml b/charts/rpuppy/templates/install.yaml
index 1d70bd5..de4afc3 100644
--- a/charts/rpuppy/templates/install.yaml
+++ b/charts/rpuppy/templates/install.yaml
@@ -8,9 +8,9 @@
selector:
app: rpuppy
ports:
- - name: {{ .Values.portName }}
- port: 80
- targetPort: {{ .Values.portName }}
+ - name: http
+ port: {{ .Values.port }}
+ targetPort: http
protocol: TCP
---
apiVersion: apps/v1
@@ -33,12 +33,12 @@
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- - name: {{ .Values.portName }}
- containerPort: 8080
+ - name: http
+ containerPort: {{ .Values.port }}
protocol: TCP
command:
- /usr/bin/rpuppy
- - --port=8080
+ - --port={{ .Values.port }}
resources:
requests:
memory: "10Mi"