From e18f3257bd49c2d66179f111a6d495099c0de318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Thu, 15 Jul 2021 15:21:45 +0200 Subject: [PATCH] Fix installation of random scheduler resources --- .../theodolite/random-scheduler/cluster-role-binding.yaml | 2 +- helm/templates/theodolite/random-scheduler/service-account.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/templates/theodolite/random-scheduler/cluster-role-binding.yaml b/helm/templates/theodolite/random-scheduler/cluster-role-binding.yaml index 658f75c8c..605159e1b 100644 --- a/helm/templates/theodolite/random-scheduler/cluster-role-binding.yaml +++ b/helm/templates/theodolite/random-scheduler/cluster-role-binding.yaml @@ -1,4 +1,4 @@ -{{- if .Values.randomScheduler.rbac.create -}} +{{- if and .Values.randomScheduler.enabled .Values.randomScheduler.rbac.create -}} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/helm/templates/theodolite/random-scheduler/service-account.yaml b/helm/templates/theodolite/random-scheduler/service-account.yaml index babfff17b..593d9589d 100644 --- a/helm/templates/theodolite/random-scheduler/service-account.yaml +++ b/helm/templates/theodolite/random-scheduler/service-account.yaml @@ -1,4 +1,4 @@ -{{- if .Values.randomScheduler.serviceAccount.create -}} +{{- if and .Values.randomScheduler.enabled .Values.randomScheduler.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount metadata: -- GitLab