go - Helm Secret 在 helm secret 问题中连接两个值
问题描述
我有一个价值:
test_id = 'test_'
我想将此字符串与 uuidv4 秘密连接,例如:
test_111332asdf44
我正在尝试执行以下操作:
data:
id: "{{ printf "%s%s" test_id uuidv4 | b64encode }}"
但是,它给出了无效语法的错误。
解决方案
推荐阅读
- integration - 添加 CBR 后,flowground 流不工作
- javascript - 如何使用打字稿修剪对象内部的对象
- bash - 在遍历文件时优化行的前缀检查
- c# - 用于管理文本文件大小的第三方工具
- android - 使用 Android Gradle Plugin v. 3.5.2 构建 Android 项目时,我的构建失败
- javascript - 将对象属性分配给 v-model
- javascript - 使用 Puppeteer 获取您当前正在下载的页面的百分比
- c++ - 为什么我会收到无效的 UTF8 错误?
- sql - 从表1中选择数据并将相关数据插入到第二个表2字段中
- spring - 为什么消息属性在 Spring MVC 中返回 Null