From d5a13099d82fea85696927a06ce376e5070b5d24 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 24 Apr 2022 19:42:24 +0200
Subject: [PATCH] fix(postgres-system): Add missing update instructions for
 CRDs

The upgrade from postgresql-operator 1.7.1 to 1.8.0 failed due to
missing settings for CRD upgrades. This patch fixes it, but explicitly
configuring flux to allow CRD upgrades.
---
 infrastructure/postgres/release.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/infrastructure/postgres/release.yaml b/infrastructure/postgres/release.yaml
index ac7e3802b..0a51bc792 100644
--- a/infrastructure/postgres/release.yaml
+++ b/infrastructure/postgres/release.yaml
@@ -16,6 +16,10 @@ spec:
         - values.yaml
       version: 1.8.0
   interval: 5m
+  install:
+    crds: CreateReplace
+  upgrade:
+    crds: CreateReplace
   values:
     configKubernetes:
       enable_pod_antiaffinity: true
-- 
GitLab