From 96ab63875615fd8ebda68715e12041a6224c1c86 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 17 Mar 2025 23:47:29 +0800 Subject: [PATCH] fix: remove serviceMonitor.enabled variable from service templates in authentication, centralStorage, content, notification, and payment services Signed-off-by: zhenyus --- .../authentication/templates/authentication/service.yaml | 1 - .../centralStorage/templates/central-storage/service.yaml | 1 - freeleaps/helm-pkg/content/templates/content/service.yaml | 1 - .../helm-pkg/notification/templates/notification/service.yaml | 1 - freeleaps/helm-pkg/payment/templates/payment/service.yaml | 1 - 5 files changed, 5 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/service.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/service.yaml index c82add73..cacd94d6 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/service.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/service.yaml @@ -2,7 +2,6 @@ {{ $appVersion := .Chart.AppVersion | quote }} {{ $releaseService := .Release.Service }} {{ $releaseName := .Release.Name }} -{{ $serviceMonitorEnabled := .Values.authentication.serviceMonitor.enabled }} {{- range $service := .Values.authentication.services }} --- apiVersion: v1 diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/service.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/service.yaml index 780e700f..99855e2c 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/service.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/service.yaml @@ -2,7 +2,6 @@ {{ $appVersion := .Chart.AppVersion | quote }} {{ $releaseService := .Release.Service }} {{ $releaseName := .Release.Name }} -{{ $serviceMonitorEnabled := .Values.centralStorage.serviceMonitor.enabled }} {{- range $service := .Values.centralStorage.services }} --- apiVersion: v1 diff --git a/freeleaps/helm-pkg/content/templates/content/service.yaml b/freeleaps/helm-pkg/content/templates/content/service.yaml index 8f4e4204..f6fbc57c 100644 --- a/freeleaps/helm-pkg/content/templates/content/service.yaml +++ b/freeleaps/helm-pkg/content/templates/content/service.yaml @@ -2,7 +2,6 @@ {{ $appVersion := .Chart.AppVersion | quote }} {{ $releaseService := .Release.Service }} {{ $releaseName := .Release.Name }} -{{ $serviceMonitorEnabled := .Values.content.serviceMonitor.enabled }} {{- range $service := .Values.content.services }} --- apiVersion: v1 diff --git a/freeleaps/helm-pkg/notification/templates/notification/service.yaml b/freeleaps/helm-pkg/notification/templates/notification/service.yaml index 89b8ebbf..a8b1d9f4 100644 --- a/freeleaps/helm-pkg/notification/templates/notification/service.yaml +++ b/freeleaps/helm-pkg/notification/templates/notification/service.yaml @@ -2,7 +2,6 @@ {{ $appVersion := .Chart.AppVersion | quote }} {{ $releaseService := .Release.Service }} {{ $releaseName := .Release.Name }} -{{ $serviceMonitorEnabled := .Values.notification.serviceMonitor.enabled }} {{- range $service := .Values.notification.services }} --- apiVersion: v1 diff --git a/freeleaps/helm-pkg/payment/templates/payment/service.yaml b/freeleaps/helm-pkg/payment/templates/payment/service.yaml index 5f5b7d93..dd9ee29c 100644 --- a/freeleaps/helm-pkg/payment/templates/payment/service.yaml +++ b/freeleaps/helm-pkg/payment/templates/payment/service.yaml @@ -2,7 +2,6 @@ {{ $appVersion := .Chart.AppVersion | quote }} {{ $releaseService := .Release.Service }} {{ $releaseName := .Release.Name }} -{{ $serviceMonitorEnabled := .Values.payment.serviceMonitor.enabled }} {{- range $service := .Values.payment.services }} --- apiVersion: v1