diff --git a/shell/assets/translations/en-us.yaml b/shell/assets/translations/en-us.yaml index 24370a02ee..7de7b7e8f3 100644 --- a/shell/assets/translations/en-us.yaml +++ b/shell/assets/translations/en-us.yaml @@ -2579,15 +2579,18 @@ fleet: notReady: Not Ready waitApplied: Wait Applied clusterTargets: + title: Select by name label: Clusters advancedConfigs: Advanced target configurations are defined, check the YAML file for further details. placeholders: selectMultiple: Select Multiple Clusters rules: - title: Labels matching rules - description: Add rules to select clusters with matching labels + title: Select by labels addSelector: Add cluster selector - matching: Target Clusters + matching: + title: Selected clusters + placeholder: Select clusters by name or labels + empty: No clusters in the workspace application: pageTitle: App Bundles menuLabel: App Bundles @@ -2719,7 +2722,7 @@ fleet: clusterGroup: Cluster Group label: Deploy To labelLocal: Deploy With - additionalOptions: Additional Options + additionalOptions: Additional settings targetDisplay: advanced: Advanced clusters: "Clusters" diff --git a/shell/components/fleet/FleetClusterTargets/TargetsList.vue b/shell/components/fleet/FleetClusterTargets/TargetsList.vue index b252ba2753..0cdad1f004 100644 --- a/shell/components/fleet/FleetClusterTargets/TargetsList.vue +++ b/shell/components/fleet/FleetClusterTargets/TargetsList.vue @@ -9,6 +9,11 @@ export default { type: Array as PropType<{ name: string }[]>, default: () => [], }, + + emptyLabel: { + type: String, + default: '' + } }, computed: { @@ -33,22 +38,25 @@ export default { diff --git a/shell/components/fleet/FleetClusterTargets/index.vue b/shell/components/fleet/FleetClusterTargets/index.vue index 8a1bf06859..1fcd663eb3 100644 --- a/shell/components/fleet/FleetClusterTargets/index.vue +++ b/shell/components/fleet/FleetClusterTargets/index.vue @@ -111,18 +111,18 @@ export default { const out: { label: string, value: TargetMode }[] = [ { - label: 'All Clusters in the Workspace', + label: 'All Clusters in the workspace', value: 'all', }, { - label: 'No Clusters', + label: 'No clusters', value: 'none' }, ]; if (this.clustersOptions.length) { out.push({ - label: 'Manually select clusters', + label: 'Manually selected clusters', value: 'clusters' }); } @@ -326,7 +326,9 @@ export default { class="row mt-20" >
+

{{ t('fleet.clusterTargets.title') }}

-
+

{{ t('fleet.clusterTargets.rules.title') }}

-

- {{ t('fleet.clusterTargets.rules.description') }} -

diff --git a/shell/edit/fleet.cattle.io.gitrepo.vue b/shell/edit/fleet.cattle.io.gitrepo.vue index 6aae69afc2..41bf376be2 100644 --- a/shell/edit/fleet.cattle.io.gitrepo.vue +++ b/shell/edit/fleet.cattle.io.gitrepo.vue @@ -127,7 +127,7 @@ export default { label: this.t('fleet.gitRepo.add.steps.metadata.label'), subtext: this.t('fleet.gitRepo.add.steps.metadata.subtext'), descriptionKey: 'fleet.gitRepo.add.steps.metadata.description', - ready: this.isView || !!this.value.metadata.name, + ready: true, weight: 1 }, { @@ -136,7 +136,7 @@ export default { label: this.t('fleet.gitRepo.add.steps.repo.label'), subtext: this.t('fleet.gitRepo.add.steps.repo.subtext'), descriptionKey: 'fleet.gitRepo.add.steps.repo.description', - ready: this.isView || (!!this.refValue && !!this.fvFormIsValid), + ready: true, weight: 1 }, { @@ -657,7 +657,6 @@ export default {