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