real heart images

This commit is contained in:
Mikaël Cluseau 2022-09-07 16:40:07 +02:00
parent ddfd9532fb
commit bb995bd043
2 changed files with 23 additions and 5 deletions

View File

@ -27,10 +27,10 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: heart-front
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.static }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
@ -46,6 +46,25 @@ spec:
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
- name: heart-api
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.api }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: api
containerPort: 3000
protocol: TCP
livenessProbe:
httpGet:
path: /
port: api
readinessProbe:
httpGet:
path: /
port: api
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@ -5,10 +5,9 @@
replicaCount: 1
image:
repository: nginx
api: bgatellier/heart-novit:1.0
static: mcluseau/heart-front:latest
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""