phase 16: custom superset image with trino driver, fix security context

This commit is contained in:
Celes Renata
2026-04-11 17:18:17 -07:00
parent afa627322a
commit 5f87cbe464
8 changed files with 177 additions and 10 deletions
@@ -1,7 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Release.Namespace }}
labels:
{{- include "stonks.labels" . | nindent 4 }}
kubernetes.io/metadata.name: {{ .Release.Namespace }}
@@ -25,10 +25,12 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext:
{{- include "stonks.podSecurityContext" . | nindent 8 }}
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
containers:
- name: superset
image: apache/superset:latest
image: {{ .Values.image.registry }}/superset:{{ .Values.image.tag }}
ports:
- containerPort: 8088
securityContext:
+2 -1
View File
@@ -23,7 +23,8 @@ INSERT INTO retention_policies (bucket_name, artifact_class, retention_days, arc
('stonks-llm-prompts', 'default', 365, FALSE),
('stonks-llm-results', 'default', 365, FALSE),
('stonks-lakehouse', 'default', 730, FALSE),
('stonks-audit', 'default', 730, FALSE);
('stonks-audit', 'default', 730, FALSE)
ON CONFLICT (bucket_name, artifact_class) DO NOTHING;
-- Track retention cleanup runs for observability
CREATE TABLE retention_runs (