ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 10m22s
ci / test (pull_request) Successful in 15m16s
ci / build (pull_request) Successful in 15m27s
ci / image (pull_request) Successful in 4m43s
redis.bundled.enabled adds a single Redis for trying UptimeSebi out, like the bundled TimescaleDB: password generated and kept, append-only file on a volume so sessions and schedules survive restarts, read-only root filesystem, kept with its volume on uninstall and adopted by a reinstall. Your own Redis, directly or through Sentinel, stays the way for production. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
228 lines
5.9 KiB
YAML
228 lines
5.9 KiB
YAML
# Default values for UptimeSebi. Only publicURL, the database, Redis and
|
|
# secretKeys have to be set; everything else has working defaults.
|
|
|
|
image:
|
|
# The API image; checkers and status page servers use <repository>-checker
|
|
# and <repository>-statuspage with the same tag.
|
|
repository: git.zb-server.de/zb-server/uptimesebi
|
|
# Defaults to the chart's appVersion.
|
|
tag: ""
|
|
pullPolicy: IfNotPresent
|
|
imagePullSecrets: []
|
|
|
|
# -- Platform --
|
|
|
|
# Address users reach the console at, e.g. https://uptime.example.com.
|
|
# Used for links in mails, SSO callbacks and the agent install script.
|
|
publicURL: ""
|
|
# selfhosted or cloud.
|
|
edition: selfhosted
|
|
logLevel: info
|
|
# Who may sign up: first-user, open or closed.
|
|
signup: first-user
|
|
# Reverse proxies whose X-Forwarded-For is believed, e.g. the pod network of
|
|
# the ingress controller. Client addresses feed rate limits and the audit
|
|
# log; without this they are the ingress controller's.
|
|
trustedProxies: []
|
|
# Where the platform's status page servers are reachable.
|
|
statusPageURL: ""
|
|
# Further environment variables for every component, e.g. UPTIME_RETENTION_*.
|
|
extraEnv: []
|
|
# - name: UPTIME_RETENTION_RAW
|
|
# value: 720h
|
|
|
|
# Encrypts stored secrets (UPTIME_SECRET_KEYS): "k1:<32 random bytes, base64>",
|
|
# e.g. echo "k1:$(head -c32 /dev/urandom | base64)". Keep it safe; rotate by
|
|
# prepending a new key. Or name a secret that holds it.
|
|
secretKeys:
|
|
value: ""
|
|
existingSecret: ""
|
|
existingSecretKey: secret-keys
|
|
|
|
# Outgoing mail, e.g. smtp://user:pass@host:587?from=alerts@example.com.
|
|
smtp:
|
|
url: ""
|
|
existingSecret: ""
|
|
existingSecretKey: smtp-url
|
|
|
|
# -- PostgreSQL with TimescaleDB --
|
|
|
|
database:
|
|
# postgres://user:password@host:5432/uptime?sslmode=require. The user needs
|
|
# to create the timescaledb and citext extensions on the first migration.
|
|
url: ""
|
|
existingSecret: ""
|
|
existingSecretKey: database-url
|
|
# A single TimescaleDB in the cluster, for trying UptimeSebi out. Without
|
|
# backups or high availability: for production use your own database.
|
|
bundled:
|
|
enabled: false
|
|
image:
|
|
repository: timescale/timescaledb
|
|
tag: 2.30.1-pg16
|
|
# Generated on install if empty, then kept.
|
|
password: ""
|
|
persistence:
|
|
size: 10Gi
|
|
storageClass: ""
|
|
resources: {}
|
|
|
|
# -- Redis --
|
|
# Point to your own Redis, directly or through Sentinel, or bundle one.
|
|
|
|
redis:
|
|
# redis://:password@host:6379/0 or rediss:// for TLS.
|
|
url: ""
|
|
existingSecret: ""
|
|
existingSecretKey: redis-url
|
|
sentinel:
|
|
master: ""
|
|
addrs: []
|
|
username: ""
|
|
password: ""
|
|
existingSecret: ""
|
|
existingSecretKey: redis-sentinel-password
|
|
# A single Redis in the cluster, for trying UptimeSebi out. Without high
|
|
# availability: for production use your own Redis.
|
|
bundled:
|
|
enabled: false
|
|
image:
|
|
repository: redis
|
|
tag: 8-alpine
|
|
# Generated on install if empty, then kept; letters and digits only,
|
|
# it goes into a URL.
|
|
password: ""
|
|
# Sessions, schedules and rate limits survive restarts on a volume;
|
|
# without one a restart signs everyone out.
|
|
persistence:
|
|
enabled: true
|
|
size: 1Gi
|
|
storageClass: ""
|
|
resources: {}
|
|
|
|
# -- Migrations --
|
|
|
|
migrations:
|
|
# Run "api migrate up" as a hook before every install and upgrade. With
|
|
# the bundled database, which does not exist before the install, they run
|
|
# as an init container of the API instead.
|
|
enabled: true
|
|
backoffLimit: 3
|
|
resources: {}
|
|
|
|
# -- Console and API --
|
|
|
|
api:
|
|
replicas: 2
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
memory: 512Mi
|
|
podDisruptionBudget:
|
|
enabled: true
|
|
minAvailable: 1
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
# The API image is built for amd64 only; checkers and status page servers
|
|
# run on arm64 and 32-bit ARM too. Also used by the migration job.
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|
|
tolerations: []
|
|
affinity: {}
|
|
podAnnotations: {}
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
# Defaults to the host of publicURL.
|
|
host: ""
|
|
tls:
|
|
enabled: false
|
|
# Secret with the certificate, e.g. made by cert-manager.
|
|
secretName: ""
|
|
|
|
# -- Checker --
|
|
# A checker in the cluster, for checks from the cluster's region. Create
|
|
# its region and token first:
|
|
# kubectl exec deploy/<release>-uptimesebi-api -- api region add <key> <name>
|
|
# kubectl exec deploy/<release>-uptimesebi-api -- api agent create --kind checker --region <key> --name <name>
|
|
|
|
checker:
|
|
enabled: false
|
|
replicas: 1
|
|
token: ""
|
|
existingSecret: ""
|
|
existingSecretKey: checker-token
|
|
# Defaults to the API service inside the cluster.
|
|
apiURL: ""
|
|
concurrency: 64
|
|
# Lets the checker send pings without privileges.
|
|
pingSysctl: true
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
memory: 512Mi
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
podAnnotations: {}
|
|
|
|
# -- Status page server --
|
|
# Serves public status pages. Create its token first:
|
|
# kubectl exec deploy/<release>-uptimesebi-api -- api agent create --kind statuspage --name <name>
|
|
|
|
statuspage:
|
|
enabled: false
|
|
replicas: 2
|
|
token: ""
|
|
existingSecret: ""
|
|
existingSecretKey: statuspage-token
|
|
# Defaults to the API service inside the cluster.
|
|
apiURL: ""
|
|
# Host names serving pages by slug, e.g. status.example.com.
|
|
hosts: []
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
ingress:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
tls:
|
|
enabled: false
|
|
secretName: ""
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
memory: 256Mi
|
|
podDisruptionBudget:
|
|
enabled: true
|
|
minAvailable: 1
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
podAnnotations: {}
|
|
|
|
# Pod and container security for all components; the images run as user
|
|
# 65532 without a shell.
|
|
podSecurityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 65532
|
|
runAsGroup: 65532
|
|
fsGroup: 65532
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities:
|
|
drop: [ALL]
|