Data & Analytics
superset
Apache Superset analytics and visualization platform components for r8s
@r8s/superset
supersetbianalyticsdashboardsdata
Components (1)
01
Superset
Apache Superset analytics and visualization platform. Deploys without operator — native Kubernetes resources only.
import { Superset } from '@r8s/superset'
/**
* Database credentials come from `passwordSecret` — provisioned by the
* secrets backend running in the cluster. The admin dashboard key comes
* from `existingSecret` (a SealedSecret or operator-managed secret).
* No plaintext credential appears in this file or in the rendered YAML.
*/
export default (
<Superset
host="superset.example.com"
database={{
host: 'superset-db-rw',
database: 'superset',
user: 'superset',
passwordSecret: 'superset-db-credentials',
passwordKey: 'password',
}}
redis={{ host: 'redis-master' }}
admin={{ existingSecret: 'superset-admin-credentials' }}
tls={{ secretName: 'superset-tls', clusterIssuer: 'letsencrypt' }}
/>
)
namestringOptional—Resource name
namespacestringOptional—Kubernetes namespace
versionstringOptional—Superset version (default: 4.0.0)
hoststringRequired—Hostname for Superset
database{ host: string, database: string, user: string, passwordSecret: string, passwordKey?: string, password?: string }Required—Database connection
redis{ host: string, port?: number, create?: false } | { create: true, host?: string, port?: number }Required—Redis connection. Either point at an existing Redis (host) or let the component create a managed RedisCluster (create: true).
admin{ existingSecret: string } | { password?: string }Required—Admin credentials. If existingSecret is set, that Secret must already exist (with a secretKey key). Otherwise a Secret named <name>-admin is created with a generated secret key.
replicasnumberOptional—Number of replicas (default: 1)
resources{ requests?: { cpu?: string, memory?: string }, limits?: { cpu?: string, memory?: string } }Optional—Resources
tls{ secretName: string, clusterIssuer: string }Optional—TLS config
oauth{ clientId: string, clientSecret: string, keycloakUrl: string, realm?: string }Optional—OAuth config for Keycloak