1
00:00:00,266 --> 00:00:08,566
Hi, Let us understand how to include notes for a chart.

2
00:00:08,566 --> 00:00:14,166
As we discussed earlier, within the templates folder there could be three different type of files templates

3
00:00:14,166 --> 00:00:18,332
file as such that's going to be the manifest for kubernetes.

4
00:00:18,333 --> 00:00:25,266
And notes.txt thats going to have the notes for the file and other helper templates. Within

5
00:00:25,266 --> 00:00:31,066
the notes.txt I can give the instructions on what are all the notes that should get displayed

6
00:00:31,066 --> 00:00:33,932
once the chart is deployed.

7
00:00:33,933 --> 00:00:40,433
or a release is made and this can act as another template where the normal template

8
00:00:40,433 --> 00:00:43,866
Syntax can be included within the notes as well.

9
00:00:43,866 --> 00:00:50,732
For example, I can access the global built in objects as well as the other rules of templates like

10
00:00:50,733 --> 00:00:53,566
looping everything works within the notes as well.

11
00:00:53,566 --> 00:00:55,732
Generally this will be displayed whenever

12
00:00:55,733 --> 00:01:00,633
I am going to do a dry run or any deployment of the helm chart.

13
00:01:00,633 --> 00:01:06,066
This notes will get displayed in the end so that that will be useful for the users to understand

14
00:01:06,066 --> 00:01:11,499
What are all the instructions or the steps to follow further once the release is made.

15
00:01:11,500 --> 00:01:15,766
Let's go ahead and create a sample notes. Within templates

16
00:01:15,766 --> 00:01:21,299
I'm going to create a file called notes.txt

17
00:01:21,300 --> 00:01:24,033
Let me include a sample content.

18
00:01:24,033 --> 00:01:31,833
So here I am including some of the template derivative and some instructions so that this particular

19
00:01:31,833 --> 00:01:36,233
instructions are these six lines will get displayed once the release is

20
00:01:36,233 --> 00:01:42,033
done. Let me go ahead and do the installation of the chart. I'm providing the chart resource location

21
00:01:42,033 --> 00:01:46,066
as well. The name of the release I am giving is notes demo

22
00:01:46,066 --> 00:01:51,599
The chart got deployed and the instructions that we provided as a part of the notes that is getting displayed over here.

23
00:01:51,600 --> 00:01:57,266
And this is the place where we will provide the connection configurations in case if I am providing

24
00:01:57,266 --> 00:02:03,166
any database or deploying any database, I can provide the user ID, passwords or anything that I am

25
00:02:03,166 --> 00:02:08,765
generating as a part of the template so that that will be useful for the users further to understand

26
00:02:08,765 --> 00:02:14,632
what got deployed as well as how to connect to those resources and how to make use of those resources.

27
00:02:14,633 --> 00:02:20,766
And what are all the care to be taken, especially when that particular release is made. Now let me

28
00:02:20,766 --> 00:02:24,032
go ahead and uninstall this particular chart.

29
00:02:24,033 --> 00:02:30,399
Here if you observe very carefully the release name got replaced and the exact command got generated.

30
00:02:30,400 --> 00:02:34,466
I can uninstall the release as well using the same command.

31
00:02:34,466 --> 00:02:39,699
And it is always recommended to have a clear notes on each and every charts.

