Przeglądaj źródła

Remove prometheus from minio chart

Waqar Ahmed 4 lat temu
rodzic
commit
0b17b07bf6

+ 0 - 36
test/minio/8.0.5/templates/post-install-prometheus-metrics-role.yaml

@@ -1,36 +0,0 @@
-{{- $fullName := include "minio.fullname" . -}}
-apiVersion: rbac.authorization.k8s.io/v1
-kind: Role
-metadata:
-  name: {{ $fullName }}-update-prometheus-secret
-  labels:
-    app: {{ template "minio.name" . }}-update-prometheus-secret
-    chart: {{ template "minio.chart" . }}
-    release: {{ .Release.Name }}
-    heritage: {{ .Release.Service }}
-rules:
-  - apiGroups:
-      - ""
-    resources:
-      - secrets
-    verbs:
-      - get
-      - create
-      - update
-      - patch
-    resourceNames:
-      - {{ $fullName }}-prometheus
-  - apiGroups:
-      - ""
-    resources:
-      - secrets
-    verbs:
-      - create
-  - apiGroups:
-      - monitoring.coreos.com
-    resources:
-      - servicemonitors
-    verbs:
-      - get
-    resourceNames:
-      - {{ $fullName }}

+ 0 - 18
test/minio/8.0.5/templates/post-install-prometheus-metrics-rolebinding.yaml

@@ -1,18 +0,0 @@
-{{- $fullName := include "minio.fullname" . -}}
-apiVersion: rbac.authorization.k8s.io/v1
-kind: RoleBinding
-metadata:
-  name: {{ $fullName }}-update-prometheus-secret
-  labels:
-    app: {{ template "minio.name" . }}-update-prometheus-secret
-    chart: {{ template "minio.chart" . }}
-    release: {{ .Release.Name }}
-    heritage: {{ .Release.Service }}
-roleRef:
-  apiGroup: rbac.authorization.k8s.io
-  kind: Role
-  name: {{ $fullName }}-update-prometheus-secret
-subjects:
-  - kind: ServiceAccount
-    name: {{ $fullName }}-update-prometheus-secret
-    namespace: {{ .Release.Namespace | quote }}

+ 0 - 10
test/minio/8.0.5/templates/post-install-prometheus-metrics-serviceaccount.yaml

@@ -1,10 +0,0 @@
-{{- $fullName := include "minio.fullname" . -}}
-apiVersion: v1
-kind: ServiceAccount
-metadata:
-  name: {{ $fullName }}-update-prometheus-secret
-  labels:
-    app: {{ template "minio.name" . }}-update-prometheus-secret
-    chart: {{ template "minio.chart" . }}
-    release: {{ .Release.Name }}
-    heritage: {{ .Release.Service }}

+ 0 - 8
test/minio/8.0.5/values.yaml

@@ -5,14 +5,6 @@ image:
   tag: RELEASE.2020-11-19T23-48-16Z
   pullPolicy: IfNotPresent
 
-## Set default image, imageTag, and imagePullPolicy for the `jq` (the JSON
-## process used to create secret for prometheus ServiceMonitor).
-##
-helmKubectlJqImage:
-  repository: bskim45/helm-kubectl-jq
-  tag: 3.1.0
-  pullPolicy: IfNotPresent
-
 ## Additional arguments to pass to minio binary
 extraArgs: []