Update rbac api version for elastic-metricbeat
When using a helm3 to deploy , it fail! Helm3 no more support rbac.authorization.k8s.io/v1beta1 , but v1 can support helm2 and helm3.This change optimized deployment. Change-Id: I41ca3ee2490eadce8d043cf6a757bf8569f31931
This commit is contained in:
parent
7ebc49c338
commit
2ff4c5c40b
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v7.1.0
|
appVersion: v7.1.0
|
||||||
description: OpenStack-Helm Elastic Metricbeat
|
description: OpenStack-Helm Elastic Metricbeat
|
||||||
name: elastic-metricbeat
|
name: elastic-metricbeat
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
home: https://www.elastic.co/products/beats/metricbeat
|
home: https://www.elastic.co/products/beats/metricbeat
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/elastic/beats/tree/master/metricbeat
|
- https://github.com/elastic/beats/tree/master/metricbeat
|
||||||
|
@ -20,7 +20,7 @@ limitations under the License.
|
|||||||
{{- $serviceAccountName := printf "%s-%s" .Release.Name "metricbeat-deployments" }}
|
{{- $serviceAccountName := printf "%s-%s" .Release.Name "metricbeat-deployments" }}
|
||||||
{{ tuple $envAll "metricbeat" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
|
{{ tuple $envAll "metricbeat" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $serviceAccountName }}
|
name: {{ $serviceAccountName }}
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
elastic-metricbeat:
|
elastic-metricbeat:
|
||||||
- 0.1.0 Initial Chart
|
- 0.1.0 Initial Chart
|
||||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||||
|
- 0.1.2 Update RBAC apiVersion from /v1beta1 to /v1
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user