Một hôm bạn nhận được nhiệm vụ là fix helm chart và bạn thấy 1 dòng khó hiểu:{{ template "common.metadata" . }}
![](https://nimtechnology.com/wp-content/uploads/2022/01/image-92.png)
Mình có reference link:
https://helm.sh/docs/howto/charts_tips_and_tricks/#creating-image-pull-secrets
nhìn như ảnh thì Helm chart sẽ lấy value + template “common.metadata
” đưa vào data vào ví trí đó.
![](https://nimtechnology.com/wp-content/uploads/2022/01/image-93.png)
![](https://nimtechnology.com/wp-content/uploads/2022/01/image-94.png)
![](https://nimtechnology.com/wp-content/uploads/2022/01/image-95.png)