在创建configmap时使用helm替换文件之间的变量

时间:2020-07-24 15:25:41

标签: get openshift kubernetes-helm

我正在使用头盔创建Configmap。
Configmap中的两个文件是"react-router": "^6.0.0-beta.0" "react-router-dom": "^6.0.0-beta.0" "react-router": "6.0.0-alpha.2", "react-router-dom": "6.0.0-alpha.2"

application_env_var.json文件包含带有值的变量,而application.properties文件仅引用.json文件中的变量。

我的要求是,在创建Configmap时,.properties文件中的变量将被.json文件中的值替换。

这是我使用的语法,但是这些值不能代替.properties文件。

.json

它只是按原样使用文件创建Configmap。

0 个答案:

没有答案
相关问题