From dab922ba7750f8c1b1859c2ee09f339c00d2789c Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Fri, 10 Jul 2020 20:14:09 +0200 Subject: [PATCH] Make docker-hub-exporter replica's configurable --- charts/docker-hub-exporter/Chart.yaml | 2 +- charts/docker-hub-exporter/templates/deployment.yaml | 2 +- charts/docker-hub-exporter/values.yaml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/docker-hub-exporter/Chart.yaml b/charts/docker-hub-exporter/Chart.yaml index c6d0929..3536a65 100644 --- a/charts/docker-hub-exporter/Chart.yaml +++ b/charts/docker-hub-exporter/Chart.yaml @@ -4,7 +4,7 @@ description: Docker Hub exporter home: https://github.com/jessestuart/docker-hub-exporter icon: https://helm.wyrihaximus.net/images/charts/docker-hub-exporter.png type: application -version: 0.2.3 +version: 0.2.4 appVersion: d05df48 maintainers: - name: WyriHaximus diff --git a/charts/docker-hub-exporter/templates/deployment.yaml b/charts/docker-hub-exporter/templates/deployment.yaml index f3da175..482d3a7 100644 --- a/charts/docker-hub-exporter/templates/deployment.yaml +++ b/charts/docker-hub-exporter/templates/deployment.yaml @@ -7,7 +7,7 @@ metadata: release: {{ include ".helm.fullname" . }} {{- include ".helm.labels" . | nindent 4 }} spec: - replicas: 1 + replicas: {{ .Values.replicas }} selector: matchLabels: {{- include ".helm.selectorLabels" . | nindent 6 }} diff --git a/charts/docker-hub-exporter/values.yaml b/charts/docker-hub-exporter/values.yaml index 201c9df..5082be3 100644 --- a/charts/docker-hub-exporter/values.yaml +++ b/charts/docker-hub-exporter/values.yaml @@ -9,6 +9,8 @@ grafana: influxdb: false prometheus: false +replicas: 1 + resources: # Setting this pretty low since this is a low resource intensive application, increase when needed limits: