changedetection

by alekc

Helm chartv0.15.3App 0.70.4Apache-2.0Verified publisher

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

NameEmailUrl
alekc[email protected]

Source Code

Gotchas

  • autoscaling.enabled and the default persistence do not mix. The default PVC is ReadWriteOnce, mounted at /datastore by every replica; a second replica scheduled on a different node cannot attach the same volume. Only enable autoscaling alongside persistence.existingClaim pointed at ReadWriteMany storage, or with persistence.enabled: false (accepting that data does not survive a restart).
  • networkPolicy.enabled restricts egress to DNS plus whatever extraEgress adds. changedetection.io makes outbound requests to whatever URLs you configure it to watch, so enabling this without a real networkPolicy.extraEgress entry will silently break checks, not fail loudly.
  • The HorizontalPodAutoscaler renders autoscaling/v2 with the current target.averageUtilization field shape. Earlier releases of this chart declared autoscaling/v2 but used the removed v2beta1 targetAverageUtilization field, which kubeconform confirmed 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

KeyTypeDefaultDescription
additionalManifestsobject{}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.
affinityobject{}Affinity rules for pod scheduling.
autoscaling.annotationsobject{}Annotations to add to the HorizontalPodAutoscaler
autoscaling.enabledboolfalseRenders 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.maxReplicasint100Maximum replica count.
autoscaling.minReplicasint1Minimum replica count.
autoscaling.targetCPUUtilizationPercentageint80Target average CPU utilization percentage.
commonAnnotationsobject{}Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated .annotations field.
commonLabelsobject{}Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate.
deploymentAnnotationsobject{}Annotations to add to the Deployment.
deploymentStrategyobject{"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.
envobject{"full":[],"simple":{}}environment values
env.fulllist[]full envs, they will be rendered as written here. Useful if you need to use secrets/cm
env.simpleobject{}simple key: val based env vars
extraContainerslist[]Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends.
fullnameOverridestring""Overrides the full resource name, instead of the default <release>-<chart> pattern.
image.pullPolicystring"IfNotPresent"Image pull policy.
image.repositorystring"ghcr.io/dgtlmoon/changedetection.io"Image repository.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Image pull secrets, for a private registry mirror.
ingress.annotationsobject{}Annotations to add to the Ingress
ingress.classNamestring""IngressClass name, e.g. "nginx" or "traefik"
ingress.enabledboolfalseRenders an Ingress for the Service.
ingress.hostslist[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]Ingress host and path rules
ingress.tlslist[]TLS configuration for the Ingress
initContainerslist[]Extra init containers appended to the pod spec, templated with tpl.
nameOverridestring""Overrides the chart name used to build resource names.
networkPolicy.annotationsobject{}Annotations to add to the NetworkPolicy
networkPolicy.enabledboolfalseRender 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.extraEgresslist[]Additional raw egress rules, appended as-is under spec.egress.
networkPolicy.extraIngresslist[]Additional raw ingress rules, appended as-is under spec.ingress.
nodeSelectorobject{}Node selector for pod scheduling.
persistence.accessModestring"ReadWriteOnce"Access mode for the created PVC.
persistence.additionalMountslist[]if you need any additional volume mounts, you can define them here
persistence.additionalVolumeslist[]if you need any additional volumes, you can define them here
persistence.annotationsobject{}Annotations to add to the PersistentVolumeClaim
persistence.enabledbooltrueRender a PersistentVolumeClaim and mount it at /datastore. When false, an emptyDir is used instead and data is lost on pod restart.
persistence.existingClaimstring""Use an existing PVC instead of creating one.
persistence.sizestring"800Mi"Requested size for the created PVC.
persistence.storageClassstring""StorageClass for the created PVC. Empty uses the cluster default.
podAnnotationsobject{}Annotations added to the pod template.
podLabelsobject{}Add additional pod labels
podSecurityContextobject{}Pod-level securityContext.
replicaCountint1Pod 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.
resourcesobject{}Container resource requests/limits.
securityContextobject{}Container-level securityContext.
service.annotationsobject{}Annotations to add to the Service
service.portint5000Service port, forwards to the container's port 5000.
service.typestring"ClusterIP"Kubernetes Service type.
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
tolerationslist[]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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartchangedetection is pinned at v0.15.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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