kubernetes-helm - Helm, add checksum annotation from values
问题描述
A third-party chart which I use a dependency allows extra annotations to be passed in from values file. However the annotation I want to pass in is checksum/config
values.yaml
mychart:
annotations:
checksum/config: "{{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}"
But whatever passed from the values files is rendered as string. Is there a working way to pass in checsum/config from values.yaml?
解决方案
推荐阅读
- java - 如何加密/解密 blueprint.xml 中的密码?
- excel - 在循环中根据单元格值隐藏行
- css - Chrome 正在破坏布局,我该如何解决?
- excel - 文件打开时如何阻止单元格?
- file - 使用 perl 将文本文件转换为二进制文件的问题
- java - Rest API 获取 POST 请求而不是 GET
- php - 在编辑订单页面上的自定义 Woocommerce 订单号下添加 order_id
- mysql - 如何在意外情况下使 liquibase 变更集失败?
- docker - 无法通过 VM IP 连接到我的 docker 应用程序
- python - 在终端中输入“conda list”时列出了什么?