Merge pull request #2307 from geethub97/pushprox-bug

Fixed parsing error in pushprox caused by PSP updates.
pull/2309/head
Geet Samra 2023-01-03 12:24:24 -08:00 committed by GitHub
commit f11221a55d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
38 changed files with 38 additions and 38 deletions

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding

View File

@ -8369,7 +8369,7 @@ entries:
catalog.cattle.io/upstream-version: 19.0.3
apiVersion: v2
appVersion: 0.59.1
created: "2022-12-22T16:39:32.939289-08:00"
created: "2023-01-03T10:56:12.63741-08:00"
dependencies:
- condition: grafana.enabled
name: grafana
@ -8440,7 +8440,7 @@ entries:
description: Collects several related Helm charts, Grafana dashboards, and Prometheus
rules combined with documentation and scripts to provide easy to operate end-to-end
Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
digest: 3facabbdf300c677ff31dead7fbe573dbe8eba2b98f69070ea18bdbd048c4bbe
digest: 1eb971b791af1e2b3241902465023e30ce39f47cedf42403b5fdc1a9f6017630
home: https://github.com/prometheus-operator/kube-prometheus
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
keywords:

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.client.name" . }}
{{- end }}
{{- if and .Values.clients.https.enabled .Values.clients.https.useServiceAccountCredentials }}
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

View File

@ -11,8 +11,8 @@ rules:
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
{{- end }}
- {{ template "pushProxy.proxy.name" . }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding