Set fetcher image through poolmgr env (#280)

Add a helm value for the fetcher image. Pass the fetcher image path to poolmgr through an env var.
This commit is contained in:
Ta-Ching Chen
2017-08-18 15:12:10 -07:00
committed by Soam Vasani
parent 6bca24a3f5
commit 31f94dbc12
5 changed files with 22 additions and 2 deletions
@@ -232,6 +232,9 @@ spec:
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
command: ["/fission-bundle"]
args: ["--poolmgrPort", "8888", "--namespace", "{{ .Values.functionNamespace }}", "--fission-namespace", "{{ .Release.Namespace }}"]
env:
- name: FETCHER_IMAGE
value: "{{ .Values.fetcherImage }}:{{ .Values.fetcherImageTag }}"
serviceAccount: fission-svc
---
+7 -1
View File
@@ -6,12 +6,18 @@
## For minikube, set this to NodePort, elsewhere use LoadBalancer.
serviceType: LoadBalancer
## Fission image repostiroy
## Fission image repository
image: fission/fission-bundle
## Fission image version
imageTag: alpha20170124
## Fission fetcher repository
fetcherImage: fission/fetcher
## Fission fetcher image version
fetcherImageTag: latest
## Port at which Fission controller service should be exposed
controllerPort: 31313