/helm-charts

Primary LanguageSmartyMIT LicenseMIT

☸️ Helm Charts for Kubernetes by pvillaverde

🏗️ 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.5.0
      sourceRef:
        kind: HelmRepository
        name: pvillaverde
        namespace: flux-system
  values:
    image:
      tag: 1.4.5
    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

🧩 Development Notes

Generate manifests:

helm install --debug --dry-run  chart ./charts/chart/

Generate Schemas:

helm schema-gen values.yaml > values.schema.json

🙏 Acknowledgements

⚖️ License

Copyright 2024 Pablo Villaverde Castro

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.