refactor: change image layout to enable renovate updates of sidecarts (#955)

* some cleanup for common (+6 squashed commit)

Squashed commit:

[43a501de8] bump sogo

[62c009b63] some tryouts

[6840fafdb] try to fix rendering of new format

[003d3c81b] move seperate apps to new format and fix mistake in common

[752ae2c68] more work on the image refactor

[edfc28533] refactor common images

* sogo scale differently

* slight release build fix

* fix issues with release script and multiple tags
This commit is contained in:
Kjeld Schouten-Lebbing
2021-09-10 16:57:08 +02:00
committed by GitHub
parent fe3af5e130
commit 00e9bd819f
19 changed files with 137 additions and 74 deletions
+7 -1
View File
@@ -9,6 +9,12 @@ image:
pullPolicy: IfNotPresent
tag: "4.30.4"
postgresqlImage:
repository: postgres
pullPolicy: IfNotPresent
tag: 13.4-alpine
enableServiceLinks: false
command: ["authelia"]
@@ -17,7 +23,7 @@ args: ["--config=/configuration.yaml"]
initContainers:
init-postgresdb:
image: postgres:13.1
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
command:
- "sh"
- "-c"
+7 -1
View File
@@ -5,6 +5,12 @@ image:
pullPolicy: IfNotPresent
tag: "4.30.4"
postgresqlImage:
repository: postgres
pullPolicy: IfNotPresent
tag: 13.4-alpine
command: ["authelia"]
args: ["--config=/configuration.yaml"]
@@ -21,7 +27,7 @@ service:
initContainers:
init-postgresdb:
image: postgres:13.1
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
command:
- "sh"
- "-c"
@@ -9,9 +9,15 @@ image:
pullPolicy: IfNotPresent
tag: version-5.5.12
postgresqlImage:
repository: postgres
pullPolicy: IfNotPresent
tag: 13.4-alpine
initContainers:
init-postgresdb:
image: postgres:13.1
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
command:
- "sh"
- "-c"
+7 -1
View File
@@ -5,6 +5,12 @@ image:
pullPolicy: IfNotPresent
tag: version-5.5.12
postgresqlImage:
repository: postgres
pullPolicy: IfNotPresent
tag: 13.4-alpine
strategy:
type: Recreate
@@ -22,7 +28,7 @@ service:
initContainers:
init-postgresdb:
image: postgres:13.1
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
command:
- "sh"
- "-c"
+6 -2
View File
@@ -9,6 +9,11 @@ image:
pullPolicy: IfNotPresent
tag: 22.1.1
postgresqlImage:
repository: postgres
pullPolicy: IfNotPresent
tag: 13.4-alpine
strategy:
type: Recreate
@@ -43,7 +48,7 @@ envValueFrom:
initContainers:
init-postgresdb:
image: postgres:13.1
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
command:
- "sh"
- "-c"
@@ -56,7 +61,6 @@ initContainers:
name: dbcreds
key: plainhost
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
# @default -- See below
+6 -1
View File
@@ -5,6 +5,11 @@ image:
pullPolicy: IfNotPresent
tag: 22.1.1
postgresqlImage:
repository: postgres
pullPolicy: IfNotPresent
tag: "13.1"
strategy:
type: Recreate
@@ -69,7 +74,7 @@ persistence:
initContainers:
init-postgresdb:
image: postgres:13.1
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
command:
- "sh"
- "-c"
@@ -9,6 +9,12 @@ image:
pullPolicy: IfNotPresent
tag: 1.22.2
postgresqlImage:
repository: postgres
pullPolicy: IfNotPresent
tag: 13.4-alpine
envTpl:
DOMAIN: "https://{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ else }}placeholder.com{{ end }}{{ else }}placeholder.com{{ end }}"
@@ -20,7 +26,7 @@ envFrom:
initContainers:
init-postgresdb:
image: postgres:13.1
image: "{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}"
command:
- "sh"
- "-c"
+7 -1
View File
@@ -5,6 +5,12 @@ image:
pullPolicy: IfNotPresent
tag: 1.22.2
postgresqlImage:
repository: postgres
pullPolicy: IfNotPresent
tag: 13.4-alpine
strategy:
type: Recreate
@@ -91,7 +97,7 @@ ingress:
initContainers:
init-postgresdb:
image: postgres:13.1
image: "{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}"
command:
- "sh"
- "-c"