Skip to content

Commit

Permalink
Remove Capabilities.APIVersions for Kustomize to parse file (kubernet…
Browse files Browse the repository at this point in the history
  • Loading branch information
stoupance authored and rchshld committed May 17, 2023
1 parent d37bc10 commit b71a3d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) .Values.controller.metrics.enabled .Values.controller.metrics.serviceMonitor.enabled -}}
{{- if and .Values.controller.metrics.enabled .Values.controller.metrics.serviceMonitor.enabled -}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Expand Down

0 comments on commit b71a3d7

Please sign in to comment.