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:
@@ -1,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 5.2.0"
|
appVersion: 5.2.0
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://truecharts.org/
|
repository: https://truecharts.org/
|
||||||
@@ -27,4 +27,4 @@ name: sogo
|
|||||||
sources:
|
sources:
|
||||||
- https://www.sogo.nu/
|
- https://www.sogo.nu/
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.2
|
version: 2.0.3
|
||||||
|
|||||||
@@ -6,11 +6,16 @@
|
|||||||
image:
|
image:
|
||||||
repository: ghcr.io/truecharts/sogo
|
repository: ghcr.io/truecharts/sogo
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: "v5.2.0"
|
tag: v5.2.0
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-postgresdb
|
- name: init-postgresdb
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -2,7 +2,12 @@
|
|||||||
image:
|
image:
|
||||||
repository: ghcr.io/truecharts/sogo
|
repository: ghcr.io/truecharts/sogo
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: "v5.2.0"
|
tag: v5.2.0
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
# -- services
|
# -- services
|
||||||
service:
|
service:
|
||||||
@@ -15,7 +20,7 @@ service:
|
|||||||
initContainers:
|
initContainers:
|
||||||
# -- wait for database before starting sogo
|
# -- wait for database before starting sogo
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ The code-server sidecar container to be inserted.
|
|||||||
{{- fail "At least 1 volumeMount is required for codeserver container" }}
|
{{- fail "At least 1 volumeMount is required for codeserver container" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
name: codeserver
|
name: codeserver
|
||||||
image: "{{ .Values.addons.codeserver.image.repository }}:{{ .Values.addons.codeserver.image.tag }}"
|
image: "{{ .Values.codeserverImage.repository }}:{{ .Values.codeserverImage.tag }}"
|
||||||
imagePullPolicy: {{ .Values.addons.codeserver.pullPolicy }}
|
imagePullPolicy: {{ .Values.codeserverImage.pullPolicy }}
|
||||||
{{- with .Values.addons.codeserver.securityContext }}
|
{{- with .Values.addons.codeserver.securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ The netshoot sidecar container to be inserted.
|
|||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.netshoot.container" -}}
|
{{- define "common.addon.netshoot.container" -}}
|
||||||
name: netshoot
|
name: netshoot
|
||||||
image: "{{ .Values.addons.netshoot.image.repository }}:{{ .Values.addons.netshoot.image.tag }}"
|
image: "{{ .Values.netshootImage.repository }}:{{ .Values.netshootImage.tag }}"
|
||||||
imagePullPolicy: {{ .Values.addons.netshoot.pullPolicy }}
|
imagePullPolicy: {{ .Values.netshootImage.pullPolicy }}
|
||||||
{{- with .Values.addons.netshoot.securityContext }}
|
{{- with .Values.addons.netshoot.securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ The promtail sidecar container to be inserted.
|
|||||||
{{- fail "At least 1 volumeMount is required for the promtail container" }}
|
{{- fail "At least 1 volumeMount is required for the promtail container" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
name: promtail
|
name: promtail
|
||||||
image: "{{ .Values.addons.promtail.image.repository }}:{{ .Values.addons.promtail.image.tag }}"
|
image: "{{ .Values.promtailImage.repository }}:{{ .Values.promtailImage.tag }}"
|
||||||
imagePullPolicy: {{ .Values.addons.promtail.pullPolicy }}
|
imagePullPolicy: {{ .Values.promtailImage.pullPolicy }}
|
||||||
{{- with .Values.addons.promtail.securityContext }}
|
{{- with .Values.addons.promtail.securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ The OpenVPN sidecar container to be inserted.
|
|||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.openvpn.container" -}}
|
{{- define "common.addon.openvpn.container" -}}
|
||||||
name: openvpn
|
name: openvpn
|
||||||
image: "{{ .Values.addons.vpn.openvpn.image.repository }}:{{ .Values.addons.vpn.openvpn.image.tag }}"
|
image: "{{ .Values.openvpnImage.repository }}:{{ .Values.openvpnImage.tag }}"
|
||||||
imagePullPolicy: {{ .Values.addons.vpn.openvpn.pullPolicy }}
|
imagePullPolicy: {{ .Values.openvpnImage.pullPolicy }}
|
||||||
{{- with .Values.addons.vpn.securityContext }}
|
{{- with .Values.addons.vpn.securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ The Wireguard sidecar container to be inserted.
|
|||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.wireguard.container" -}}
|
{{- define "common.addon.wireguard.container" -}}
|
||||||
name: wireguard
|
name: wireguard
|
||||||
image: "{{ .Values.addons.vpn.wireguard.image.repository }}:{{ .Values.addons.vpn.wireguard.image.tag }}"
|
image: "{{ .Values.wireguardImage.repository }}:{{ .Values.wireguardImage.tag }}"
|
||||||
imagePullPolicy: {{ .Values.addons.vpn.wireguard.pullPolicy }}
|
imagePullPolicy: {{ .Values.wireguardImage.pullPolicy }}
|
||||||
{{- with .Values.addons.vpn.securityContext }}
|
{{- with .Values.addons.vpn.securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ before chart installation.
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: autopermissions
|
- name: autopermissions
|
||||||
image: alpine:3.3
|
image: {{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }}
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
|||||||
@@ -1,3 +1,57 @@
|
|||||||
|
# -- OpenVPN specific configuration
|
||||||
|
# @default -- See below
|
||||||
|
openvpnImage:
|
||||||
|
# -- Specify the openvpn client image
|
||||||
|
repository: dperson/openvpn-client
|
||||||
|
# -- Specify the openvpn client image tag
|
||||||
|
tag: latest
|
||||||
|
# -- Specify the openvpn client image pull policy
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
|
||||||
|
# -- WireGuard specific configuration
|
||||||
|
# @default -- See below
|
||||||
|
wireguardImage:
|
||||||
|
# -- Specify the WireGuard image
|
||||||
|
repository: ghcr.io/k8s-at-home/wireguard
|
||||||
|
# -- Specify the WireGuard image tag
|
||||||
|
tag: v1.0.20210424
|
||||||
|
# -- Specify the WireGuard image pull policy
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
promtailImage:
|
||||||
|
# -- Specify the promtail image
|
||||||
|
repository: grafana/promtail
|
||||||
|
# -- Specify the promtail image tag
|
||||||
|
tag: 2.2.0
|
||||||
|
# -- Specify the promtail image pull policy
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
|
||||||
|
netshootImage:
|
||||||
|
# -- Specify the netshoot image
|
||||||
|
repository: nicolaka/netshoot
|
||||||
|
# -- Specify the netshoot image tag
|
||||||
|
tag: latest
|
||||||
|
# -- Specify the netshoot image pull policy
|
||||||
|
pullPolicy: Always
|
||||||
|
|
||||||
|
codeserverImage:
|
||||||
|
# -- Specify the code-server image
|
||||||
|
repository: codercom/code-server
|
||||||
|
# -- Specify the code-server image tag
|
||||||
|
tag: 3.9.2
|
||||||
|
# -- Specify the code-server image pull policy
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
alpineImage:
|
||||||
|
# -- Specify the code-server image
|
||||||
|
repository: alpine
|
||||||
|
# -- Specify the code-server image tag
|
||||||
|
tag: "3.3"
|
||||||
|
# -- Specify the code-server image pull policy
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
global:
|
global:
|
||||||
# -- Set an override for the prefix of the fullname
|
# -- Set an override for the prefix of the fullname
|
||||||
nameOverride:
|
nameOverride:
|
||||||
@@ -641,30 +695,14 @@ addons:
|
|||||||
# -- OpenVPN specific configuration
|
# -- OpenVPN specific configuration
|
||||||
# @default -- See below
|
# @default -- See below
|
||||||
openvpn:
|
openvpn:
|
||||||
image:
|
|
||||||
# -- Specify the openvpn client image
|
|
||||||
repository: dperson/openvpn-client
|
|
||||||
# -- Specify the openvpn client image tag
|
|
||||||
tag: latest
|
|
||||||
# -- Specify the openvpn client image pull policy
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
# -- Credentials to connect to the VPN Service (used with -a)
|
# -- Credentials to connect to the VPN Service (used with -a)
|
||||||
auth: # "user;password"
|
auth: # "user;password"
|
||||||
# -- Optionally specify an existing secret that contains the credentials.
|
# -- Optionally specify an existing secret that contains the credentials.
|
||||||
# Credentials should be stored under the `VPN_AUTH` key
|
# Credentials should be stored under the `VPN_AUTH` key
|
||||||
authSecret: # my-vpn-secret
|
authSecret: # my-vpn-secret
|
||||||
|
|
||||||
# -- WireGuard specific configuration
|
# -- WireGuard specific configuration
|
||||||
# @default -- See below
|
# @default -- See below
|
||||||
wireguard:
|
wireguard: {}
|
||||||
image:
|
|
||||||
# -- Specify the WireGuard image
|
|
||||||
repository: ghcr.io/k8s-at-home/wireguard
|
|
||||||
# -- Specify the WireGuard image tag
|
|
||||||
tag: v1.0.20210424
|
|
||||||
# -- Specify the WireGuard image pull policy
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
# -- Set the VPN container securityContext
|
# -- Set the VPN container securityContext
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
@@ -690,7 +728,6 @@ addons:
|
|||||||
# See Kubernetes documentation for options.
|
# See Kubernetes documentation for options.
|
||||||
hostPathType: "File"
|
hostPathType: "File"
|
||||||
|
|
||||||
|
|
||||||
# -- Provide custom up/down scripts that can be used by the vpn configuration.
|
# -- Provide custom up/down scripts that can be used by the vpn configuration.
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
scripts:
|
scripts:
|
||||||
@@ -709,18 +746,9 @@ addons:
|
|||||||
# -- Enable running a code-server container in the pod
|
# -- Enable running a code-server container in the pod
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
image:
|
|
||||||
# -- Specify the code-server image
|
|
||||||
repository: codercom/code-server
|
|
||||||
# -- Specify the code-server image tag
|
|
||||||
tag: 3.9.2
|
|
||||||
# -- Specify the code-server image pull policy
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
# -- Set any environment variables for code-server here
|
# -- Set any environment variables for code-server here
|
||||||
env: {}
|
env: {}
|
||||||
# TZ: UTC
|
# TZ: UTC
|
||||||
|
|
||||||
# -- Set codeserver command line arguments.
|
# -- Set codeserver command line arguments.
|
||||||
# Consider setting --user-data-dir to a persistent location to preserve code-server setting changes
|
# Consider setting --user-data-dir to a persistent location to preserve code-server setting changes
|
||||||
args:
|
args:
|
||||||
@@ -794,24 +822,12 @@ addons:
|
|||||||
promtail:
|
promtail:
|
||||||
# -- Enable running a promtail container in the pod
|
# -- Enable running a promtail container in the pod
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
image:
|
|
||||||
# -- Specify the promtail image
|
|
||||||
repository: grafana/promtail
|
|
||||||
# -- Specify the promtail image tag
|
|
||||||
tag: 2.2.0
|
|
||||||
# -- Specify the promtail image pull policy
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
# -- Set any environment variables for promtail here
|
# -- Set any environment variables for promtail here
|
||||||
env: {}
|
env: {}
|
||||||
|
|
||||||
# -- Set promtail command line arguments
|
# -- Set promtail command line arguments
|
||||||
args: []
|
args: []
|
||||||
|
|
||||||
# -- The URL to Loki
|
# -- The URL to Loki
|
||||||
loki: ""
|
loki: ""
|
||||||
|
|
||||||
# -- The paths to logs on the volume
|
# -- The paths to logs on the volume
|
||||||
logs: []
|
logs: []
|
||||||
# - name: log
|
# - name: log
|
||||||
@@ -833,14 +849,6 @@ addons:
|
|||||||
# -- Enable running a netshoot container in the pod
|
# -- Enable running a netshoot container in the pod
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
image:
|
|
||||||
# -- Specify the netshoot image
|
|
||||||
repository: nicolaka/netshoot
|
|
||||||
# -- Specify the netshoot image tag
|
|
||||||
tag: latest
|
|
||||||
# -- Specify the netshoot image pull policy
|
|
||||||
pullPolicy: Always
|
|
||||||
|
|
||||||
# -- Set any environment variables for netshoot here
|
# -- Set any environment variables for netshoot here
|
||||||
env: {}
|
env: {}
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,12 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: "4.30.4"
|
tag: "4.30.4"
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
|
|
||||||
enableServiceLinks: false
|
enableServiceLinks: false
|
||||||
|
|
||||||
command: ["authelia"]
|
command: ["authelia"]
|
||||||
@@ -17,7 +23,7 @@ args: ["--config=/configuration.yaml"]
|
|||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -5,6 +5,12 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: "4.30.4"
|
tag: "4.30.4"
|
||||||
|
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
command: ["authelia"]
|
command: ["authelia"]
|
||||||
args: ["--config=/configuration.yaml"]
|
args: ["--config=/configuration.yaml"]
|
||||||
|
|
||||||
@@ -21,7 +27,7 @@ service:
|
|||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -9,9 +9,15 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-5.5.12
|
tag: version-5.5.12
|
||||||
|
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -5,6 +5,12 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: version-5.5.12
|
tag: version-5.5.12
|
||||||
|
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
@@ -22,7 +28,7 @@ service:
|
|||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -9,6 +9,11 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: 22.1.1
|
tag: 22.1.1
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
@@ -43,7 +48,7 @@ envValueFrom:
|
|||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
@@ -56,7 +61,6 @@ initContainers:
|
|||||||
name: dbcreds
|
name: dbcreds
|
||||||
key: plainhost
|
key: plainhost
|
||||||
|
|
||||||
|
|
||||||
# -- Probe configuration
|
# -- Probe configuration
|
||||||
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
|
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
|
||||||
# @default -- See below
|
# @default -- See below
|
||||||
|
|||||||
@@ -5,6 +5,11 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: 22.1.1
|
tag: 22.1.1
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: "13.1"
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
@@ -69,7 +74,7 @@ persistence:
|
|||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -9,6 +9,12 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: 1.22.2
|
tag: 1.22.2
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
|
|
||||||
envTpl:
|
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 }}"
|
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:
|
initContainers:
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -5,6 +5,12 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: 1.22.2
|
tag: 1.22.2
|
||||||
|
|
||||||
|
postgresqlImage:
|
||||||
|
repository: postgres
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 13.4-alpine
|
||||||
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
@@ -91,7 +97,7 @@ ingress:
|
|||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
init-postgresdb:
|
init-postgresdb:
|
||||||
image: postgres:13.1
|
image: "{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}"
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ sync_tag() {
|
|||||||
local train="$3"
|
local train="$3"
|
||||||
local chartversion="$4"
|
local chartversion="$4"
|
||||||
echo "Attempting to sync primary tag with appversion for: ${chartname}"
|
echo "Attempting to sync primary tag with appversion for: ${chartname}"
|
||||||
local tag="$(cat ${chart}/values.yaml | grep "^ tag: " | awk -F" " '{ print $2 }')"
|
local tag="$(cat ${chart}/values.yaml | grep '^ tag: ' | awk -F" " '{ print $2 }' | head -1)"
|
||||||
tag="${tag:-auto}"
|
tag="${tag:-auto}"
|
||||||
tag="${tag#*release-}"
|
tag="${tag#*release-}"
|
||||||
tag="${tag#*version-}"
|
tag="${tag#*version-}"
|
||||||
|
|||||||
Reference in New Issue
Block a user