argus
by m0sh1
Helm chartv0.5.0App 0.29.0
Helm chart for Release-Argus
About this chart
Argus Helm Chart
Helm chart for Release-Argus using the bjw-s/common library.
Requirements
- Kubernetes >= 1.28
- An Ingress controller (optional)
Notes
- Argus reads its config from
/config/config.yml(mounted from a ConfigMap by default). - Set
config.rawto provide the full YAML string, or useconfig.datafor a structured map. - Secrets are not stored in this repo. Provide them via an existing Secret or create one at install time.
- You can keep the
serviceblock in a separate file and load it withconfig.serviceFromFile. - Optional: enable auto-icons for services with
config.autoIcons.enabled.
Install
helm repo add sm-moshi https://sm-moshi.github.io/helm-charts
helm repo update
helm install argus sm-moshi/argus -n argus --create-namespace
Configuration
Inline config values
config:
data:
settings:
web:
listen_addr: 0.0.0.0
listen_port: 8080
notify:
discord_main:
type: discord
url_fields:
Token: ${ARGUS_DISCORD_TOKEN}
WebhookID: ${ARGUS_DISCORD_WEBHOOK_ID}
service:
example_release:
comment: "Monitor an upstream release"
options:
active: true
interval: 1h
latest_version:
type: github
url: owner/repo
notify:
discord_main: {}
Split service block into a separate file
Create a file (example included at config/service.example.yaml) and load it with --set-file:
helm install argus sm-moshi/argus \
--set-file config.serviceFromFile=charts/argus/config/service.example.yaml
Or in a values file:
config:
serviceFromFile: |
service:
example_release:
options:
active: true
Auto icons (opt-in)
config:
autoIcons:
enabled: true
github: true
webFavicon: true
Use an existing Secret for Discord
secret:
existingSecret: argus-discord-webhook
envFrom: true
Create a Secret at install time (do not commit secrets)
secret:
create: true
envFrom: true
stringData:
ARGUS_DISCORD_TOKEN: "<token>"
ARGUS_DISCORD_WEBHOOK_ID: "<webhook-id>"
Use an existing ConfigMap
config:
useExistingConfigMap: argus-config
Common chart overrides
controllers:
main:
containers:
main:
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 256Mi
Ingress example
ingress:
main:
enabled: true
className: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
hosts:
- host: argus.example.com
paths:
- path: /
pathType: Prefix
service:
identifier: main
port: http
tls:
- secretName: wildcard-example
hosts:
- argus.example.com
Deploy argus with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has argus 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 chartargus is pinned at v0.5.0 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