From 7183ab44607877348261775192b1616c6f1aa52e Mon Sep 17 00:00:00 2001 From: GuillaumeV <88834548+guillaumevillemont@users.noreply.github.com> Date: Tue, 28 May 2024 10:10:04 +0200 Subject: [PATCH 1/3] Remove default securityContext --- charts/bookstack/values.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/charts/bookstack/values.yaml b/charts/bookstack/values.yaml index a9961b8..68eb136 100644 --- a/charts/bookstack/values.yaml +++ b/charts/bookstack/values.yaml @@ -29,17 +29,17 @@ serviceAccount: podAnnotations: {} ## Pod security options -podSecurityContext: - fsGroup: 1000 - -## Default security options to run bookstack as read only container without privilege escalation -securityContext: - allowPrivilegeEscalation: false - privileged: false - readOnlyRootFilesystem: true - runAsNonRoot: true - runAsGroup: 1000 - runAsUser: 1000 +podSecurityContext: {} + # fsGroup: 1000 + +## Default security options +securityContext: {} + # allowPrivilegeEscalation: false + # privileged: false + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsGroup: 1000 + # runAsUser: 1000 ## Default bookstack service port (default web service port) service: From 7a49437cc29b4488349b18f3e00031e4cd9a8c83 Mon Sep 17 00:00:00 2001 From: GuillaumeV <88834548+guillaumevillemont@users.noreply.github.com> Date: Tue, 28 May 2024 10:13:46 +0200 Subject: [PATCH 2/3] increment chart version --- charts/bookstack/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/bookstack/Chart.yaml b/charts/bookstack/Chart.yaml index a8f20c0..8ef9001 100644 --- a/charts/bookstack/Chart.yaml +++ b/charts/bookstack/Chart.yaml @@ -7,7 +7,7 @@ maintainers: # This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: "0.1.0" +version: "0.1.1" # Track the appVersion based on the image: # renovate: image=ghcr.io/linuxserver/bookstack From fb3561cc723fce5adc5bffc9c4cff3916a4556ef Mon Sep 17 00:00:00 2001 From: GuillaumeV <88834548+guillaumevillemont@users.noreply.github.com> Date: Wed, 29 May 2024 10:43:14 +0200 Subject: [PATCH 3/3] Fix typo context --- charts/bookstack/templates/deployment.yaml | 2 +- charts/bookstack/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/bookstack/templates/deployment.yaml b/charts/bookstack/templates/deployment.yaml index a8eb39e..5e8fae6 100644 --- a/charts/bookstack/templates/deployment.yaml +++ b/charts/bookstack/templates/deployment.yaml @@ -82,7 +82,7 @@ spec: - name: SAML2_GROUP_ATTRIBUTE value: {{ .groupAttribute | quote }} - name: SAML2_IDP_AUTHNCONTEXT - value: {{ .idpAuthnContent | quote }} + value: {{ .idpAuthnContext | quote }} - name: SAML2_IDP_ENTITYID value: {{ .idpEntityId | quote }} - name: SAML2_NAME diff --git a/charts/bookstack/values.yaml b/charts/bookstack/values.yaml index 68eb136..6b4f3c1 100644 --- a/charts/bookstack/values.yaml +++ b/charts/bookstack/values.yaml @@ -160,7 +160,7 @@ settings: emailAttribute: "email" externalIdAttribute: "email" groupAttribute: "Role" - idpAuthnContent: true + idpAuthnContext: true idpEntityId: https://sso.example.com/auth/realms/company/protocol/saml/descriptor name: "My SSO" removeFromGroups: true