Add openshift flag to explicitly add rbac for openshift

This commit is contained in:
waseem
2019-08-05 09:20:37 +02:00
parent b0dcb4c5e2
commit 18254666a6
5 changed files with 4 additions and 2 deletions
BIN
View File
Binary file not shown.
@@ -26,7 +26,7 @@ rules:
- list
- get
- watch
{{- if .Capabilities.APIVersions.Has "apps.openshift.io/v1" }}
{{- if or (.Capabilities.APIVersions.Has "apps.openshift.io/v1") .Values.isOpenshift }}
- apiGroups:
- "apps.openshift.io"
- ""
@@ -26,7 +26,7 @@ rules:
- list
- get
- watch
{{- if .Capabilities.APIVersions.Has "apps.openshift.io/v1" }}
{{- if or (.Capabilities.APIVersions.Has "apps.openshift.io/v1") .Values.isOpenshift }}
- apiGroups:
- "apps.openshift.io"
- ""
@@ -4,6 +4,7 @@ kubernetes:
host: https://kubernetes.default
reloader:
isOpenshift: false
ignoreSecrets: false
ignoreConfigMaps: false
watchGlobally: true
@@ -4,6 +4,7 @@ kubernetes:
host: https://kubernetes.default
reloader:
isOpenshift: false
ignoreSecrets: false
ignoreConfigMaps: false
watchGlobally: true