From fe3d6c0cb071a2364fc47e886bc5400526112909 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Sat, 11 Apr 2026 14:21:44 -0700 Subject: [PATCH] fix: trino iceberg catalog s3 props, superset port env override --- infra/helm/stonks-oracle/templates/deployments.yaml | 3 +++ infra/helm/stonks-oracle/templates/superset.yaml | 2 ++ infra/helm/stonks-oracle/templates/trino.yaml | 4 ---- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/infra/helm/stonks-oracle/templates/deployments.yaml b/infra/helm/stonks-oracle/templates/deployments.yaml index 14975c3..898b2f1 100644 --- a/infra/helm/stonks-oracle/templates/deployments.yaml +++ b/infra/helm/stonks-oracle/templates/deployments.yaml @@ -32,6 +32,9 @@ spec: - name: {{ $svc.image }} image: {{ $root.Values.image.registry }}/{{ $svc.image }}:{{ $root.Values.image.tag }} imagePullPolicy: {{ $root.Values.image.pullPolicy }} + {{- if $svc.command }} + command: ["sh", "-c", {{ $svc.command | quote }}] + {{- end }} {{- if $svc.port }} ports: - containerPort: {{ $svc.port }} diff --git a/infra/helm/stonks-oracle/templates/superset.yaml b/infra/helm/stonks-oracle/templates/superset.yaml index c84533b..78c2267 100644 --- a/infra/helm/stonks-oracle/templates/superset.yaml +++ b/infra/helm/stonks-oracle/templates/superset.yaml @@ -36,6 +36,8 @@ spec: capabilities: drop: ["ALL"] env: + - name: SUPERSET_PORT + value: "8088" - name: SUPERSET_SECRET_KEY valueFrom: secretKeyRef: diff --git a/infra/helm/stonks-oracle/templates/trino.yaml b/infra/helm/stonks-oracle/templates/trino.yaml index 9308e3c..656f49d 100644 --- a/infra/helm/stonks-oracle/templates/trino.yaml +++ b/infra/helm/stonks-oracle/templates/trino.yaml @@ -40,10 +40,6 @@ spec: connector.name=iceberg iceberg.catalog.type=hive_metastore hive.metastore.uri=thrift://hive-metastore.{{ $.Release.Namespace }}.svc.cluster.local:9083 - hive.s3.endpoint=http://{{ index $.Values.config "MINIO_ENDPOINT" }} - hive.s3.path-style-access=true - hive.s3.aws-access-key=${MINIO_ACCESS_KEY} - hive.s3.aws-secret-key=${MINIO_SECRET_KEY} fs.native-s3.enabled=true s3.endpoint=http://{{ index $.Values.config "MINIO_ENDPOINT" }} s3.path-style-access=true