./sconfig down ${config_file} ${namespace} ${secret_name}
当前config_file支持secrets.py
及 config.hcl
两种
执行以上命令后将在当前目录出现secret文件(secret.json
) 及 配置文件(secrets.py
或 config.hcl
)
- 先修改
config_file
对应的配置文件 - 执行下列脚本替换secret文件中的配置
./sconfig replace ${config_file}
./sconfig apply
test