diff --git a/pkg/harvester/l10n/en-us.yaml b/pkg/harvester/l10n/en-us.yaml index ffba1efd..db4e5040 100644 --- a/pkg/harvester/l10n/en-us.yaml +++ b/pkg/harvester/l10n/en-us.yaml @@ -742,6 +742,9 @@ harvester: terminationGracePeriodSeconds: label: Termination Grace Period affinity: + addLabel: Add Workload Selector + topologyKey: + placeholder: 'topology.kubernetes.io/zone' thisPodNamespace: This virtual machine's namespace matchExpressions: inNamespaces: "Workloads in these namespaces" @@ -1494,18 +1497,6 @@ harvester: pollingInterval: label: Polling Interval - affinity: - thisPodNamespace: This virtual machine's namespace - matchExpressions: - inNamespaces: "Workloads in these namespaces" - vmAffinityTitle: Virtual Machine Scheduling - namespaces: - placeholder: e.g. default,system,base - label: Namespaces - addLabel: Add Workload Selector - topologyKey: - placeholder: 'topology.kubernetes.io/zone' - advancedSettings: experimental: 'Experimental features allow users to test and evaluate early-access functionality prior to official supported releases' descriptions: diff --git a/pkg/harvester/mixins/harvester-vm/index.js b/pkg/harvester/mixins/harvester-vm/index.js index a375de2d..d04df2bd 100644 --- a/pkg/harvester/mixins/harvester-vm/index.js +++ b/pkg/harvester/mixins/harvester-vm/index.js @@ -282,14 +282,14 @@ export default { affinityLabels() { return { - namespaceInputLabel: this.t('harvester.affinity.namespaces.label'), + namespaceInputLabel: this.t('harvester.virtualMachine.affinity.namespaces.label'), namespaceSelectionLabels: [ this.t('harvester.virtualMachine.affinity.thisPodNamespace'), this.t('workload.scheduling.affinity.allNamespaces'), this.t('harvester.virtualMachine.affinity.matchExpressions.inNamespaces') ], - addLabel: this.t('harvester.affinity.addLabel'), - topologyKeyPlaceholder: this.t('harvester.affinity.topologyKey.placeholder') + addLabel: this.t('harvester.virtualMachine.affinity.addLabel'), + topologyKeyPlaceholder: this.t('harvester.virtualMachine.affinity.topologyKey.placeholder') }; }, },