SubstituteFromDefinition interface
变量替换为此 Kustomization 的 ConfigMaps/机密数组。
属性
kind | 定义是 ConfigMap 还是机密,用于保存要在替换中使用的变量。 |
name | 保存要替换的变量的 ConfigMap/Secret 的名称。 |
optional | 如果不存在,则设置为 True 以在没有 ConfigMap/Secret 的情况下继续。 |
属性详细信息
kind
定义是 ConfigMap 还是机密,用于保存要在替换中使用的变量。
kind?: string
属性值
string
name
保存要替换的变量的 ConfigMap/Secret 的名称。
name?: string
属性值
string
optional
如果不存在,则设置为 True 以在没有 ConfigMap/Secret 的情况下继续。
optional?: boolean
属性值
boolean