From f100b0c32d6a53049c618624504c918fa6481705 Mon Sep 17 00:00:00 2001 From: T ArunTheja <arun9theja@gmail.com> Date: Fri, 13 May 2022 10:18:42 +0000 Subject: [PATCH] Helmfile --- Helm/Helmfile | 46 ++-------------------------------------------- 1 file changed, 2 insertions(+), 44 deletions(-) diff --git a/Helm/Helmfile b/Helm/Helmfile index 998a1fc..c7acac7 100644 --- a/Helm/Helmfile +++ b/Helm/Helmfile @@ -1,3 +1,5 @@ +Helmfile is a declarative specification for deploying several Helm charts. + Download the Helmfile binary file from 'https://github.com/roboll/helmfile/releases'. Rename the file from 'helmfile_linux_amd64' to 'helmfile'. @@ -11,47 +13,3 @@ $ mv helmfile /usr/local/bin After moving the file verify the Helmfile installation by running the command. $ helmfile --version - -# Example 1 -Create a helmchart. -$ helm create helloworld - -Let’s create a Helmfile for the helmchart we have just created. -We are going to create helmfile.yaml at the same location where we have crated helloworld helmchart. -############################################# -$ vi helmfile.yaml ---- -releases: - - - name: helloworld - chart: ./helloworld - installed: true # to install the helmchart using helmfile then must set this flag to 'true' -############################################# -Then save and close the file using ':wq!'. - -To create helloworld helmchart using helmfile let’s try by running the command. -$ helmfile sync - -To verify helmchart. -$ helm list -a - -############################################# -$ vi helmfile.yaml ---- -releases: - - - name: helloworld - chart: ./helloworld - installed: false # to uninstall the helmchart using helmfile then must set this flag to 'false' -############################################# - -After updating the helmfile need to run the following command. -$ helmfile sync - -# Example 2 - GitHub Repository for installing helmchart using Helmfile -Repository URL -> git+https://github.com/rahulwagh/helmchart@helloworld?ref=master&sparse=0 - | | | | |---------------> - | | | |--------------------------------> - | | |-------------------------------------------> - | |----------------------------------------------------> - |------------------------------------------------------------------> -- GitLab