From ab84a885ae3c1eea86571f6742e593deb77ffccc Mon Sep 17 00:00:00 2001 From: Z4ck404 Date: Mon, 15 Jan 2024 18:47:27 +0100 Subject: [PATCH] [charts] Add aws session token env var to all charts required for telemetry --- charts/bigdata-notebook-service/Chart.yaml | 2 +- charts/bigdata-notebook-service/templates/deployment.yaml | 5 +++++ charts/bigdata-operator/Chart.yaml | 2 +- charts/bigdata-operator/templates/deployment.yaml | 5 +++++ charts/bigdata-proxy/Chart.yaml | 2 +- charts/bigdata-proxy/templates/deployment.yaml | 5 +++++ charts/bigdata-spark-watcher/Chart.yaml | 2 +- charts/bigdata-spark-watcher/templates/deployment.yaml | 5 +++++ charts/spark-operator/Chart.yaml | 2 +- .../charts/spark-operator/templates/deployment.yaml | 5 +++++ 10 files changed, 30 insertions(+), 5 deletions(-) diff --git a/charts/bigdata-notebook-service/Chart.yaml b/charts/bigdata-notebook-service/Chart.yaml index f7e6687e..41985aca 100644 --- a/charts/bigdata-notebook-service/Chart.yaml +++ b/charts/bigdata-notebook-service/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bigdata-notebook-service description: A Helm chart for the Spot Big Data Notebook Service type: application -version: 0.2.3 +version: 0.2.4 appVersion: 0.1.16 home: https://github.com/spotinst/charts icon: https://docs.spot.io/_media/images/spot_mark.png diff --git a/charts/bigdata-notebook-service/templates/deployment.yaml b/charts/bigdata-notebook-service/templates/deployment.yaml index 71920b14..358e361a 100644 --- a/charts/bigdata-notebook-service/templates/deployment.yaml +++ b/charts/bigdata-notebook-service/templates/deployment.yaml @@ -144,6 +144,11 @@ spec: secretKeyRef: name: spot-bigdata-telemetry-creds key: AWS_SECRET_ACCESS_KEY + - name: AWS_SESSION_TOKEN + valueFrom: + secretKeyRef: + name: spot-bigdata-telemetry-creds + key: AWS_SESSION_TOKEN - name: AWS_BUCKET_NAME valueFrom: secretKeyRef: diff --git a/charts/bigdata-operator/Chart.yaml b/charts/bigdata-operator/Chart.yaml index 40cf36a4..d3b2e8b5 100644 --- a/charts/bigdata-operator/Chart.yaml +++ b/charts/bigdata-operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bigdata-operator description: Spot Ocean BigData Operator type: application -version: 0.4.4 +version: 0.4.5 appVersion: 0.4.3 home: https://github.com/spotinst/charts icon: https://docs.spot.io/_media/images/spot_mark.png diff --git a/charts/bigdata-operator/templates/deployment.yaml b/charts/bigdata-operator/templates/deployment.yaml index de98896a..629499ce 100644 --- a/charts/bigdata-operator/templates/deployment.yaml +++ b/charts/bigdata-operator/templates/deployment.yaml @@ -94,6 +94,11 @@ spec: secretKeyRef: name: spot-bigdata-telemetry-creds key: AWS_SECRET_ACCESS_KEY + - name: AWS_SESSION_TOKEN + valueFrom: + secretKeyRef: + name: spot-bigdata-telemetry-creds + key: AWS_SESSION_TOKEN - name: AWS_BUCKET_NAME valueFrom: secretKeyRef: diff --git a/charts/bigdata-proxy/Chart.yaml b/charts/bigdata-proxy/Chart.yaml index da4b3b2e..c0968d0e 100644 --- a/charts/bigdata-proxy/Chart.yaml +++ b/charts/bigdata-proxy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bigdata-proxy description: A Helm chart for the Spot Big Data Proxy type: application -version: 0.4.3 +version: 0.4.4 appVersion: 0.5.3 home: https://github.com/spotinst/charts icon: https://docs.spot.io/_media/images/spot_mark.png diff --git a/charts/bigdata-proxy/templates/deployment.yaml b/charts/bigdata-proxy/templates/deployment.yaml index fb6e5f2c..cf1f2f45 100644 --- a/charts/bigdata-proxy/templates/deployment.yaml +++ b/charts/bigdata-proxy/templates/deployment.yaml @@ -71,6 +71,11 @@ spec: secretKeyRef: name: spot-bigdata-telemetry-creds key: AWS_SECRET_ACCESS_KEY + - name: AWS_SESSION_TOKEN + valueFrom: + secretKeyRef: + name: spot-bigdata-telemetry-creds + key: AWS_SESSION_TOKEN - name: AWS_BUCKET_NAME valueFrom: secretKeyRef: diff --git a/charts/bigdata-spark-watcher/Chart.yaml b/charts/bigdata-spark-watcher/Chart.yaml index 910f5a7c..00c0b7d8 100644 --- a/charts/bigdata-spark-watcher/Chart.yaml +++ b/charts/bigdata-spark-watcher/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bigdata-spark-watcher description: A Helm chart for the Spot Big Data Spark Watcher type: application -version: 0.5.0 +version: 0.5.1 appVersion: 0.4.5 home: https://github.com/spotinst/charts icon: https://docs.spot.io/_media/images/spot_mark.png diff --git a/charts/bigdata-spark-watcher/templates/deployment.yaml b/charts/bigdata-spark-watcher/templates/deployment.yaml index 8b3fa8ef..120a406d 100644 --- a/charts/bigdata-spark-watcher/templates/deployment.yaml +++ b/charts/bigdata-spark-watcher/templates/deployment.yaml @@ -86,6 +86,11 @@ spec: secretKeyRef: name: spot-bigdata-telemetry-creds key: AWS_SECRET_ACCESS_KEY + - name: AWS_SESSION_TOKEN + valueFrom: + secretKeyRef: + name: spot-bigdata-telemetry-creds + key: AWS_SESSION_TOKEN - name: AWS_BUCKET_NAME valueFrom: secretKeyRef: diff --git a/charts/spark-operator/Chart.yaml b/charts/spark-operator/Chart.yaml index d3bae843..70bdbccf 100644 --- a/charts/spark-operator/Chart.yaml +++ b/charts/spark-operator/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: Spark Operator (b/g part) name: spark-operator -version: 0.1.22 +version: 0.1.23 appVersion: v1beta2-1.3.4-3.1.1 dependencies: - name: spark-operator diff --git a/charts/spark-operator/charts/spark-operator/templates/deployment.yaml b/charts/spark-operator/charts/spark-operator/templates/deployment.yaml index 81b409e5..ff544b04 100644 --- a/charts/spark-operator/charts/spark-operator/templates/deployment.yaml +++ b/charts/spark-operator/charts/spark-operator/templates/deployment.yaml @@ -152,6 +152,11 @@ spec: secretKeyRef: name: spot-bigdata-telemetry-creds key: AWS_SECRET_ACCESS_KEY + - name: AWS_SESSION_TOKEN + valueFrom: + secretKeyRef: + name: spot-bigdata-telemetry-creds + key: AWS_SESSION_TOKEN - name: AWS_BUCKET_NAME valueFrom: secretKeyRef: