一、helm的目录层级
### --- 使用helm创建一个charts
[root@k8s-master01 harbor]# helm create helm-test
Creating helm-test
### --- helm创建的charts的层级
[root@k8s-master01 harbor]# tree helm-test
├── charts # 依赖文件
├── Chart.yaml # 这个chart的版本信息
├── templates # 模板
│ ├── deployment.yaml
│ ├── _helpers.tpl # 自定义的模板或者函数
│ ├── ingress.yaml
│ ├── NOTES.txt # 这个chart的信息
│ ├── serviceaccount.yaml
│ ├── service.yaml
│ └── tests
│ └── test-connection.yaml
└── values.yaml # 配置全局变量或者一些参数
### --- charts目录层级解释
[root@k8s-master01 helm-test]# cat values.yaml
replicaCount: 1 # 副本数
image: #