Browse Source

Merge branch 'master' of https://gyulai.cloud/git/bme/covidok-backend

master
Daniel Gyulai 4 years ago
parent
commit
95878130f4
  1. 7
      helm/covidok/templates/deployment.yaml

7
helm/covidok/templates/deployment.yaml

@ -5,7 +5,7 @@ metadata:
labels:
{{- include "covidok.labels" . | nindent 4 }}
spec:
replicas: 1
replicas: 3
selector:
matchLabels:
{{- include "covidok.selectorLabels" . | nindent 6 }}
@ -22,6 +22,11 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
- name: mysql
image: mysql:8.0
command: ["/bin/bash"]
args: ["-c", "while ! mysqladmin ping -h mysql --silent; do sleep 1; done"]
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.images.covidok.name }}:{{ .Values.images.covidok.tag }}"

Loading…
Cancel
Save