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

View File

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