From a50c98b1d9af5d59befc0c2ca4f82ebadb410067 Mon Sep 17 00:00:00 2001 From: HafdisE Date: Tue, 17 Sep 2024 15:22:09 +0000 Subject: [PATCH] unflatten and naming --- charts/bigdata-spark-watcher/templates/deployment.yaml | 4 ++-- charts/bigdata-spark-watcher/values.yaml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/bigdata-spark-watcher/templates/deployment.yaml b/charts/bigdata-spark-watcher/templates/deployment.yaml index eb6c060..44681ab 100644 --- a/charts/bigdata-spark-watcher/templates/deployment.yaml +++ b/charts/bigdata-spark-watcher/templates/deployment.yaml @@ -72,9 +72,9 @@ spec: - name: APP_SYNC_REVERSE_GHOST_GRACE_PERIOD value: {{ .Values.appSyncReverseGhostGracePeriod }} - name: KUBE_EVENT_LOG_COLLECTION_BUCKET_PREFIX - value: {{ .Values.k8sEventLogCollectorBucketPrefix }} + value: {{ .Values.k8sEventLogCollection.bucketPrefix }} - name: KUBE_EVENT_LOG_COLLECTION_ENVIRONMENT - value: {{ .Values.k8sEventLogCollectorEnvironment }} + value: {{ .Values.k8sEventLogCollection.environment }} - name: AWS_CREDENTIALS_FILE value: /creds/aws - name: GCP_CREDENTIALS_FILE diff --git a/charts/bigdata-spark-watcher/values.yaml b/charts/bigdata-spark-watcher/values.yaml index 3e2df10..56ff5c1 100644 --- a/charts/bigdata-spark-watcher/values.yaml +++ b/charts/bigdata-spark-watcher/values.yaml @@ -38,8 +38,9 @@ sparkAppFailedExecutorLimit: 200 sparkAppTerminatedCriticalSidecarGracePeriod: 3m k8sEventLogCollectorEnabled: true -k8sEventLogCollectorBucketPrefix: "spot-bigdata-logcollector" -k8sEventLogCollectorEnvironment: "" +k8sEventLogCollection: + bucketPrefix: "spot-bigdata-logcollector" + environment: "" serviceAccount: create: true