changedetection
by alekc
Self-hosted website change detection, restock monitor, and notification service, with CSS/XPath/JSON selectors, visual diffing, and dozens of notification integrations.
About this chart
changedetection
Self-hosted website change detection, restock monitor, and notification service, with CSS/XPath/JSON selectors, visual diffing, and dozens of notification integrations.
changedetection.io watches web pages for changes and notifies you via any of dozens of supported services (Slack, Discord, email, ntfy, and more). It supports CSS/XPath/JSON selectors, visual diffing, browser-based rendering for JS-heavy sites, and restock/price-drop alerts. This chart runs it as a Deployment with a persistent datastore and an optional Ingress and HorizontalPodAutoscaler.
Quick start
From the classic chart repository:
helm repo add alekc https://charts.alekc.dev
helm repo update
helm install my-changedetection alekc/changedetection \
--set ingress.enabled=true \
--set ingress.hosts[0].host=changedetection.example.com
Or directly from the OCI registry, no helm repo add needed:
helm install my-changedetection oci://charts.alekc.dev/changedetection --version 0.13.0
A minimal working values.yaml:
ingress:
enabled: true
hosts:
- host: changedetection.example.com
paths:
- path: /
pathType: ImplementationSpecific
persistence:
enabled: true
size: 5Gi
Verifying the signature
curl -sO https://charts.alekc.dev/pubring.gpg
helm pull oci://charts.alekc.dev/changedetection --version 0.13.0 --verify --keyring pubring.gpg
Maintainers
| Name | Url | |
|---|---|---|
| alekc | [email protected] |
Source Code
- https://gitlab.com/alexander-chernov/helm/changedetection
- https://github.com/dgtlmoon/changedetection.io
Gotchas
autoscaling.enabledand the defaultpersistencedo not mix. The default PVC isReadWriteOnce, mounted at/datastoreby every replica; a second replica scheduled on a different node cannot attach the same volume. Only enable autoscaling alongsidepersistence.existingClaimpointed at ReadWriteMany storage, or withpersistence.enabled: false(accepting that data does not survive a restart).networkPolicy.enabledrestricts egress to DNS plus whateverextraEgressadds. changedetection.io makes outbound requests to whatever URLs you configure it to watch, so enabling this without a realnetworkPolicy.extraEgressentry will silently break checks, not fail loudly.- The HorizontalPodAutoscaler renders
autoscaling/v2with the currenttarget.averageUtilizationfield shape. Earlier releases of this chart declaredautoscaling/v2but used the removedv2beta1targetAverageUtilizationfield, whichkubeconformconfirmed the real Kubernetes API schema rejects outright.
Upgrade notes
No breaking changes yet. This section will list migration steps for any future release with
a kind: removed or kind: changed entry in artifacthub.io/changes that requires one.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalManifests | object | {} | Additional raw Kubernetes manifests to render alongside the chart's own resources. Supports any valid Kubernetes object; values are templated with tpl, so a manifest can reference .Release.Namespace and friends. |
| affinity | object | {} | Affinity rules for pod scheduling. |
| autoscaling.annotations | object | {} | Annotations to add to the HorizontalPodAutoscaler |
| autoscaling.enabled | bool | false | Renders a HorizontalPodAutoscaler instead of a fixed replicaCount. See Gotchas: the default persistence is a single ReadWriteOnce volume, so this only makes sense alongside an existingClaim backed by ReadWriteMany storage, or with persistence disabled entirely. |
| autoscaling.maxReplicas | int | 100 | Maximum replica count. |
| autoscaling.minReplicas | int | 1 | Minimum replica count. |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | Target average CPU utilization percentage. |
| commonAnnotations | object | {} | Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated .annotations field. |
| commonLabels | object | {} | Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate. |
| deploymentAnnotations | object | {} | Annotations to add to the Deployment. |
| deploymentStrategy | object | {"type":"Recreate"} | Deployment strategy for the Kubernetes Deployment. Recreate is the default because a single replica holding a ReadWriteOnce volume cannot be replaced by a new pod that needs the same volume. |
| env | object | {"full":[],"simple":{}} | environment values |
| env.full | list | [] | full envs, they will be rendered as written here. Useful if you need to use secrets/cm |
| env.simple | object | {} | simple key: val based env vars |
| extraContainers | list | [] | Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends. |
| fullnameOverride | string | "" | Overrides the full resource name, instead of the default <release>-<chart> pattern. |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| image.repository | string | "ghcr.io/dgtlmoon/changedetection.io" | Image repository. |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | Image pull secrets, for a private registry mirror. |
| ingress.annotations | object | {} | Annotations to add to the Ingress |
| ingress.className | string | "" | IngressClass name, e.g. "nginx" or "traefik" |
| ingress.enabled | bool | false | Renders an Ingress for the Service. |
| ingress.hosts | list | [{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}] | Ingress host and path rules |
| ingress.tls | list | [] | TLS configuration for the Ingress |
| initContainers | list | [] | Extra init containers appended to the pod spec, templated with tpl. |
| nameOverride | string | "" | Overrides the chart name used to build resource names. |
| networkPolicy.annotations | object | {} | Annotations to add to the NetworkPolicy |
| networkPolicy.enabled | bool | false | Render a NetworkPolicy restricting ingress to the Service port and egress to DNS plus whatever extraEgress adds. changedetection.io makes outbound requests to whatever URLs you configure it to watch, so most deployments need broad egress, see Gotchas. |
| networkPolicy.extraEgress | list | [] | Additional raw egress rules, appended as-is under spec.egress. |
| networkPolicy.extraIngress | list | [] | Additional raw ingress rules, appended as-is under spec.ingress. |
| nodeSelector | object | {} | Node selector for pod scheduling. |
| persistence.accessMode | string | "ReadWriteOnce" | Access mode for the created PVC. |
| persistence.additionalMounts | list | [] | if you need any additional volume mounts, you can define them here |
| persistence.additionalVolumes | list | [] | if you need any additional volumes, you can define them here |
| persistence.annotations | object | {} | Annotations to add to the PersistentVolumeClaim |
| persistence.enabled | bool | true | Render a PersistentVolumeClaim and mount it at /datastore. When false, an emptyDir is used instead and data is lost on pod restart. |
| persistence.existingClaim | string | "" | Use an existing PVC instead of creating one. |
| persistence.size | string | "800Mi" | Requested size for the created PVC. |
| persistence.storageClass | string | "" | StorageClass for the created PVC. Empty uses the cluster default. |
| podAnnotations | object | {} | Annotations added to the pod template. |
| podLabels | object | {} | Add additional pod labels |
| podSecurityContext | object | {} | Pod-level securityContext. |
| replicaCount | int | 1 | Pod replica count. Ignored when autoscaling.enabled is true. See Gotchas before scaling beyond 1: the default persistence is a single ReadWriteOnce volume shared by every replica's datastore mount. |
| resources | object | {} | Container resource requests/limits. |
| securityContext | object | {} | Container-level securityContext. |
| service.annotations | object | {} | Annotations to add to the Service |
| service.port | int | 5000 | Service port, forwards to the container's port 5000. |
| service.type | string | "ClusterIP" | Kubernetes Service type. |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | [] | Tolerations for pod scheduling. |
Deploy changedetection with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has changedetection on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartchangedetection is pinned at v0.15.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply