Add serviceaccount for nats-streaming (#1646)

Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com>
This commit is contained in:
David Young
2020-07-31 17:02:29 +05:30
committed by GitHub
co-authored by Vishal
parent 882abff431
commit b208528d3d
@@ -509,6 +509,12 @@ spec:
{{- if .Values.nats.enabled }}
{{- if not .Values.nats.external }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: fission-nats-streaming
namespace: {{ .Release.Namespace }}
---
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -525,6 +531,7 @@ spec:
labels:
svc: nats-streaming
spec:
serviceAccount: fission-nats-streaming
containers:
- name: nats-streaming
image: {{ .Values.nats.streamingserver.image | quote }}