From 1f379435ecdd29707e8426cd852a13a6300b6484 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Fri, 21 Jan 2022 22:34:32 +0530 Subject: [PATCH] chore(helm): variable naming convention Signed-off-by: Rajesh Rajendran --- .../openreplay/charts/chalice/templates/deployment.yaml | 4 ++-- .../openreplay/charts/storage/templates/deployment.yaml | 4 ++-- scripts/helmcharts/vars.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml index 41df5e2f5..25ec6c387 100644 --- a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml @@ -69,9 +69,9 @@ spec: - name: sessions_region value: '{{ .Values.global.s3.region }}' - name: sessions_bucket - value: '{{ .Values.global.s3.recordings_bucket }}' + value: '{{ .Values.global.s3.recordingsBucket }}' - name: sourcemaps_bucket - value: '{{ .Values.global.s3.sourcemaps_bucket }}' + value: '{{ .Values.global.s3.sourcemapsBucket }}' - name: js_cache_bucket value: '{{ .Values.global.s3.assetsBucket }}' - name: EMAIL_HOST diff --git a/scripts/helmcharts/openreplay/charts/storage/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/storage/templates/deployment.yaml index 4ca3be6e2..c5ec92cf4 100644 --- a/scripts/helmcharts/openreplay/charts/storage/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/storage/templates/deployment.yaml @@ -49,9 +49,9 @@ spec: - name: AWS_REGION_IOS value: '{{ .Values.global.s3.region }}' - name: S3_BUCKET_WEB - value: '{{ .Values.global.s3.recordings_bucket }}' + value: '{{ .Values.global.s3.recordingsBucket }}' - name: S3_BUCKET_IOS - value: '{{ .Values.global.s3.recordings_bucket }}' + value: '{{ .Values.global.s3.recordingsBucket }}' - name: REDIS_STRING value: '{{ .Values.global.redis.redisHost }}:{{ .Values.global.redis.redisPort }}' - name: LICENSE_KEY diff --git a/scripts/helmcharts/vars.yaml b/scripts/helmcharts/vars.yaml index 46d52911c..85901873f 100644 --- a/scripts/helmcharts/vars.yaml +++ b/scripts/helmcharts/vars.yaml @@ -43,8 +43,8 @@ global: region: "us-east-1" endpoint: "http://minio.db.svc.cluster.local:9000" assetsBucket: "sessions-assets" - recordings_bucket: "mobs" - sourcemaps_bucket: "sourcemaps" + recordingsBucket: "mobs" + sourcemapsBucket: "sourcemaps" # if you're using one node installation, where # you're using local s3, make sure these variables # are same as minio.global.minio.accesskey and secretKey