[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
1 changed files with 1 additions and 0 deletions

View File

@ -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 }}