Merge pull request #78 from stakater/fix-openshift-rbac

Add openshift flag to explicitly add rbac for openshift if desired
This commit is contained in:
Irtiza Ali
2019-08-05 12:58:55 +05:00
committed by GitHub
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