From bc5bad42b4ffcd751df3d7efcfa65b119f35024d Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Tue, 22 Mar 2022 17:00:53 -0500 Subject: [PATCH] Fix invalid fields in values for postgresql The postgresql chart currently fails to run when deployed with helm v3 due to invalid fields defined in values.yaml that are more strictly enforced. This change removes these invalid values to allow deploying the postgresql chart with helm v3. Change-Id: Iabd3cfa77da618026ceb2dfdffd5d2a0b1519d93 --- postgresql/Chart.yaml | 2 +- postgresql/values.yaml | 4 ---- releasenotes/notes/postgresql.yaml | 1 + 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/postgresql/Chart.yaml b/postgresql/Chart.yaml index aa5f11ac4..db9bbe379 100644 --- a/postgresql/Chart.yaml +++ b/postgresql/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v9.6 description: OpenStack-Helm PostgreSQL name: postgresql -version: 0.1.13 +version: 0.1.14 home: https://www.postgresql.org sources: - https://github.com/postgres/postgres diff --git a/postgresql/values.yaml b/postgresql/values.yaml index cf26283ac..2e6d4bda6 100644 --- a/postgresql/values.yaml +++ b/postgresql/values.yaml @@ -31,8 +31,6 @@ pod: runAsUser: 999 # fsGroup used to allows cert file be witten to file. fsGroup: 999 - allowPrivilegeEscalation: false - readOnlyRootFilesystem: true container: set_volume_perms: runAsUser: 0 @@ -43,8 +41,6 @@ pod: postgresql_backup: pod: runAsUser: 65534 - allowPrivilegeEscalation: false - readOnlyRootFilesystem: true container: backup_perms: runAsUser: 0 diff --git a/releasenotes/notes/postgresql.yaml b/releasenotes/notes/postgresql.yaml index 5119ec9da..15387fea0 100644 --- a/releasenotes/notes/postgresql.yaml +++ b/releasenotes/notes/postgresql.yaml @@ -14,4 +14,5 @@ postgresql: - 0.1.11 Update htk requirements - 0.1.12 Enhance postgresql backup - 0.1.13 Remove set -x + - 0.1.14 Fix invalid fields in values ...