Skip to content

Commit

Permalink
Service monitor API value configurable (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzar authored Oct 22, 2024
1 parent 402a10f commit f796076
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: dcgm-exporter
description: A Helm chart for DCGM exporter
version: "3.6.0"
version: "3.7.0"
kubeVersion: ">= 1.19.0-0"
appVersion: "3.6.0"
sources:
Expand Down
2 changes: 1 addition & 1 deletion deployment/templates/service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: monitoring.coreos.com/v1
apiVersion: {{ .Values.service-monitor.apiVersion }}
kind: ServiceMonitor
metadata:
name: {{ include "dcgm-exporter.fullname" . }}
Expand Down
1 change: 1 addition & 0 deletions deployment/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ resources: {}
# cpu: 100m
# memory: 128Mi
serviceMonitor:
apiVersion: "monitoring.coreos.com/v1"
enabled: true
interval: 15s
honorLabels: false
Expand Down

0 comments on commit f796076

Please sign in to comment.