Makes Argo Server service account creation conditional.

This commit is contained in:
Vlad Losev 2020-09-29 18:23:58 -07:00
parent e3371f333f
commit c67d71057a
No known key found for this signature in database
GPG key ID: 3A3C3B9FAA3AB7AE
4 changed files with 6 additions and 3 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: v2.8.0
description: A Helm chart for Argo Workflows
name: argo
version: 0.12.1
version: 0.12.2
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm
maintainers:

View file

@ -1,4 +1,4 @@
{{- if .Values.server.enabled -}}
{{- if and .Values.server.enabled .Values.server.createServiceAccount -}}
apiVersion: rbac.authorization.k8s.io/v1
{{- if .Values.singleNamespace }}
kind: RoleBinding

View file

@ -1,4 +1,4 @@
{{- if .Values.server.enabled -}}
{{- if and .Values.server.enabled .Values.server.createServiceAccount -}}
apiVersion: v1
kind: ServiceAccount
metadata:

View file

@ -157,6 +157,9 @@ server:
servicePort: 2746
# servicePortName: http
serviceAccount: argo-server
# Whether to create the service account wiht the name specified in
# server.serviceAccount and bind it to the server role.
createServiceAccount: true
# Service account annotations
serviceAccountAnnotations: {}
# Annotations to be applied to the UI Service