mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix fluent-bit rbac api version (#10028)
Signed-off-by: Jan Knipper <jan.knipper@sap.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
00dbcf3469
commit
d1d4a0a47d
@@ -1,5 +1,5 @@
|
||||
name: fluent-bit
|
||||
version: 1.1.0
|
||||
version: 1.1.1
|
||||
appVersion: 0.14.9
|
||||
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
|
||||
keywords:
|
||||
|
||||
@@ -19,9 +19,9 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
|
||||
Return the appropriate apiVersion for RBAC APIs.
|
||||
*/}}
|
||||
{{- define "rbac.apiVersion" -}}
|
||||
{{- if .Capabilities.APIVersions.Has "v1" -}}
|
||||
{{- if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1" -}}
|
||||
rbac.authorization.k8s.io/v1
|
||||
{{- else if .Capabilities.APIVersions.Has "v1beta1" -}}
|
||||
{{- else if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1beta1" -}}
|
||||
rbac.authorization.k8s.io/v1beta1
|
||||
{{- else -}}
|
||||
rbac.authorization.k8s.io/v1alpha1
|
||||
|
||||
Reference in New Issue
Block a user