From e73ae485bc7e0f69085c0bfa6b7988f5f930f332 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Mon, 28 Oct 2024 20:32:27 -0400 Subject: [PATCH] patch service account namespace --- .../infisical-standalone-postgres/templates/jobs-rbac.yaml | 2 +- helm-charts/infisical-standalone-postgres/values.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/helm-charts/infisical-standalone-postgres/templates/jobs-rbac.yaml b/helm-charts/infisical-standalone-postgres/templates/jobs-rbac.yaml index 04d66f3d4..75c4364d5 100644 --- a/helm-charts/infisical-standalone-postgres/templates/jobs-rbac.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/jobs-rbac.yaml @@ -16,7 +16,7 @@ metadata: subjects: - kind: ServiceAccount name: {{ .Values.infisical.databaseSchemaMigrationJob.serviceAccountName | default "default" }} - namespace: {{ .Values.infisical.databaseSchemaMigrationJob.serviceAccountNamespace | default .Release.Namespace }} + namespace: {{ .Release.Namespace }} roleRef: kind: Role name: k8s-wait-for-infisical-schema-migration diff --git a/helm-charts/infisical-standalone-postgres/values.yaml b/helm-charts/infisical-standalone-postgres/values.yaml index d52538738..1581b1625 100644 --- a/helm-charts/infisical-standalone-postgres/values.yaml +++ b/helm-charts/infisical-standalone-postgres/values.yaml @@ -10,7 +10,6 @@ infisical: imagePullPolicy: IfNotPresent databaseSchemaMigrationJob: - serviceAccountNamespace: default serviceAccountName: default fullnameOverride: "" @@ -39,11 +38,11 @@ infisical: cpu: 350m ingress: - enabled: false + enabled: true hostName: "" ingressClassName: nginx nginx: - enabled: false + enabled: true annotations: {} tls: []