Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ flux get sources helm

NAME    READY   MESSAGE                                                         REVISION                                       SUSPENDED
ncyd    True    Fetched revision: 732d32e292bd0def8d5782211f139523d23880a1      732d32e292bd0def8d5782211f139523d23880a1       False


Create Helm Release

Code Block
languagebash
$ flux create helmrelease kafka --source=HelmRepository/ncyd --chart kafka --release-name kafka --target-namespace default --interval 5m0s --export > helmrelease-kafka.yaml

You may want to update this helmrelease to override certain values


Code Block
languagebash
$ vi helmrelease-kafka.yaml


Code Block
languageyml
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: kafka
  namespace: flux-system
spec:
  chart:
    spec:
      chart: kafka
      sourceRef:
        kind: HelmRepository
        name: ncyd
  values:
    somevalue: val
  interval: 5m0s
  releaseName: kafka
  targetNamespace: default


Now, commit this file to your git and wait a little bit before executing the following command:

Code Block
languagebash
$ flux get helmreleases


References

ReferencesURL
Supercharge your Kubernetes deployments with Flux v2 and GitHub - Introductionhttps://www.youtube.com/watch?v=N6UCKF7JD7k
Get Started with Fluxhttps://fluxcd.io/docs/get-started/
Install the Flux CLIhttps://fluxcd.io/docs/installation/#install-the-flux-cli
flux2-kustomize-helm-examplehttps://github.com/fluxcd/flux2-kustomize-helm-example

...