update
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"
diff --git a/charts/rpuppy/values.yaml b/charts/rpuppy/values.yaml
index 0830d1e..a7bee0c 100644
--- a/charts/rpuppy/values.yaml
+++ b/charts/rpuppy/values.yaml
@@ -2,4 +2,4 @@
repository: giolekva/rpuppy
tag: latest
pullPolicy: Always
-portName: http
+port: 8080