1
00:00:00,000 --> 00:00:09,366
Hi, Let us understand about adding a chart to the repository using helm push plugin.

2
00:00:09,366 --> 00:00:14,899
Before that, I need to give a quick introduction about a plugin. Helm supports plugin architecture

3
00:00:14,900 --> 00:00:21,033
where I can develop my own custom plugin and make use of it or plugin developed by third party and

4
00:00:21,033 --> 00:00:25,033
make use of it. The similar way there are n number of plugins available

5
00:00:25,033 --> 00:00:29,333
One such plugin is helm push plugin and that is available over here.

6
00:00:29,333 --> 00:00:36,799
I can install the helm push plugin with a simple command helm plugin install and the GitHub location

7
00:00:36,800 --> 00:00:42,833
or the location where I do have the installation files. I can install using Helm plugins.

8
00:00:42,833 --> 00:00:46,699
Since I already installed I'm not going to run this again.

9
00:00:46,700 --> 00:00:49,266
I can use the command helm plugin list.

10
00:00:49,266 --> 00:00:54,932
That's going to list the plugins installed as a part of this specific helm installation. I do

11
00:00:54,933 --> 00:01:01,866
have a push plugin which is going to push the chart package into the Chart Museum and I can search for helm

12
00:01:01,866 --> 00:01:06,666
plugins and there are n number of plugins available.

13
00:01:06,666 --> 00:01:14,299
And depending on the need, we can make use of the plugins based on the license as well as the stability of the code.

14
00:01:14,300 --> 00:01:24,133
Now let me go ahead and create a new chart and push the chart using the helm push plugin,

15
00:01:24,133 --> 00:01:31,266
helm create helm pushdemo now we do have this chart.

16
00:01:31,266 --> 00:01:32,999
Let me get him to the chart.

17
00:01:33,000 --> 00:01:41,833
And update the chart.yaml file

18
00:01:41,833 --> 00:01:50,799
Now, let me go ahead and package this Chart, helm package helm pushdemo.

19
00:01:50,800 --> 00:01:56,266
So that's going to provide me the packaged charts. I can use this package chart

20
00:01:56,266 --> 00:02:03,599
or I can directly use the directory as well, so I can use the command helm. I'll use the helm push

21
00:02:03,600 --> 00:02:10,366
command and name of the directory where I created the new chart and the repository name

22
00:02:10,366 --> 00:02:16,499
So that's going to create the zipped content automatically and push it into the repository.

23
00:02:16,500 --> 00:02:26,100
Now I can do an update and check the list of charts available within the repository.

24
00:02:26,100 --> 00:02:31,633
So the advantage of using the push is directly I can mention the chart folder and do a push.

25
00:02:31,633 --> 00:02:34,233
I don't need to do the packaging or

26
00:02:34,233 --> 00:02:40,566
I can do the package and move the files, or I can use the curl and pass the packaged chart files

27
00:02:40,566 --> 00:02:45,732
using the data binary option into the chart museum using restapi.

28
00:02:45,733 --> 00:02:48,599
So there are multiple ways and these are all  different options where

29
00:02:48,600 --> 00:02:55,000
I can push the charts into the repository that is the chart museum repository. In future lectures

30
00:02:55,000 --> 00:02:58,533
We will discuss about few of the options of how to host the repository

31
00:02:58,533 --> 00:03:03,099
within GitHub or within AWS S3 bucket as well

32
00:03:03,100 --> 00:03:07,133
Once the repository is set up, then we can make use of those repositories

33
00:03:07,133 --> 00:03:11,633
Pull the charts and create our own resources within kubernetes.

