From 94e885cf759554b3d2dbd56a1552ec3a40a88ffb Mon Sep 17 00:00:00 2001 From: Masaki Yatsu Date: Sun, 23 Nov 2025 16:10:36 +0900 Subject: [PATCH] fix(airflow): fix checking monitoring flag --- CLAUDE.md | 4 ++-- airflow/airflow-values.gomplate.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5505240..8691061 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -148,7 +148,7 @@ namespace: {{ .Env.PROMETHEUS_NAMESPACE }} ingress: hosts: - {{ .Env.GRAFANA_HOST }} -{{- if .Env.MONITORING_ENABLED }} +{{- if eq .Env.MONITORING_ENABLED "true" }} monitoring: enabled: true {{- end }} @@ -181,7 +181,7 @@ install: ServiceMonitor template (`servicemonitor.gomplate.yaml`): ```yaml -{{- if .Env.MONITORING_ENABLED }} +{{- if eq .Env.MONITORING_ENABLED "true" }} apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: diff --git a/airflow/airflow-values.gomplate.yaml b/airflow/airflow-values.gomplate.yaml index 4421fdb..1fe6d59 100644 --- a/airflow/airflow-values.gomplate.yaml +++ b/airflow/airflow-values.gomplate.yaml @@ -187,7 +187,7 @@ statsd: drop: - ALL -{{- if .Env.MONITORING_ENABLED }} +{{- if eq .Env.MONITORING_ENABLED "true" }} # Prometheus metrics configuration metrics: enabled: true