Skip to content

Commit

Permalink
Adjust indent and serviceMonitor -> servicemonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Nov 13, 2023
1 parent e7fb6ec commit 9c4af94
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions helm/oauth2-proxy/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 18.1.5
digest: sha256:1b36e81e2d34a33ba7aa2229bfe6216ace85789aea70f9c2d72c59d58f3a2b4f
generated: "2023-10-17T15:27:08.54732+02:00"
version: 18.1.6
digest: sha256:7f2a388e0e822328364d22242f5a20fe3e7fd9859240e490b1075982cb921152
generated: "2023-11-13T12:39:20.523433+01:00"
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/ci/servicemonitor-values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
metrics:
enabled: true
serviceMonitor:
servicemonitor:
enabled: true
annotations:
key: value
Expand Down
22 changes: 11 additions & 11 deletions helm/oauth2-proxy/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
{{- with .Values.metrics.serviceMonitor.annotations }}
{{- with .Values.metrics.servicemonitor.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -30,28 +30,28 @@ spec:
endpoints:
- port: metrics
path: "/metrics"
{{- with .Values.metrics.serviceMonitor.interval }}
{{- with .Values.metrics.servicemonitor.interval }}
interval: {{ . }}
{{- end }}
{{- with .Values.metrics.serviceMonitor.scrapeTimeout }}
{{- with .Values.metrics.servicemonitor.scrapeTimeout }}
scrapeTimeout: {{ . }}
{{- end }}
{{- with .Values.metrics.serviceMonitor.scheme }}
{{- with .Values.metrics.servicemonitor.scheme }}
scheme: {{ . }}
{{- end }}
{{- with .Values.metrics.serviceMonitor.bearerTokenFile }}
{{- with .Values.metrics.servicemonitor.bearerTokenFile }}
bearerTokenFile: {{ . }}
{{- end }}
{{- with .Values.metrics.serviceMonitor.tlsConfig }}
{{- with .Values.metrics.servicemonitor.tlsConfig }}
tlsConfig:
{{- toYaml .| nindent 8 }}
{{- toYaml .| nindent 4 }}
{{- end }}
{{- with .Values.metrics.serviceMonitor.metricRelabelings }}
{{- with .Values.metrics.servicemonitor.metricRelabelings }}
metricRelabelings:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.metrics.serviceMonitor.relabelings }}
{{- with .Values.metrics.servicemonitor.relabelings }}
relabelings:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

0 comments on commit 9c4af94

Please sign in to comment.