Skip to content

Commit

Permalink
Support namespace isolation when creating serviceaccounts
Browse files Browse the repository at this point in the history
  • Loading branch information
funkypenguin committed Dec 20, 2020
1 parent 6f4aa2e commit c6c35f5
Show file tree
Hide file tree
Showing 2 changed files with 5 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-pre34
version: 1.8.1-pre35
description: Fission is a fast serverless framework for Kubernetes.
keywords:
- fission
Expand Down
4 changes: 4 additions & 0 deletions charts/fission-all/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,17 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: fission-fetcher
{{- if .Values.namespaceIsolation }}
namespace: {{ .Values.functionNamespace }}
{{- end }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: fission-builder
{{- if .Values.namespaceIsolation }}
namespace: {{ .Values.builderNamespace }}
{{- end }}

---
apiVersion: v1
Expand Down

0 comments on commit c6c35f5

Please sign in to comment.