mirror of https://github.com/rancher/ui.git
Ensure nodelocal shows up in cluster create yaml view for rke
rancher/rancher#25811
This commit is contained in:
parent
f2b671da97
commit
9f5430ed9d
|
|
@ -26,7 +26,7 @@ import { coerceVersion } from 'shared/utils/parse-version';
|
|||
import { prepareForBackend as drainNodeWillSave } from 'shared/components/drain-node/component';
|
||||
|
||||
const EXCLUDED_KEYS = ['name'];
|
||||
const EXCLUDED_CHILDREN_KEYS = ['extra_args'];
|
||||
const EXCLUDED_CHILDREN_KEYS = ['extra_args', 'nodelocal', 'dns'];
|
||||
|
||||
function camelToUnderline(str, split = true) {
|
||||
str = (str || '');
|
||||
|
|
@ -1463,6 +1463,15 @@ export default InputTextFile.extend(ManageLabels, ClusterDriver, {
|
|||
type: 'authnConfig',
|
||||
strategy: 'x509',
|
||||
}),
|
||||
dns: globalStore.createRecord({
|
||||
type: 'dnsConfig',
|
||||
nodelocal: globalStore.createRecord({
|
||||
type: 'nodelocal',
|
||||
ip_address: '',
|
||||
node_selector: null,
|
||||
update_strategy: {},
|
||||
})
|
||||
}),
|
||||
network: globalStore.createRecord({
|
||||
type: 'networkConfig',
|
||||
plugin: 'canal',
|
||||
|
|
|
|||
Loading…
Reference in New Issue