Skip to content

Commit

Permalink
Add serviceaccount for nats-streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
funkypenguin committed May 18, 2020
1 parent e5401ad commit 073c4f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/fission-all/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: fission-all
version: 1.8.1-pre7
version: 1.8.1-pre8
description: Fission is a fast serverless framework for Kubernetes.
keywords:
- fission
Expand Down
7 changes: 7 additions & 0 deletions charts/fission-all/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,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:
Expand All @@ -527,6 +533,7 @@ spec:
labels:
svc: nats-streaming
spec:
serviceAccount: fission-nats-streaming
containers:
- name: nats-streaming
image: {{ .Values.nats.streamingserver.image | quote }}
Expand Down

0 comments on commit 073c4f4

Please sign in to comment.