radio-dixital

by pvillaverde

Helm chartv1.6.0App 1.5.0Verified publisher

Obradoiro Dixital Galego App "R.A.D.I.O. Dixital"

About this chart

🏗️ Installation

Using Helm

Helm must be installed to use the charts. Please refer to Helm's documentation to get started.

Once Helm has been set up correctly, add the repo as follows:

  helm repo add pvillaverde https://pvillaverde.github.io/helm-charts

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages. You can then run helm search repo pvillaverde to see the charts.

For example, to install the radio-dixital chart:

    helm install radio-dixital pvillaverde/radio-dixital

To uninstall the chart:

    helm delete radio-dixital

Using FluxCD

Install the Helm repository:

apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
  name: pvillaverde
  namespace: flux-system
spec:
  interval: 1h0m0s
  url: https://pvillaverde.github.io/helm-charts

Launch a HelmRelease, for example the radio-dixital chart:

apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
  name: radio-dixital
  namespace: flux-system
spec:
  releaseName: radio-dixital
  targetNamespace: kirfed
  interval: 10m
  chart:
    spec:
      chart: radio-dixital
      version: 1.6.0
      sourceRef:
        kind: HelmRepository
        name: pvillaverde
        namespace: flux-system
  values:
    image:
      tag: 1.5.0
    logLevel: INFO
    timeZone: Europe/Madrid
    cronJobs:
    - task: refreshYoutube
      schedule: "15,45 * * * *"
    - task: refreshPodcasts
      schedule: "0,30 * * * *"
    - task: refreshBlogs
      schedule: "5,55 * * * *"
    - task: refreshYoutubeStats
      schedule: "20 1 1,9,17,25 * *"
    - task: refreshTwitchChannels
      schedule: "13 4 * * *"
    - task: refreshTwitchGames
      schedule: "*/15 * * * *"
    - task: refreshTwitchClips
      schedule: "0 5 * * 5" # Every Friday
    - task: refreshTwitchStreams
      schedule: "* * * * *" # Every Minute
    secretName: obradoirodixital-radio-dixital

Deploy radio-dixital with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has radio-dixital 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 chartradio-dixital is pinned at v1.6.0 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