Helm Values Reference#
Complete reference for all Helm chart configuration options.
Global#
| Value | Default | Description |
|---|
nameOverride | "" | Override the chart name |
fullnameOverride | "" | Override the full release name |
createNamespace | true | Create namespace (set to false if managed externally) |
namespace | kup6s-pages | Target namespace for deployment |
imagePullSecrets | [] | Global image pull secrets |
CRD Configuration#
| Value | Default | Description |
|---|
crds.install | false | Install CRD with the chart (use --skip-crds to skip) |
crds.keep | true | Keep CRD when chart is uninstalled |
Operator#
| Value | Default | Description |
|---|
operator.replicas | 1 | Number of operator replicas |
operator.image.registry | ghcr.io | Image registry |
operator.image.repository | kup6s/pages-operator | Image repository |
operator.image.tag | "" | Image tag (defaults to Chart.appVersion) |
operator.image.pullPolicy | IfNotPresent | Image pull policy |
operator.pagesDomain | pages.kup6s.com | Pages domain for auto-generated site URLs |
operator.clusterIssuer | letsencrypt-prod | cert-manager ClusterIssuer name |
operator.pagesTlsMode | individual | TLS mode for auto-generated domains: individual (HTTP-01 per site) or wildcard (pre-existing wildcard cert) |
operator.pagesWildcardSecret | pages-wildcard-tls | Secret name for wildcard certificate (only used when pagesTlsMode=wildcard) |
operator.metricsBindAddress | :8080 | Metrics bind address |
operator.healthProbeBindAddress | :8081 | Health probe bind address |
operator.extraArgs | [] | Additional CLI arguments |
operator.podAnnotations | {} | Pod annotations |
operator.podLabels | {} | Pod labels |
operator.podSecurityContext | {} | Pod security context |
operator.securityContext | (non-root, read-only root filesystem, no privilege escalation, all capabilities dropped) | Container security context |
operator.resources.limits.cpu | 200m | CPU limit |
operator.resources.limits.memory | 128Mi | Memory limit |
operator.resources.requests.cpu | 100m | CPU request |
operator.resources.requests.memory | 64Mi | Memory request |
operator.priorityClassName | "" | PriorityClass of the pods. Empty uses the cluster’s default class |
operator.nodeSelector | {} | Node selector |
operator.tolerations | [] | Tolerations |
operator.affinity | {} | Affinity rules |
operator.livenessProbe | (HTTP /healthz on port 8081, first after 15 s, then every 20 s) | Liveness probe configuration |
operator.readinessProbe | (HTTP /readyz on port 8081, first after 5 s, then every 10 s) | Readiness probe configuration |
operator.serviceAccount.create | true | Create service account |
operator.serviceAccount.name | "" | Service account name |
operator.serviceAccount.annotations | {} | Service account annotations |
Syncer#
| Value | Default | Description |
|---|
syncer.replicas | 1 | Number of syncer replicas |
syncer.image.registry | ghcr.io | Image registry |
syncer.image.repository | kup6s/pages-syncer | Image repository |
syncer.image.tag | "" | Image tag (defaults to Chart.appVersion) |
syncer.image.pullPolicy | IfNotPresent | Image pull policy |
syncer.syncInterval | 5m | Default sync interval for git repositories |
syncer.webhookAddr | :8080 | Webhook server listen address |
syncer.sitesRoot | /sites | Sites root directory |
syncer.allowedHosts | [] | Required. Allowed Git hosts for SSRF protection |
syncer.gitTimeout | 10m | Timeout for a single git operation |
syncer.minFreePercent | 10 | Minimum free space on the sites volume in percent (0 disables) |
syncer.metricsPort | 9090 | Syncer metrics port |
syncer.extraArgs | [] | Additional CLI arguments |
syncer.podAnnotations | {} | Pod annotations |
syncer.podLabels | {} | Pod labels |
syncer.podSecurityContext | {} | Pod security context |
syncer.securityContext | (non-root user 1000, no privilege escalation, all capabilities dropped) | Container security context. The root filesystem stays writable, because git needs /tmp |
syncer.resources.limits.cpu | 500m | CPU limit |
syncer.resources.limits.memory | 256Mi | Memory limit. Sufficient for sites with a path; sites with path / and repositories above about 1 GB need more |
syncer.resources.requests.cpu | 100m | CPU request |
syncer.resources.requests.memory | 128Mi | Memory request |
syncer.priorityClassName | "" | PriorityClass of the pods. Empty uses the cluster’s default class |
syncer.nodeSelector | {} | Node selector |
syncer.tolerations | [] | Tolerations |
syncer.affinity | {} | Affinity rules |
syncer.serviceAccount.create | true | Create service account |
syncer.serviceAccount.name | "" | Service account name |
syncer.serviceAccount.annotations | {} | Service account annotations |
syncer.service.type | ClusterIP | Service type |
syncer.service.port | 80 | Service port |
syncer.service.annotations | {} | Service annotations |
nginx#
| Value | Default | Description |
|---|
nginx.replicas | 2 | Number of nginx replicas for HA |
nginx.image.registry | docker.io | Image registry |
nginx.image.repository | library/nginx | Image repository |
nginx.image.tag | 1.29-alpine | Image tag |
nginx.image.pullPolicy | IfNotPresent | Image pull policy |
nginx.podAnnotations | {} | Pod annotations |
nginx.podLabels | {} | Pod labels |
nginx.podSecurityContext | {} | Pod security context |
nginx.securityContext | (non-root user 101, read-only root filesystem, no privilege escalation, all capabilities dropped) | Container security context |
nginx.resources.limits.cpu | 200m | CPU limit |
nginx.resources.limits.memory | 128Mi | Memory limit |
nginx.resources.requests.cpu | 50m | CPU request |
nginx.resources.requests.memory | 64Mi | Memory request |
nginx.priorityClassName | "" | PriorityClass of the pods. Empty uses the cluster’s default class |
nginx.nodeSelector | {} | Node selector |
nginx.tolerations | [] | Tolerations |
nginx.affinity | (pod anti-affinity) | Affinity rules |
nginx.topologySpreadConstraints | (spread over nodes, see below) | Topology spread constraints. Set to [] to rely on the preferred pod anti-affinity alone |
nginx.livenessProbe | (HTTP /health on port 80, first after 5 s, then every 10 s) | Liveness probe configuration |
nginx.readinessProbe | (HTTP /health on port 80, first after 2 s, then every 5 s) | Readiness probe configuration |
nginx.preStopSleepSeconds | 5 | Seconds a terminating pod keeps serving, so the ingress controller drops its address before nginx stops. Needs sleep in the nginx image. 0 disables the pause |
nginx.service.type | ClusterIP | Service type |
nginx.service.port | 80 | Service port |
nginx.service.annotations | {} | Service annotations |
nginx.customConfig | "" | Custom nginx configuration. Replaces the whole default server block, including the directory redirect that uses X-Forwarded-Prefix |
nginx.pdb.enabled | true | Enable PodDisruptionBudget |
nginx.pdb.minAvailable | 1 | Minimum available pods |
The default of nginx.topologySpreadConstraints keeps the replicas of one revision on different nodes:
nginx:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
nodeTaintsPolicy: Honor
labelSelector:
matchLabels:
app.kubernetes.io/component: nginx
matchLabelKeys:
- pod-template-hash
matchLabelKeys needs Kubernetes 1.27 or later.
See Architecture for what the constraint guarantees and where it stops.
Storage#
| Value | Default | Description |
|---|
storage.existingClaim | "" | Use existing PVC instead of creating one |
storage.storageClassName | "" | Storage class name (empty uses cluster default) |
storage.size | 10Gi | Storage size |
storage.accessModes | [ReadWriteMany] | Access modes |
storage.annotations | {} | PVC annotations |
Webhook#
| Value | Default | Description |
|---|
webhook.enabled | false | Enable webhook IngressRoute and Certificate |
webhook.domain | webhook.pages.kup6s.com | Webhook domain |
webhook.clusterIssuer | "" | ClusterIssuer (defaults to operator.clusterIssuer) |
webhook.entryPoints | [websecure] | Traefik entrypoints |
webhook.annotations | {} | Additional IngressRoute annotations |
webhook.secret | "" | Webhook secret for HMAC validation |
webhook.secretRef.name | "" | Reference to existing secret |
webhook.secretRef.key | webhook-secret | Key in the secret |
Monitoring#
| Value | Default | Description |
|---|
metrics.podMonitor.enabled | false | Create PodMonitors for operator and syncer (requires Prometheus Operator CRDs) |
metrics.podMonitor.interval | 30s | Scrape interval |
metrics.podMonitor.labels | {} | Extra labels, for the Prometheus podMonitorSelector |
metrics.prometheusRule.enabled | false | Create a PrometheusRule with sync and volume alerts |
metrics.prometheusRule.labels | {} | Extra labels, for the Prometheus ruleSelector |
metrics.prometheusRule.failingFor | 15m | Delay before PagesSiteSyncFailing fires |
metrics.prometheusRule.staleAfterSeconds | 900 | Age of the last successful sync before PagesSiteSyncStale fires; about 3x syncer.syncInterval |
metrics.prometheusRule.volumeLowPercent | 15 | Free space below which PagesVolumeLow fires |
The alerts aggregate per site with max by (namespace, name), so several operator replicas do not duplicate them.
Metrics:
- Operator, per site:
pages_site_synced, pages_site_last_sync_timestamp_seconds - Syncer:
pages_syncer_sync_total, pages_syncer_git_duration_seconds, pages_syncer_volume_free_bytes, pages_syncer_volume_size_bytes
RBAC#
| Value | Default | Description |
|---|
rbac.create | true | Create ClusterRole and ClusterRoleBinding resources |