diff --git a/stable/fluent-bit/Chart.yaml b/stable/fluent-bit/Chart.yaml index ffa6418b68..06fb7470e5 100755 --- a/stable/fluent-bit/Chart.yaml +++ b/stable/fluent-bit/Chart.yaml @@ -1,5 +1,5 @@ name: fluent-bit -version: 0.2.13 +version: 0.2.14 appVersion: 0.12.15 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 7518683c80..938b97150d 100644 --- a/stable/fluent-bit/templates/_helpers.tpl +++ b/stable/fluent-bit/templates/_helpers.tpl @@ -19,7 +19,7 @@ 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 ge .Capabilities.KubeVersion.Minor "8" -}} +{{- if semverCompare "^1.8-0" .Capabilities.KubeVersion.GitVersion -}} "rbac.authorization.k8s.io/v1" {{- else -}} "rbac.authorization.k8s.io/v1beta1"