diff --git a/stable/fluent-bit/Chart.yaml b/stable/fluent-bit/Chart.yaml index 3f2fb5f95d..0521a144a2 100755 --- a/stable/fluent-bit/Chart.yaml +++ b/stable/fluent-bit/Chart.yaml @@ -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: diff --git a/stable/fluent-bit/templates/_helpers.tpl b/stable/fluent-bit/templates/_helpers.tpl index 9cc5159624..dca15d75a8 100644 --- a/stable/fluent-bit/templates/_helpers.tpl +++ b/stable/fluent-bit/templates/_helpers.tpl @@ -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