Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

fix(chart): disable metrics rbac #32

Merged
merged 1 commit into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chart/k8sprom-patch-controller/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: v0.2.0
appVersion: 0.2.0
description: Patch kubernetes resources using prometheus queries
home: https://github.com/DoodleScheduling/k8sprom-patch-controller
maintainers:
Expand All @@ -12,4 +12,4 @@ keywords:
name: k8sprom-patch-controller
sources:
- https://github.com/DoodleScheduling/k8sprom-patch-controller
version: 0.3.0
version: 0.4.0
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ template "k8sprom-patch-controller.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand All @@ -53,4 +54,4 @@ rules:
- subjectaccessreviews
verbs:
- create
{{- end }}
{{- end }}
1 change: 0 additions & 1 deletion chart/k8sprom-patch-controller/templates/podmonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
{{- if .Values.kubeRBACProxy.enabled }}
port: https
scheme: https
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
{{- else }}
Expand Down
2 changes: 1 addition & 1 deletion chart/k8sprom-patch-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ prometheusRule:
rules: []

kubeRBACProxy:
enabled: true
enabled: false

tolerations: []