From a3fcf85ee03cfcffe3c330a6207bc6c0f084367f Mon Sep 17 00:00:00 2001 From: dave-juicelabs <70105130+dave-juicelabs@users.noreply.github.com> Date: Fri, 28 Jul 2023 14:44:47 -0500 Subject: [PATCH] Removing prometheus service as there is only a single pod. (#50) --- charts/controller/Chart.yaml | 2 +- .../templates/prometheus-service.yaml | 22 ------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 charts/controller/templates/prometheus-service.yaml diff --git a/charts/controller/Chart.yaml b/charts/controller/Chart.yaml index c251d54..5341de6 100644 --- a/charts/controller/Chart.yaml +++ b/charts/controller/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: juice-controller -version: 1.0.7 +version: 1.0.8 type: application home: https://github.com/Juice-Labs/Juice-Labs icon: https://raw.githubusercontent.com/Juice-Labs/Juice-Labs/master/assets/Juice.svg diff --git a/charts/controller/templates/prometheus-service.yaml b/charts/controller/templates/prometheus-service.yaml deleted file mode 100644 index e6f8c8e..0000000 --- a/charts/controller/templates/prometheus-service.yaml +++ /dev/null @@ -1,22 +0,0 @@ -{{- if .Values.prometheus }} -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.service.namePrefix }}-prometheus -{{- if .Values.service.additionalAnnotations }} - annotations: -{{- if .Values.service.additionalAnnotations }} -{{ toYaml .Values.service.additionalAnnotations | indent 4 }} -{{- end }} -{{- end }} -spec: - selector: - app.juicelabs.co/controller: prometheus - ports: - - protocol: TCP - port: {{ .Values.prometheus.port }} - targetPort: prometheus -{{- if .Values.service.additionalSpec }} -{{ toYaml .Values.service.additionalSpec | indent 2 }} -{{- end}} -{{- end }} -- GitLab