[fix]utilize the 'replicaCount' variable in Values

This commit is contained in:
vickunwu 2022-05-09 16:55:54 +08:00 committed by GitHub
parent e41ee3cd47
commit c2188e6838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ metadata:
labels: labels:
{{- include "droneRunner.labels" . | nindent 4 }} {{- include "droneRunner.labels" . | nindent 4 }}
spec: spec:
replicas: {{- .Values.replicaCount | default 1 | quote }}
selector: selector:
matchLabels: matchLabels:
{{- include "droneRunner.selectorLabels" . | nindent 6 }} {{- include "droneRunner.selectorLabels" . | nindent 6 }}