From b882eea1824ec21bfcdcc2d85bb010af404cb99e Mon Sep 17 00:00:00 2001 From: Alexander Olofsson Date: Thu, 21 Sep 2023 13:35:21 +0200 Subject: [PATCH] netbox: Release 5.5.1 - fix postgres cert issues Due to changes in psycopg2 and nginx-unit, SSL connection to postgres were failing as they weren't able to load the fallback cert path anymore, this change causes it to look up certs under /tmp instead and properly failover --- charts/netbox/Chart.yaml | 2 +- charts/netbox/templates/deployment-housekeeping.yaml | 2 ++ charts/netbox/templates/deployment-worker.yaml | 2 ++ charts/netbox/templates/deployment.yaml | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index a7de09f..e3b6d32 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -10,7 +10,7 @@ icon: https://raw.githubusercontent.com/digitalocean/netbox/develop/netbox/proje appVersion: 3.6.2 type: application -version: 5.5.0 +version: 5.5.1 maintainers: - name: Alexander Olofsson email: ace@haxalot.com diff --git a/charts/netbox/templates/deployment-housekeeping.yaml b/charts/netbox/templates/deployment-housekeeping.yaml index ff9a331..5ef682f 100644 --- a/charts/netbox/templates/deployment-housekeeping.yaml +++ b/charts/netbox/templates/deployment-housekeeping.yaml @@ -33,6 +33,8 @@ spec: image: "{{ .Values.image.repository }}:{{ include "netbox.imageTag" . }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: + - name: HOME + value: /tmp {{- if and (or .Values.redis.auth.existingSecret .Values.redis.enabled) (not .Values.redis.auth.password) }} - name: REDIS_PASSWORD valueFrom: diff --git a/charts/netbox/templates/deployment-worker.yaml b/charts/netbox/templates/deployment-worker.yaml index c147a21..844a791 100644 --- a/charts/netbox/templates/deployment-worker.yaml +++ b/charts/netbox/templates/deployment-worker.yaml @@ -35,6 +35,8 @@ spec: image: "{{ .Values.image.repository }}:{{ include "netbox.imageTag" . }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: + - name: HOME + value: /tmp {{- if and (or .Values.redis.auth.existingSecret .Values.redis.enabled) (not .Values.redis.auth.password) }} - name: REDIS_PASSWORD valueFrom: diff --git a/charts/netbox/templates/deployment.yaml b/charts/netbox/templates/deployment.yaml index 0e60818..f5605d8 100644 --- a/charts/netbox/templates/deployment.yaml +++ b/charts/netbox/templates/deployment.yaml @@ -39,6 +39,8 @@ spec: image: "{{ .Values.image.repository }}:{{ include "netbox.imageTag" . }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: + - name: HOME + value: /tmp {{- if and (or .Values.redis.auth.existingSecret .Values.redis.enabled) (not .Values.redis.auth.password) }} - name: REDIS_PASSWORD valueFrom: