[英]How to extract the helm values.yaml of my existing helm deployment (Name : prime-gitlab)
I have deployed Gitlab from gitlab official helm chart.我已经从 gitlab 官方掌舵图部署了 Gitlab。 When I deployed it I didn't enable LDAP. Be informed that I didn't edit the values.yaml rather I used
helm update --install XXX
command to do it.当我部署它时,我没有启用 LDAP。请注意,我没有编辑 values.yaml,而是使用
helm update --install XXX
命令来完成它。
My question is how do I extract the helm values.yaml of my existing helm deployment (Name: prime-gitlab
).我的问题是如何提取现有 helm 部署(名称:
prime-gitlab
)的 helm values.yaml。 I know how to use helm value show
command to download the value.yaml from the gitlab / artifactoryhub but here I would like extract my existing value.yaml so I can edit the LDAP part in the values.yaml file.我知道如何使用
helm value show
命令从 gitlab / artifactoryhub 下载 value.yaml 但在这里我想提取我现有的 value.yaml 这样我就可以编辑 values.yaml 文件中的 LDAP 部分。
01:36 AM ✔ root on my-k8s-man-01 Δ [~] Ω helm ls -n prime-gitlab
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
prime-gitlab prime-gitlab 1 2022-02-12 01:02:15.901215658 -0800 PST deployed gitlab-5.7.2 14.7.2
The answer here is very short.这里的答案很简短。 Exactly, like @DavidMaze mentioned in comments section you're looking for
helm get values
.确切地说,就像评论部分提到的@DavidMaze 一样,您正在寻找
helm get values
。
To this command one can use several options.对于此命令,可以使用多个选项。
This command downloads a values file for a given release.
此命令下载给定版本的值文件。
helm get values RELEASE_NAME [flags]
Options:选项:
-a, --all dump all (computed) values
-h, --help help for values
-o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table)
--revision int get the named release with revision
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.