From 2405cedf619ad9c517b95937fd5ee7b2808485ee Mon Sep 17 00:00:00 2001 From: David Young Date: Mon, 18 May 2020 11:30:22 +1200 Subject: [PATCH] Allow user to specify the nats-streaming image --- charts/fission-all/Chart.yaml | 2 +- charts/fission-all/templates/deployment.yaml | 2 +- charts/fission-all/values.yaml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/fission-all/Chart.yaml b/charts/fission-all/Chart.yaml index 810fdc7488..580600e25c 100644 --- a/charts/fission-all/Chart.yaml +++ b/charts/fission-all/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: fission-all -version: 1.8.1-pre5 +version: 1.8.1-pre6 description: Fission is a fast serverless framework for Kubernetes. keywords: - fission diff --git a/charts/fission-all/templates/deployment.yaml b/charts/fission-all/templates/deployment.yaml index 5caf0dc730..9292bfdc8e 100644 --- a/charts/fission-all/templates/deployment.yaml +++ b/charts/fission-all/templates/deployment.yaml @@ -529,7 +529,7 @@ spec: spec: containers: - name: nats-streaming - image: nats-streaming + image: {{ include "nats.streamingserver.image" . | quote }} imagePullPolicy: {{ .Values.pullPolicy }} args: [ "--cluster_id", "{{ .Values.nats.clusterID }}", diff --git a/charts/fission-all/values.yaml b/charts/fission-all/values.yaml index 30b3c5317d..5d76a805c1 100644 --- a/charts/fission-all/values.yaml +++ b/charts/fission-all/values.yaml @@ -176,6 +176,10 @@ nats: # Queue group registered with NATS streaming queueGroup: "fission-messageQueueNatsTrigger" + # The image to use for NATS streaming server + streamingserver: + image: nats-streaming + ## Azure-storage-queue: enable and configure the details azureStorageQueue: enabled: false