From c2188e6838888dca821afb38290b0fa7ca9a5946 Mon Sep 17 00:00:00 2001 From: vickunwu <31735039+vickunwu@users.noreply.github.com> Date: Mon, 9 May 2022 16:55:54 +0800 Subject: [PATCH] [fix]utilize the 'replicaCount' variable in Values --- templates/deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 2364a2e..7b11e1d 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -5,6 +5,7 @@ metadata: labels: {{- include "droneRunner.labels" . | nindent 4 }} spec: + replicas: {{- .Values.replicaCount | default 1 | quote }} selector: matchLabels: {{- include "droneRunner.selectorLabels" . | nindent 6 }}