Add serviceaccount for nats-streaming (#1646)
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com>
This commit is contained in:
@@ -509,6 +509,12 @@ spec:
|
|||||||
{{- if .Values.nats.enabled }}
|
{{- if .Values.nats.enabled }}
|
||||||
{{- if not .Values.nats.external }}
|
{{- if not .Values.nats.external }}
|
||||||
---
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: fission-nats-streaming
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -525,6 +531,7 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
svc: nats-streaming
|
svc: nats-streaming
|
||||||
spec:
|
spec:
|
||||||
|
serviceAccount: fission-nats-streaming
|
||||||
containers:
|
containers:
|
||||||
- name: nats-streaming
|
- name: nats-streaming
|
||||||
image: {{ .Values.nats.streamingserver.image | quote }}
|
image: {{ .Values.nats.streamingserver.image | quote }}
|
||||||
|
|||||||
Reference in New Issue
Block a user