[SIS-xxx] refactoring to use a base image for rest api instead of a zipfile

changing image pull policy for rest api and bot to always
renaming rest api container
This commit is contained in:
Sheldan
2023-12-20 21:07:59 +01:00
parent 4128274a7d
commit 58d6b12a67
7 changed files with 12 additions and 50 deletions

View File

@@ -25,7 +25,7 @@ spec:
securityContext:
{{- toYaml .Values.restApi.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: {{ .Chart.Name }}-rest-api
securityContext:
{{- toYaml .Values.restApi.securityContext | nindent 12 }}
image: "{{ .Values.restApi.repository }}/{{ .Values.restApi.image }}:{{ .Values.restApi.tag | default .Chart.AppVersion }}"

View File

@@ -6,7 +6,7 @@ replicaCount: 1
bot:
repository: harbor.sheldan.dev/sissi
pullPolicy: IfNotPresent
pullPolicy: Always
image: sissi-bot
tag: 1.4.29
livenessProbe:
@@ -23,7 +23,7 @@ bot:
restApi:
enabled: true
repository: harbor.sheldan.dev/sissi
pullPolicy: IfNotPresent
pullPolicy: Always
image: sissi-rest-api
tag: 1.4.29
podAnnotations: {}