Skip to content

Commit

Permalink
[stable/prometheus-adapter]: do not create apiservice when not needed (
Browse files Browse the repository at this point in the history
…helm#20883)

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Signed-off-by: Adrien Loiseau <adrien.loiseau@logic-immo.com>
  • Loading branch information
caarlos0 authored and li-adrienloiseau committed Jul 29, 2020
1 parent 0c2380f commit 8bde89d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/prometheus-adapter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus-adapter
version: 2.1.1
version: 2.1.2
appVersion: v0.6.0
description: A Helm chart for k8s prometheus adapter
home: https://github.com/DirectXMan12/k8s-prometheus-adapter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if or .Values.rules.default .Values.rules.custom }}
apiVersion: apiregistration.k8s.io/v1beta1
kind: APIService
metadata:
Expand All @@ -19,3 +20,4 @@ spec:
insecureSkipTLSVerify: {{ if .Values.tls.enable }}false{{ else }}true{{ end }}
groupPriorityMinimum: 100
versionPriority: 100
{{- end }}

0 comments on commit 8bde89d

Please sign in to comment.