Skip to content

Instantly share code, notes, and snippets.

@taking
Last active June 22, 2022 00:24
Show Gist options
  • Save taking/bdb8d4c886e807832aaa88daeebe5b02 to your computer and use it in GitHub Desktop.
Save taking/bdb8d4c886e807832aaa88daeebe5b02 to your computer and use it in GitHub Desktop.

helm-operator Installation with Helm

helm-operator == helm-controller

Document

image

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+

helm update

helm repo add fluxcd https://charts.fluxcd.io
helm repo update

Install

kubectl apply -f https://raw.githubusercontent.com/fluxcd/helm-operator/master/deploy/crds.yaml
helm upgrade -i helm-operator fluxcd/helm-operator \
  --create-namespace \
  --namespace helm \
  --set helm.versions=v3

yaml example

cat <<EOF | kubectl apply -f -
# podinfo.yaml
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
  name: podinfo
  namespace: default
spec:
  releaseName: podinfo
  chart:
    repository: https://stefanprodan.github.io/podinfo
    name: podinfo
    version: 3.2.0
  values: # Overriding Helm chart values
    replicaCount: 2
EOF

image image

@taking
Copy link
Author

taking commented Jun 20, 2022

helm-operator == helm-controller

(Option) helm-controller

Prerequisites

  • Kubernetes 1.19+

install

kubectl apply -f https://github.com/fluxcd/helm-controller/releases/download/v0.22.1/helm-controller.crds.yaml
kubectl apply -f https://github.com/fluxcd/helm-controller/releases/download/v0.22.1/helm-controller.deployment.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment