Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions helm/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Values.rbac.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
Expand Down Expand Up @@ -29,6 +30,7 @@ subjects:
- kind: ServiceAccount
name: {{ .Values.serviceAccount.name | quote }}
---
{{- end }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
5 changes: 5 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ url: ""
# If unspecified, this defaults to the Helm namespace.
namespace: ""

# rbac -- Specifies whether the RBAC components are installed.
# If enabled is set to false, the RBAC components must be installed outside of the Helm Chart
rbac:
enabled: true

# volumes -- A list of extra volumes to add to the coder-logstream pod.
volumes:
# emptyDir: {}
Expand Down