Fix deprecated values (#49)
Fixes #46 ### Motivation There were some templates that relied on extra values that are deprecated. ### Modifications Modified the checks to check for non deprecated values or deprecated values. ### Verifying this change - [X] Make sure that the change passes the CI checks.
This commit is contained in:
parent
a41b6c5063
commit
8426c8de9c
@ -21,7 +21,7 @@ apiVersion: v1
|
|||||||
appVersion: "2.6.0"
|
appVersion: "2.6.0"
|
||||||
description: Apache Pulsar Helm chart for Kubernetes
|
description: Apache Pulsar Helm chart for Kubernetes
|
||||||
name: pulsar
|
name: pulsar
|
||||||
version: 2.6.0-1
|
version: 2.6.0-2
|
||||||
home: https://pulsar.apache.org
|
home: https://pulsar.apache.org
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/apache/pulsar
|
- https://github.com/apache/pulsar
|
||||||
|
|||||||
@ -17,11 +17,11 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
{{- if .Values.extra.functionsAsPods }}
|
{{- if or .Values.components.functions .Values.extra.functionsAsPods }}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.broker.functions.component }}"
|
name: "{{ template "pulsar.fullname" . }}-{{ .Values.functions.component }}"
|
||||||
rules:
|
rules:
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources:
|
resources:
|
||||||
@ -41,20 +41,20 @@ rules:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.broker.functions.component }}"
|
name: "{{ template "pulsar.fullname" . }}-{{ .Values.functions.component }}"
|
||||||
namespace: {{ .Values.namespace }}
|
namespace: {{ .Values.namespace }}
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.broker.functions.component }}"
|
name: "{{ template "pulsar.fullname" . }}-{{ .Values.functions.component }}"
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.broker.functions.component }}"
|
name: "{{ template "pulsar.fullname" . }}-{{ .Values.functions.component }}"
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.broker.functions.component }}"
|
name: "{{ template "pulsar.fullname" . }}-{{ .Values.functions.component }}"
|
||||||
namespace: {{ .Values.namespace }}
|
namespace: {{ .Values.namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
{{- if .Values.extra.monitoring}}
|
{{- if or .Values.monitoring.grafana .Values.extra.monitoring }}
|
||||||
{{- if .Values.grafana.ingress.enabled }}
|
{{- if .Values.grafana.ingress.enabled }}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user