1
00:00:00,000 --> 00:00:09,200
Hi. Now let us create another chart and add it as a part of the repository

2
00:00:09,200 --> 00:00:14,400
And understand how repository can handle multiple charts.

3
00:00:14,400 --> 00:00:23,500
Let me go ahead and create a new chart helm create myrepo2

4
00:00:23,500 --> 00:00:31,933
So I should have another folder myrepo2 as a part of the location where I created the chart.

5
00:00:31,933 --> 00:00:34,633
Let me get into the folder.

6
00:00:34,633 --> 00:00:42,799
Let me go ahead and modify the chart.yaml file

7
00:00:42,800 --> 00:00:53,366
Now, I'm going to package this particular chart using the package command helm package myrepo2

8
00:00:53,366 --> 00:00:58,866
So accordingly it's going to create the zipped content so that should be available over here.

9
00:00:58,866 --> 00:01:05,866
Now, let's understand what happens if I copy this particular zip file into the repository storage.

10
00:01:05,866 --> 00:01:08,499
As I mentioned earlier, the storage could be a GitHub

11
00:01:08,500 --> 00:01:12,800
or Amazon S3 bucket or even any other cloud storage.

12
00:01:12,800 --> 00:01:14,500
In this case it's a local storage

13
00:01:14,500 --> 00:01:19,233
So I can move this particular file using FTP or some other option.

14
00:01:19,233 --> 00:01:21,999
Since the Chart Museum repository running in the same machine

15
00:01:22,000 --> 00:01:30,700
I can use the copy command.

16
00:01:30,700 --> 00:01:39,133
So I'm going to copy this particular zipped content into the location where the Chart Museum is pointing to for the storage.

17
00:01:39,133 --> 00:01:46,733
Now, if I check this particular folder location I should have this particular zipped content as well.

18
00:01:46,733 --> 00:01:58,833
So I do have it, now let me go ahead and update the repository.

19
00:01:58,833 --> 00:02:03,666
Now, let me search repository.

20
00:02:03,666 --> 00:02:06,132
Now, I do have the other chart as well.

21
00:02:06,133 --> 00:02:09,899
That is myrepo2 as a part of the other chart.

22
00:02:09,900 --> 00:02:12,900
This is the chart that we had added manually by

23
00:02:12,900 --> 00:02:19,100
Copying the file into the storage location. In case if I wanted to list all the version as we discussed earlier

24
00:02:19,100 --> 00:02:25,166
I can use the flag -l, where it is going to list all the available version.

25
00:02:25,166 --> 00:02:29,499
So if you observe very carefully, we do have two version for this particular chart

26
00:02:29,500 --> 00:02:34,266
repo test and I do have another chart and only one version is available.

27
00:02:34,266 --> 00:02:38,566
So this is a quick demo on how I can manage multiple charts

28
00:02:38,566 --> 00:02:44,432
And another way of copying the chart package into the storage location and automatically chart museum

29
00:02:44,433 --> 00:02:48,966
going to pick this and make it available for the helm clients.

