update
diff --git a/charts/launcher/templates/install.yaml b/charts/launcher/templates/install.yaml
index c2b3330..92d0e72 100644
--- a/charts/launcher/templates/install.yaml
+++ b/charts/launcher/templates/install.yaml
@@ -8,9 +8,9 @@
selector:
app: launcher
ports:
- - name: {{ .Values.portName }}
+ - name: http
protocol: TCP
- port: 80
+ port: {{ .Values.port }}
targetPort: http
---
apiVersion: v1
@@ -45,12 +45,12 @@
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
ports:
- name: http
- containerPort: 8080
+ containerPort: {{ .Values.port }}
protocol: TCP
command:
- pcloud-installer
- launcher
- - --port=8080
+ - --port={{ .Values.port }}
- --logout-url={{ .Values.logoutUrl }}
- --ssh-key=/pcloud/ssh-key/private
- --repo-addr={{ .Values.repoAddr }}
diff --git a/charts/launcher/values.yaml b/charts/launcher/values.yaml
index fedfed5..abe73ef 100644
--- a/charts/launcher/values.yaml
+++ b/charts/launcher/values.yaml
@@ -2,7 +2,7 @@
repository: giolekva/launcher
tag: latest
pullPolicy: Always
-portName: http
+port: 8080
appRepoAddr: ""
logoutUrl: logout.example.com
repoAddr: 192.168.0.11