Skip to content

Commit

Permalink
Fix: ServiceMonitor labels selector indentation (#548)
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
  • Loading branch information
nlamirault committed Sep 28, 2023
1 parent 118c4d9 commit 1104f56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 2 additions & 4 deletions charts/cloudflare-tunnel/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
name: cloudflare-tunnel
description: Creation of a cloudflared deployment - a reverse tunnel for an environment
type: application
version: 0.2.0
version: 0.2.1
appVersion: "2023.5.1"
icon: https://www.vectorlogo.zone/logos/cloudflare/cloudflare-icon.svg
home: https://github.com/nlamirault/portefaix-hub
Expand Down Expand Up @@ -32,7 +32,5 @@ annotations:
fingerprint: C39918B3EBDE35C23B8D0B8E5F99269A6FCA437C
url: https://keybase.io/nlamirault/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
description: Expose metrics port
- kind: fixed
description: ServiceMonitor selector labels indentation
description: ServiceMonitor selector labels
9 changes: 3 additions & 6 deletions charts/cloudflare-tunnel/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ spec:
{{- if .Values.serviceMonitor.honorLabels }}
honorLabels: true
{{- end }}
selector:
matchLabels:
{{- include "cloudflare-tunnel.selectorLabels" . | nindent 6 }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
{{- include "cloudflare-tunnel.selectorLabels" . | nindent 6 }}
{{- end }}

0 comments on commit 1104f56

Please sign in to comment.