From f5a50720242465794fdbee21fed1750f9e68dc60 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Fri, 27 Oct 2023 13:35:57 -0400 Subject: [PATCH] add security context to airbyte pod --- charts/airbyte-webapp/templates/deployment.yaml | 4 ++++ charts/airbyte/Chart.lock | 6 +++--- charts/airbyte/Chart.yaml | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/charts/airbyte-webapp/templates/deployment.yaml b/charts/airbyte-webapp/templates/deployment.yaml index c3dcfe0d7ee5..2bdefe78ef9c 100644 --- a/charts/airbyte-webapp/templates/deployment.yaml +++ b/charts/airbyte-webapp/templates/deployment.yaml @@ -51,6 +51,10 @@ spec: initContainers: {{- toYaml .Values.extraInitContainers | nindent 6 }} {{- end }} + {{- if .Values.securityContext }} + securityContext: + {{- toYaml .Values.securityContext | nindent 8 }} + {{- end }} containers: - name: airbyte-webapp-container image: {{ printf "%s:%s" .Values.image.repository (include "webapp.imageTag" .) }} diff --git a/charts/airbyte/Chart.lock b/charts/airbyte/Chart.lock index e2d8696d4273..23004a5bd6a6 100644 --- a/charts/airbyte/Chart.lock +++ b/charts/airbyte/Chart.lock @@ -9,7 +9,7 @@ dependencies: repository: https://airbytehq.github.io/helm-charts/ version: 0.43.22 - name: webapp - repository: https://airbytehq.github.io/helm-charts/ + repository: file://../airbyte-webapp version: 0.43.22 - name: server repository: file://../airbyte-server @@ -29,5 +29,5 @@ dependencies: - name: connector-builder-server repository: https://airbytehq.github.io/helm-charts/ version: 0.43.22 -digest: sha256:cd0bc2180d518dc292c8d02e62e87f2150e9b6c81d48424cb7c216f0569b8d0c -generated: "2023-02-01T23:26:15.204239-05:00" +digest: sha256:7d1eda404923cc92c040d9364115c18813831441ec7773414356c6be12c5b6cf +generated: "2023-10-27T13:57:11.494879-04:00" diff --git a/charts/airbyte/Chart.yaml b/charts/airbyte/Chart.yaml index b9922655dcaf..a53cc3c0bccf 100644 --- a/charts/airbyte/Chart.yaml +++ b/charts/airbyte/Chart.yaml @@ -39,15 +39,15 @@ dependencies: version: 0.43.22 - condition: webapp.enabled name: webapp - repository: "https://airbytehq.github.io/helm-charts/" + repository: file://../airbyte-webapp version: 0.43.22 - condition: server.enabled name: server - repository: "https://airbytehq.github.io/helm-charts/" + repository: file://../airbyte-server version: 0.43.22 - condition: worker.enabled name: worker - repository: "https://airbytehq.github.io/helm-charts/" + repository: file://../airbyte-worker version: 0.43.22 - condition: pod-sweeper.enabled name: pod-sweeper