Add replica count back. Remove tag from image

This commit is contained in:
Luke Van Seters 2021-10-13 18:13:46 -04:00
parent 1d3543c982
commit 9e41f316cb
2 changed files with 5 additions and 4 deletions

View File

@ -5,7 +5,7 @@ metadata:
labels:
{{- include "mev-inspect.labels" . | nindent 4 }}
spec:
replicas: 1
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "mev-inspect.selectorLabels" . | nindent 6 }}
@ -28,7 +28,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.repository }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
livenessProbe:
exec:

View File

@ -2,10 +2,11 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: mev-inspect-py
repository: mev-inspect-py:latest
pullPolicy: IfNotPresent
tag: "latest"
imagePullSecrets: []
nameOverride: ""