首页 > 解决方案 > Helm Secret 在 helm secret 问题中连接两个值

问题描述

我有一个价值:

test_id = 'test_'

我想将此字符串与 uuidv4 秘密连接,例如:

test_111332asdf44

我正在尝试执行以下操作:

data:
      id: "{{ printf "%s%s" test_id uuidv4 | b64encode }}"

但是,它给出了无效语法的错误。

标签: gokubernetes-helmsecret-key

解决方案


推荐阅读