Hash helm-index.yml文件中的摘要参数

Hash helm-index.yml文件中的摘要参数,hash,yaml,kubernetes-helm,digest-authentication,Hash,Yaml,Kubernetes Helm,Digest Authentication,当我跑的时候 helm repo index .... 有一个自动生成的参数称为“摘要”。例如: - created: 2020-05-06T00:39:45.220619461+03:00 description: blabla digest: 7e16fe42a5bb6a6859ce6f9f1cdb3dd6821addc6e5193080d9d444faa1a6fc31 这个参数是什么?它的用途是什么?它重要吗?摘要是头盔图表存档文件的散列。它用于验证下载的舵图的完整性。 我一直在寻找

当我跑的时候

helm repo index ....
有一个自动生成的参数称为“摘要”。例如:

 - created: 2020-05-06T00:39:45.220619461+03:00
description: blabla
digest: 7e16fe42a5bb6a6859ce6f9f1cdb3dd6821addc6e5193080d9d444faa1a6fc31

这个参数是什么?它的用途是什么?它重要吗?

摘要
是头盔图表存档文件的散列。它用于验证下载的舵图的完整性。 我一直在寻找关于这一特定事物的文档,但实际上找不到任何文档,因此,以下是来自helm源代码的相关部分:

首先,这是在运行
helm repo index
时创建index.yaml文件的函数:

在标记的行中,从头盔图表创建sha256哈希。用于该(
progence.DigestFile()
)的函数具有以下内容:

// DigestFile calculates a SHA256 hash (like Docker) for a given file.
//
// It takes the path to the archive file, and returns a string representation of
// the SHA256 sum.
//
// The intended use of this function is to generate a sum of a chart TGZ file.
func DigestFile(filename string) (string, error)
我目前正在努力寻找实际使用该摘要的相关代码部分,所以请恕我直言