@rancher/shell 2.0.1 → 3.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/base/_variables.scss +1 -0
- package/assets/styles/global/_labeled-input.scss +22 -11
- package/assets/styles/global/_layout.scss +4 -4
- package/assets/styles/global/_select.scss +1 -1
- package/assets/styles/global/_tooltip.scss +39 -72
- package/assets/translations/en-us.yaml +26 -5
- package/chart/__tests__/S3.test.ts +21 -14
- package/chart/example.vue +1 -1
- package/chart/gatekeeper.vue +4 -4
- package/chart/istio.vue +11 -11
- package/chart/logging/index.vue +8 -8
- package/chart/monitoring/ClusterSelector.vue +13 -13
- package/chart/monitoring/alerting/index.vue +6 -6
- package/chart/monitoring/grafana/index.vue +14 -14
- package/chart/monitoring/index.vue +122 -108
- package/chart/monitoring/prometheus/index.vue +18 -18
- package/chart/rancher-backup/S3.vue +11 -11
- package/chart/rancher-backup/index.vue +68 -60
- package/cloud-credential/__tests__/azure.test.ts +7 -17
- package/cloud-credential/__tests__/harvester.test.ts +2 -2
- package/cloud-credential/aws.vue +3 -3
- package/cloud-credential/azure.vue +4 -4
- package/cloud-credential/digitalocean.vue +1 -1
- package/cloud-credential/gcp.vue +1 -1
- package/cloud-credential/generic.vue +1 -1
- package/cloud-credential/harvester.vue +1 -1
- package/cloud-credential/linode.vue +1 -1
- package/cloud-credential/pnap.vue +2 -2
- package/cloud-credential/s3.vue +8 -8
- package/cloud-credential/vmwarevsphere.vue +4 -4
- package/components/ActionDropdown.vue +12 -16
- package/components/ActionMenu.vue +2 -2
- package/components/AlertTable.vue +1 -1
- package/components/AppModal.vue +20 -9
- package/components/AssignTo.vue +38 -37
- package/components/AsyncButton.vue +4 -7
- package/components/ButtonDropdown.vue +22 -20
- package/components/ButtonGroup.vue +1 -1
- package/components/Carousel.vue +1 -1
- package/components/Certificates.vue +1 -1
- package/components/ChartReadme.vue +7 -7
- package/components/CodeMirror.vue +2 -2
- package/components/CommunityLinks.vue +2 -2
- package/components/ConsumptionGauge.vue +1 -1
- package/components/ContainerResourceLimit.vue +11 -11
- package/components/CountGauge.vue +1 -1
- package/components/CreateDriver.vue +4 -4
- package/components/CruResource.vue +36 -20
- package/components/DashboardMetrics.vue +3 -3
- package/components/DashboardOptions.vue +3 -3
- package/components/DetailTop.vue +3 -3
- package/components/DisableAuthProviderModal.vue +7 -8
- package/components/EmberPage.vue +1 -1
- package/components/EtcdInfoBanner.vue +1 -1
- package/components/ExplorerMembers.vue +8 -9
- package/components/ExplorerProjectsNamespaces.vue +6 -7
- package/components/FileDiff.vue +1 -1
- package/components/FixedBanner.vue +1 -0
- package/components/GlobalRoleBindings.vue +5 -6
- package/components/GradientBox.vue +1 -2
- package/components/GrafanaDashboard.vue +7 -7
- package/components/GrowlManager.vue +1 -1
- package/components/HarvesterServiceAddOnConfig.vue +2 -2
- package/components/IconOrSvg.vue +1 -2
- package/components/Import.vue +4 -3
- package/components/Inactivity.vue +2 -2
- package/components/IndentedPanel.vue +0 -1
- package/components/InputOrDisplay.vue +21 -32
- package/components/KeyValueView.vue +4 -3
- package/components/LandingPagePreference.vue +3 -2
- package/components/LazyImage.vue +1 -1
- package/components/Loading.vue +1 -1
- package/components/LocaleSelector.vue +4 -4
- package/components/Markdown.vue +1 -1
- package/components/ModalWithCard.vue +1 -4
- package/components/MoveModal.vue +10 -11
- package/components/PercentageBar.vue +7 -7
- package/components/PodSecurityAdmission.vue +13 -13
- package/components/PromptChangePassword.vue +9 -9
- package/components/PromptModal.vue +1 -1
- package/components/PromptRemove.vue +35 -38
- package/components/PromptRestore.vue +68 -69
- package/components/Questions/Array.vue +3 -4
- package/components/Questions/Boolean.vue +1 -1
- package/components/Questions/CloudCredential.vue +1 -1
- package/components/Questions/Enum.vue +1 -1
- package/components/Questions/Float.vue +1 -1
- package/components/Questions/Int.vue +1 -1
- package/components/Questions/Question.js +1 -1
- package/components/Questions/QuestionMap.vue +3 -4
- package/components/Questions/Radio.vue +1 -1
- package/components/Questions/Reference.vue +2 -2
- package/components/Questions/String.vue +1 -1
- package/components/Questions/Yaml.vue +1 -1
- package/components/Questions/__tests__/Boolean.test.ts +24 -12
- package/components/Questions/__tests__/Float.test.ts +24 -12
- package/components/Questions/__tests__/Int.test.ts +24 -12
- package/components/Questions/__tests__/String.test.ts +24 -12
- package/components/Questions/__tests__/Yaml.test.ts +25 -13
- package/components/Questions/__tests__/utils/questions-defaults.ts +2 -2
- package/components/Questions/index.vue +10 -10
- package/components/Random.vue +1 -1
- package/components/ResourceDetail/Masthead.vue +7 -2
- package/components/ResourceDetail/index.vue +6 -3
- package/components/ResourceList/Masthead.vue +4 -0
- package/components/ResourceList/index.vue +10 -4
- package/components/ResourceSummary.vue +1 -1
- package/components/ResourceTable.vue +4 -5
- package/components/ResourceYaml.vue +1 -2
- package/components/RoleBindings.vue +3 -3
- package/components/SideNav.vue +10 -8
- package/components/SimpleBox.vue +0 -1
- package/components/SortableTable/THead.vue +5 -5
- package/components/SortableTable/index.vue +21 -20
- package/components/SortableTable/sortable-config.ts +4 -0
- package/components/StatusTable.vue +1 -1
- package/components/TabTitle.vue +3 -9
- package/components/Tabbed/Tab.vue +1 -1
- package/components/Tabbed/index.vue +2 -4
- package/components/Wizard.vue +8 -3
- package/components/YamlEditor.vue +4 -4
- package/components/__tests__/AppModal.test.ts +33 -25
- package/components/__tests__/ApplicationCard.test.ts +1 -1
- package/components/__tests__/AsyncButton.test.ts +42 -34
- package/components/__tests__/BackLink.test.ts +3 -3
- package/components/__tests__/ButtonGroup.test.ts +5 -5
- package/components/__tests__/Carousel.test.ts +2 -2
- package/components/__tests__/Certificates.test.ts +10 -8
- package/components/__tests__/ClusterBadge.test.ts +2 -2
- package/components/__tests__/CodeMirror.test.ts +29 -23
- package/components/__tests__/Collapse.test.ts +3 -3
- package/components/__tests__/CollapsibleCard.test.ts +6 -6
- package/components/__tests__/ConsumptionGauge.test.ts +5 -5
- package/components/__tests__/CruResource.test.ts +67 -56
- package/components/__tests__/EtcdInfoBanner.test.ts +11 -9
- package/components/__tests__/FixedBanner.test.ts +8 -8
- package/components/__tests__/GrowlManager.test.ts +24 -25
- package/components/__tests__/NamespaceFilter.test.ts +49 -32
- package/components/__tests__/PercentageBar.test.ts +10 -10
- package/components/__tests__/PodSecurityAdmission.test.ts +80 -38
- package/components/__tests__/ProjectRow.test.ts +1 -5
- package/components/__tests__/PromptRestore.test.ts +15 -18
- package/components/__tests__/TabTitle.test.ts +21 -14
- package/components/auth/AllowedPrincipals.vue +6 -7
- package/components/auth/RoleDetailEdit.vue +44 -46
- package/components/auth/SelectPrincipal.vue +3 -5
- package/components/auth/__tests__/RoleDetailEdit.test.ts +18 -14
- package/components/auth/login/ldap.vue +2 -2
- package/components/fleet/FleetClusters.vue +0 -1
- package/components/fleet/FleetRepos.vue +0 -1
- package/components/fleet/FleetStatus.vue +15 -16
- package/components/fleet/__tests__/FleetSummary.test.ts +8 -2
- package/components/form/ArrayList.vue +6 -7
- package/components/form/ArrayListGrouped.vue +20 -7
- package/components/form/ArrayListSelect.vue +4 -4
- package/components/form/BannerSettings.vue +10 -10
- package/components/form/ChangePassword.vue +9 -9
- package/components/form/ColorInput.vue +2 -2
- package/components/form/Command.vue +13 -15
- package/components/form/EnvVars.vue +7 -7
- package/components/form/FileImageSelector.vue +1 -1
- package/components/form/GitPicker.vue +7 -7
- package/components/form/HealthCheck.vue +4 -4
- package/components/form/HookOption.vue +13 -13
- package/components/form/InputWithSelect.vue +19 -13
- package/components/form/KeyValue.vue +13 -14
- package/components/form/LabeledSelect.vue +61 -46
- package/components/form/Labels.vue +3 -3
- package/components/form/LifecycleHooks.vue +5 -7
- package/components/form/MatchExpressions.vue +7 -7
- package/components/form/Members/ClusterMembershipEditor.vue +1 -2
- package/components/form/Members/ClusterPermissionsEditor.vue +9 -9
- package/components/form/Members/MembershipEditor.vue +4 -5
- package/components/form/Members/ProjectMembershipEditor.vue +1 -2
- package/components/form/NameNsDescription.vue +12 -13
- package/components/form/Networking.vue +17 -17
- package/components/form/NodeAffinity.vue +9 -10
- package/components/form/NodeScheduling.vue +7 -7
- package/components/form/NotificationSettings.vue +2 -2
- package/components/form/Password.vue +2 -2
- package/components/form/PodAffinity.vue +21 -23
- package/components/form/PodSecurity.vue +6 -6
- package/components/form/Ports.vue +5 -5
- package/components/form/Probe.vue +20 -20
- package/components/form/ProjectMemberEditor.vue +9 -9
- package/components/form/ResourceLabeledSelect.vue +11 -4
- package/components/form/ResourceQuota/Namespace.vue +3 -3
- package/components/form/ResourceQuota/NamespaceRow.vue +3 -3
- package/components/form/ResourceQuota/Project.vue +7 -6
- package/components/form/ResourceQuota/ProjectRow.vue +113 -114
- package/components/form/ResourceSelector.vue +3 -3
- package/components/form/ResourceTabs/index.vue +1 -1
- package/components/form/RuleSelector.vue +7 -6
- package/components/form/SecretSelector.vue +5 -6
- package/components/form/Security.vue +14 -14
- package/components/form/Select.vue +38 -12
- package/components/form/SelectOrCreateAuthSecret.vue +30 -27
- package/components/form/ServiceNameSelect.vue +8 -5
- package/components/form/ServicePorts.vue +4 -4
- package/components/form/ShellInput.vue +3 -3
- package/components/form/SimpleSecretSelector.vue +2 -2
- package/components/form/Taints.vue +5 -4
- package/components/form/Tolerations.vue +12 -12
- package/components/form/UnitInput.vue +1 -1
- package/components/form/ValueFromResource.vue +17 -17
- package/components/form/WorkloadPorts.vue +21 -21
- package/components/form/__tests__/ArrayList.test.ts +14 -11
- package/components/form/__tests__/ArrayListGrouped.test.ts +4 -4
- package/components/form/__tests__/BannerSettings.test.ts +6 -5
- package/components/form/__tests__/Command.test.ts +14 -13
- package/components/form/__tests__/Error.test.ts +5 -5
- package/components/form/__tests__/FileImageSelector.test.ts +5 -5
- package/components/form/__tests__/FileSelector.test.ts +9 -9
- package/components/form/__tests__/InputWithSelect.test.ts +42 -0
- package/components/form/__tests__/KeyValue.test.ts +28 -18
- package/components/form/__tests__/LabeledSelect.test.ts +9 -9
- package/components/form/__tests__/MatchExpressions.test.ts +10 -10
- package/components/form/__tests__/NameNsDescription.test.ts +28 -25
- package/components/form/__tests__/NodeAffinity.test.ts +4 -3
- package/components/form/__tests__/PodAffinity.test.ts +4 -3
- package/components/form/__tests__/Probe.test.ts +6 -6
- package/components/form/__tests__/Security.test.ts +6 -6
- package/components/form/__tests__/Select.test.ts +30 -0
- package/components/form/__tests__/ServiceNameSelect.test.ts +42 -0
- package/components/form/__tests__/Taints.test.ts +18 -17
- package/components/form/__tests__/UnitInput.test.ts +20 -24
- package/components/form/labeled-select-utils/labeled-select.utils.ts +1 -1
- package/components/formatter/AppSummaryGraph.vue +5 -5
- package/components/formatter/ClusterLink.vue +1 -1
- package/components/formatter/Endpoints.vue +4 -1
- package/components/formatter/FleetSummaryGraph.vue +5 -5
- package/components/formatter/ListLink.vue +1 -1
- package/components/formatter/ListLinkDetail.vue +2 -2
- package/components/formatter/LiveExpiryBadgeState.vue +18 -5
- package/components/formatter/LiveExpiryDate.vue +1 -1
- package/components/formatter/MachineSummaryGraph.vue +5 -5
- package/components/formatter/PercentageBar.vue +1 -1
- package/components/formatter/Principal.vue +0 -1
- package/components/formatter/PrincipalGroupBindings.vue +5 -5
- package/components/formatter/ReceiverIcons.vue +5 -3
- package/components/formatter/Scale.vue +5 -5
- package/components/formatter/ServiceTargets.vue +1 -1
- package/components/formatter/VirtualServiceGateways.vue +1 -1
- package/components/formatter/Weight.vue +3 -3
- package/components/formatter/WorkloadDetailEndpoints.vue +4 -1
- package/components/formatter/WorkloadHealthScale.vue +5 -6
- package/components/formatter/__tests__/Checked.test.ts +2 -2
- package/components/formatter/__tests__/ClusterLink.test.ts +3 -3
- package/components/formatter/__tests__/Date.test.ts +8 -8
- package/components/formatter/__tests__/LinkDetail.test.ts +10 -10
- package/components/formatter/__tests__/LiveDate.test.ts +21 -15
- package/components/formatter/__tests__/PodsUsage.test.ts +5 -5
- package/components/formatter/__tests__/Si.test.ts +3 -3
- package/components/formatter/__tests__/WorkloadDetailEndpoints.test.ts +5 -5
- package/components/graph/LinePlot.vue +1 -2
- package/components/nav/Group.vue +11 -6
- package/components/nav/Header.vue +182 -131
- package/components/nav/Jump.vue +1 -1
- package/components/nav/NamespaceFilter.vue +2 -2
- package/components/nav/TopLevelMenu.vue +18 -17
- package/components/nav/Type.vue +7 -7
- package/components/nav/WindowManager/ContainerLogs.vue +53 -38
- package/components/nav/WindowManager/ContainerShell.vue +45 -39
- package/components/nav/WindowManager/Window.vue +1 -1
- package/components/nav/WindowManager/__tests__/ContainerLogs.test.ts +34 -23
- package/components/nav/WindowManager/__tests__/ContainerShell.test.ts +41 -33
- package/components/nav/WindowManager/index.vue +4 -4
- package/components/nav/WorkspaceSwitcher.vue +16 -16
- package/components/nav/__tests__/TopLevelMenu.test.ts +354 -308
- package/components/nav/__tests__/Type.test.ts +194 -111
- package/components/nuxt/nuxt-build-indicator.vue +79 -52
- package/components/nuxt/nuxt-child.js +24 -25
- package/components/nuxt/nuxt-error.vue +48 -18
- package/components/nuxt/nuxt-link.client.js +4 -3
- package/components/nuxt/nuxt-loading.vue +96 -85
- package/components/templates/blank.vue +0 -1
- package/components/templates/default.vue +0 -4
- package/components/templates/home.vue +4 -4
- package/components/templates/plain.vue +3 -2
- package/composables/useI18n.ts +1 -1
- package/composables/useLabeledFormElement.ts +12 -1
- package/composables/useUserRetentionValidation.test.ts +178 -0
- package/composables/useUserRetentionValidation.ts +201 -0
- package/config/__test__/home-links.test.ts +2 -7
- package/config/pagination-table-headers.js +5 -4
- package/config/query-params.js +1 -0
- package/config/roles.ts +34 -19
- package/config/router/index.js +10 -7
- package/config/router/navigation-guards/attempt-first-login.js +1 -1
- package/config/router/navigation-guards/authentication.js +2 -1
- package/{middleware/authenticated.js → config/router/navigation-guards/clusters.js} +28 -67
- package/config/router/navigation-guards/history.js +13 -0
- package/config/router/navigation-guards/i18n.js +1 -1
- package/config/router/navigation-guards/index.js +8 -1
- package/config/router/navigation-guards/install-redirect.js +95 -0
- package/config/router/navigation-guards/load-initial-settings.js +1 -1
- package/config/router/navigation-guards/page-title.js +12 -0
- package/config/router/navigation-guards/products.js +15 -0
- package/config/router/navigation-guards/runtime-extension-route.js +31 -0
- package/config/router/navigation-guards/server-upgrade-growl.js +19 -0
- package/config/router/routes.js +49 -23
- package/config/settings.ts +1 -1
- package/config/store.js +2 -5
- package/config/types.js +18 -0
- package/config/uiplugins.js +2 -2
- package/core/plugin-routes.ts +40 -30
- package/core/plugin.ts +10 -10
- package/core/plugins-loader.js +3 -3
- package/core/plugins.js +7 -1
- package/core/types.ts +7 -7
- package/detail/__tests__/autoscaling.horizontalpodautoscaler.test.ts +16 -8
- package/detail/__tests__/provisioning.cattle.io.cluster.test.ts +8 -8
- package/detail/__tests__/service.test.ts +6 -6
- package/detail/autoscaling.horizontalpodautoscaler/index.vue +6 -5
- package/detail/catalog.cattle.io.app.vue +2 -2
- package/detail/cis.cattle.io.clusterscan.vue +3 -3
- package/detail/configmap.vue +4 -1
- package/detail/fleet.cattle.io.cluster.vue +2 -1
- package/detail/fleet.cattle.io.clustergroup.vue +2 -1
- package/detail/fleet.cattle.io.gitrepo.vue +2 -1
- package/detail/harvesterhci.io.management.cluster.vue +2 -1
- package/detail/helm.cattle.io.projecthelmchart.vue +28 -29
- package/detail/management.cattle.io.user.vue +2 -1
- package/detail/namespace.vue +2 -1
- package/detail/networking.k8s.io.ingress.vue +4 -2
- package/detail/node.vue +2 -1
- package/detail/provisioning.cattle.io.cluster.vue +6 -7
- package/detail/secret.vue +3 -2
- package/detail/service.vue +2 -1
- package/detail/workload/index.vue +1 -19
- package/dialog/AddClusterMemberDialog.vue +30 -31
- package/dialog/AddCustomBadgeDialog.vue +101 -104
- package/dialog/AddProjectMemberDialog.vue +45 -46
- package/dialog/AddonConfigConfirmationDialog.vue +22 -24
- package/dialog/DeactivateDriverDialog.vue +5 -6
- package/dialog/DiagnosticTimingsDialog.vue +29 -29
- package/dialog/DrainNode.vue +245 -249
- package/dialog/ForceMachineRemoveDialog.vue +32 -34
- package/dialog/GenericPrompt.vue +23 -25
- package/dialog/RollbackWorkloadDialog.vue +68 -71
- package/dialog/RotateCertificatesDialog.vue +17 -18
- package/dialog/RotateEncryptionKeyDialog.vue +46 -47
- package/dialog/SaveAsRKETemplateDialog.vue +46 -47
- package/dialog/ScaleMachineDownDialog.vue +3 -3
- package/dialog/ScalePoolDownDialog.vue +22 -24
- package/dialog/SloDialog.vue +95 -0
- package/directives/clean-html.js +3 -3
- package/directives/clean-tooltip.js +1 -1
- package/directives/focus.js +17 -11
- package/directives/int-number.js +2 -2
- package/directives/positive-int-number.js +2 -2
- package/edit/__tests__/fleet.cattle.io.gitrepo.test.ts +7 -13
- package/edit/__tests__/kontainerDriver.test.ts +23 -20
- package/edit/__tests__/management.cattle.io.clusterroletemplatebinding.test.ts +31 -29
- package/edit/__tests__/management.cattle.io.setting.test.ts +20 -18
- package/edit/__tests__/monitoring.coreos.com.prometheusrule.test.ts +17 -15
- package/edit/__tests__/namespace.test.ts +28 -27
- package/edit/__tests__/nodeDriver.test.ts +35 -53
- package/edit/__tests__/service.test.ts +32 -17
- package/edit/__tests__/ui.cattle.io.navlink.test.ts +22 -20
- package/edit/auth/__tests__/AuthProviderWarningBanners.test.ts +2 -2
- package/edit/auth/__tests__/azuread.test.ts +43 -46
- package/edit/auth/__tests__/oidc.test.ts +36 -39
- package/edit/auth/azuread.vue +16 -23
- package/edit/auth/github.vue +6 -6
- package/edit/auth/googleoauth.vue +7 -7
- package/edit/auth/ldap/config.vue +29 -29
- package/edit/auth/ldap/index.vue +5 -5
- package/edit/auth/oidc.vue +18 -18
- package/edit/auth/saml.vue +94 -24
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +7 -7
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +18 -16
- package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +3 -3
- package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +3 -3
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +12 -12
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +5 -5
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +3 -3
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +2 -2
- package/edit/catalog.cattle.io.clusterrepo.vue +31 -32
- package/edit/cis.cattle.io.clusterscan.vue +9 -9
- package/edit/cis.cattle.io.clusterscanbenchmark.vue +7 -7
- package/edit/cis.cattle.io.clusterscanprofile.vue +3 -3
- package/edit/cloudcredential.vue +13 -8
- package/edit/configmap.vue +7 -7
- package/edit/constraints.gatekeeper.sh.constraint/MatchKinds.vue +3 -3
- package/edit/constraints.gatekeeper.sh.constraint/NamespaceList.vue +1 -1
- package/edit/constraints.gatekeeper.sh.constraint/Scope.vue +1 -1
- package/edit/constraints.gatekeeper.sh.constraint/index.vue +21 -22
- package/edit/fleet.cattle.io.cluster.vue +2 -1
- package/edit/fleet.cattle.io.clustergroup.vue +6 -5
- package/edit/fleet.cattle.io.gitrepo.vue +18 -18
- package/edit/helm.cattle.io.projecthelmchart.vue +4 -4
- package/edit/k8s.cni.cncf.io.networkattachmentdefinition.vue +3 -2
- package/edit/logging-flow/Match.vue +4 -4
- package/edit/logging-flow/index.vue +11 -10
- package/edit/logging.banzaicloud.io.output/__tests__/logging.banzaicloud.io.output.test.ts +79 -73
- package/edit/logging.banzaicloud.io.output/index.vue +4 -4
- package/edit/logging.banzaicloud.io.output/providers/__tests__/loki.test.ts +1 -1
- package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +5 -5
- package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/datadog.vue +4 -4
- package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +16 -16
- package/edit/logging.banzaicloud.io.output/providers/file.vue +1 -1
- package/edit/logging.banzaicloud.io.output/providers/forward.vue +9 -9
- package/edit/logging.banzaicloud.io.output/providers/gcs.vue +5 -5
- package/edit/logging.banzaicloud.io.output/providers/gelf.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/kafka.vue +10 -10
- package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/logdna.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/logz.vue +5 -5
- package/edit/logging.banzaicloud.io.output/providers/loki.vue +10 -10
- package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/opensearch.vue +15 -15
- package/edit/logging.banzaicloud.io.output/providers/redis.vue +5 -5
- package/edit/logging.banzaicloud.io.output/providers/s3.vue +7 -7
- package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/sumologic.vue +2 -2
- package/edit/logging.banzaicloud.io.output/providers/syslog.vue +19 -19
- package/edit/management.cattle.io.clusterroletemplatebinding.vue +1 -1
- package/edit/management.cattle.io.fleetworkspace.vue +9 -7
- package/edit/management.cattle.io.node.vue +4 -3
- package/edit/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +3 -2
- package/edit/management.cattle.io.project.vue +13 -10
- package/edit/management.cattle.io.projectroletemplatebinding.vue +3 -3
- package/edit/management.cattle.io.setting.vue +6 -6
- package/edit/management.cattle.io.user.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/index.vue +2 -1
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +5 -5
- package/edit/monitoring.coreos.com.alertmanagerconfig/routeConfig.vue +11 -11
- package/edit/monitoring.coreos.com.alertmanagerconfig/tls.vue +2 -2
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +10 -9
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +5 -5
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +5 -5
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +9 -9
- package/edit/monitoring.coreos.com.prometheusrule/AlertingRule.vue +36 -36
- package/edit/monitoring.coreos.com.prometheusrule/RecordingRule.vue +4 -4
- package/edit/monitoring.coreos.com.prometheusrule/index.vue +9 -9
- package/edit/monitoring.coreos.com.receiver/auth.vue +9 -9
- package/edit/monitoring.coreos.com.receiver/index.vue +8 -8
- package/edit/monitoring.coreos.com.receiver/tls.vue +4 -4
- package/edit/monitoring.coreos.com.receiver/types/__tests__/email.test.ts +20 -16
- package/edit/monitoring.coreos.com.receiver/types/email.vue +12 -11
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +11 -11
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +6 -6
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +6 -6
- package/edit/monitoring.coreos.com.receiver/types/webhook.vue +7 -7
- package/edit/monitoring.coreos.com.route.vue +10 -10
- package/edit/namespace.vue +10 -8
- package/edit/networking.istio.io.destinationrule/LoadBalancer.vue +12 -12
- package/edit/networking.istio.io.destinationrule/index.vue +15 -15
- package/edit/networking.k8s.io.ingress/Certificate.vue +5 -5
- package/edit/networking.k8s.io.ingress/Certificates.vue +2 -2
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +18 -18
- package/edit/networking.k8s.io.ingress/IngressClass.vue +1 -1
- package/edit/networking.k8s.io.ingress/Rule.vue +9 -7
- package/edit/networking.k8s.io.ingress/RulePath.vue +10 -10
- package/edit/networking.k8s.io.ingress/Rules.vue +3 -3
- package/edit/networking.k8s.io.ingress/index.vue +15 -10
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +4 -4
- package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +1 -1
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +47 -32
- package/edit/networking.k8s.io.networkpolicy/PolicyRules.vue +3 -3
- package/edit/networking.k8s.io.networkpolicy/__tests__/PolicyRuleTarget.test.ts +27 -26
- package/edit/networking.k8s.io.networkpolicy/index.vue +18 -16
- package/edit/node.vue +6 -5
- package/edit/nodeDriver.vue +6 -1
- package/edit/persistentvolume/__tests__/persistentvolume.test.ts +60 -49
- package/edit/persistentvolume/index.vue +26 -26
- package/edit/persistentvolume/plugins/awsElasticBlockStore.vue +8 -8
- package/edit/persistentvolume/plugins/azureDisk.vue +10 -10
- package/edit/persistentvolume/plugins/azureFile.vue +6 -6
- package/edit/persistentvolume/plugins/cephfs.vue +10 -10
- package/edit/persistentvolume/plugins/cinder.vue +8 -8
- package/edit/persistentvolume/plugins/csi.vue +18 -18
- package/edit/persistentvolume/plugins/fc.vue +9 -9
- package/edit/persistentvolume/plugins/flexVolume.vue +9 -9
- package/edit/persistentvolume/plugins/flocker.vue +3 -3
- package/edit/persistentvolume/plugins/gcePersistentDisk.vue +8 -8
- package/edit/persistentvolume/plugins/glusterfs.vue +5 -5
- package/edit/persistentvolume/plugins/hostPath.vue +4 -4
- package/edit/persistentvolume/plugins/iscsi.vue +18 -18
- package/edit/persistentvolume/plugins/local.vue +2 -2
- package/edit/persistentvolume/plugins/longhorn.vue +8 -8
- package/edit/persistentvolume/plugins/nfs.vue +5 -5
- package/edit/persistentvolume/plugins/photonPersistentDisk.vue +5 -5
- package/edit/persistentvolume/plugins/portworxVolume.vue +6 -6
- package/edit/persistentvolume/plugins/quobyte.vue +7 -7
- package/edit/persistentvolume/plugins/rbd.vue +12 -12
- package/edit/persistentvolume/plugins/scaleIO.vue +15 -15
- package/edit/persistentvolume/plugins/storageos.vue +9 -9
- package/edit/persistentvolume/plugins/vsphereVolume.vue +5 -5
- package/edit/persistentvolumeclaim.vue +29 -28
- package/edit/policy.poddisruptionbudget.vue +15 -14
- package/edit/provisioning.cattle.io.cluster/AgentEnv.vue +1 -1
- package/edit/provisioning.cattle.io.cluster/CustomCommand.vue +10 -10
- package/edit/provisioning.cattle.io.cluster/Labels.vue +12 -1
- package/edit/provisioning.cattle.io.cluster/SelectCredential.vue +5 -5
- package/edit/provisioning.cattle.io.cluster/__tests__/Advanced.test.ts +40 -36
- package/edit/provisioning.cattle.io.cluster/__tests__/Basics.test.ts +170 -79
- package/edit/provisioning.cattle.io.cluster/__tests__/CustomCommand.test.ts +16 -14
- package/edit/provisioning.cattle.io.cluster/__tests__/DirectoryConfig.test.ts +38 -8
- package/edit/provisioning.cattle.io.cluster/__tests__/DrainOptions.test.ts +14 -12
- package/edit/provisioning.cattle.io.cluster/__tests__/index.test.ts +18 -19
- package/edit/provisioning.cattle.io.cluster/__tests__/rke2.test.ts +292 -84
- package/edit/provisioning.cattle.io.cluster/import.vue +7 -4
- package/edit/provisioning.cattle.io.cluster/index.vue +32 -13
- package/edit/provisioning.cattle.io.cluster/rke2.vue +155 -78
- package/edit/provisioning.cattle.io.cluster/tabs/AddOnConfig.vue +5 -5
- package/edit/provisioning.cattle.io.cluster/tabs/Advanced.vue +10 -11
- package/edit/provisioning.cattle.io.cluster/tabs/AgentConfiguration.vue +12 -11
- package/edit/provisioning.cattle.io.cluster/tabs/Basics.vue +62 -24
- package/edit/provisioning.cattle.io.cluster/tabs/DirectoryConfig.vue +9 -9
- package/edit/provisioning.cattle.io.cluster/tabs/MachinePool.vue +12 -12
- package/edit/provisioning.cattle.io.cluster/tabs/etcd/S3Config.vue +15 -15
- package/edit/provisioning.cattle.io.cluster/tabs/etcd/index.vue +6 -6
- package/edit/provisioning.cattle.io.cluster/tabs/networking/ACE.vue +3 -3
- package/edit/provisioning.cattle.io.cluster/tabs/networking/index.vue +18 -9
- package/edit/provisioning.cattle.io.cluster/tabs/registries/RegistryConfigs.vue +16 -12
- package/edit/provisioning.cattle.io.cluster/tabs/registries/RegistryMirrors.vue +4 -4
- package/edit/provisioning.cattle.io.cluster/tabs/registries/__tests__/RegistryConfigs.test.ts +63 -0
- package/edit/provisioning.cattle.io.cluster/tabs/registries/index.vue +8 -6
- package/edit/provisioning.cattle.io.cluster/tabs/upgrade/DrainOptions.vue +15 -15
- package/edit/provisioning.cattle.io.cluster/tabs/upgrade/index.vue +4 -4
- package/edit/resources.cattle.io.backup.vue +9 -9
- package/edit/resources.cattle.io.restore.vue +11 -11
- package/edit/secret/basic.vue +2 -2
- package/edit/secret/generic.vue +1 -1
- package/edit/secret/index.vue +12 -10
- package/edit/secret/registry.vue +4 -4
- package/edit/secret/ssh.vue +2 -2
- package/edit/secret/tls.vue +2 -2
- package/edit/service.vue +25 -25
- package/edit/serviceaccount.vue +7 -7
- package/edit/storage.k8s.io.storageclass/index.vue +16 -16
- package/edit/storage.k8s.io.storageclass/provisioners/custom.vue +1 -1
- package/edit/storage.k8s.io.storageclass/provisioners/driver.harvesterhci.io.vue +2 -2
- package/edit/storage.k8s.io.storageclass/provisioners/driver.longhorn.io.vue +4 -4
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +12 -12
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/azure-disk.vue +3 -3
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/azure-file.vue +3 -3
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/cinder.vue +4 -4
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +6 -6
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/glusterfs.vue +9 -9
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/portworx-volume.vue +7 -7
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/quobyte.vue +8 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/rbd.vue +11 -11
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/scaleio.vue +8 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/storageos.vue +5 -5
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +7 -7
- package/edit/token.vue +4 -4
- package/edit/ui.cattle.io.navlink.vue +28 -27
- package/edit/workload/Job.vue +18 -18
- package/edit/workload/Upgrading.vue +16 -16
- package/edit/workload/VolumeClaimTemplate.vue +3 -3
- package/edit/workload/__tests__/Job.test.ts +10 -10
- package/edit/workload/__tests__/index.test.ts +32 -29
- package/edit/workload/index.vue +31 -30
- package/edit/workload/mixins/workload.js +30 -30
- package/edit/workload/storage/ContainerMountPaths.vue +3 -4
- package/edit/workload/storage/Mount.vue +10 -7
- package/edit/workload/storage/__tests__/Mount.test.ts +17 -13
- package/edit/workload/storage/__tests__/Storage.test.ts +26 -20
- package/edit/workload/storage/awsElasticBlockStore.vue +4 -4
- package/edit/workload/storage/azureDisk.vue +7 -7
- package/edit/workload/storage/azureFile.vue +5 -5
- package/edit/workload/storage/csi/driver.longhorn.io.vue +3 -3
- package/edit/workload/storage/csi/index.vue +4 -4
- package/edit/workload/storage/emptyDir.vue +4 -4
- package/edit/workload/storage/ephemeralVolume/index.vue +3 -3
- package/edit/workload/storage/gcePersistentDisk.vue +4 -4
- package/edit/workload/storage/hostPath.vue +4 -4
- package/edit/workload/storage/index.vue +13 -27
- package/edit/workload/storage/nfs.vue +4 -4
- package/edit/workload/storage/persistentVolumeClaim/__tests__/persistentvolumeclaim.test.ts +18 -16
- package/edit/workload/storage/persistentVolumeClaim/index.vue +5 -5
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +15 -15
- package/edit/workload/storage/secret.vue +9 -9
- package/edit/workload/storage/vsphereVolume.vue +4 -4
- package/initialize/App.vue +10 -8
- package/initialize/app-extended.js +14 -30
- package/initialize/entry-helpers.js +29 -428
- package/initialize/entry.js +11 -10
- package/initialize/install-plugins.js +15 -13
- package/list/__tests__/workload.test.ts +22 -20
- package/list/catalog.cattle.io.app.vue +1 -1
- package/list/cis.cattle.io.clusterscan.vue +1 -2
- package/list/fleet.cattle.io.clustergroup.vue +0 -1
- package/list/group.principal.vue +1 -1
- package/list/management.cattle.io.feature.vue +23 -29
- package/list/management.cattle.io.fleetworkspace.vue +0 -1
- package/list/management.cattle.io.setting.vue +2 -2
- package/list/management.cattle.io.user.vue +1 -1
- package/list/namespace.vue +0 -1
- package/list/node.vue +4 -5
- package/list/provisioning.cattle.io.cluster.vue +1 -1
- package/list/rbac.authorization.k8s.io.clusterrolebinding.vue +0 -1
- package/machine-config/__tests__/vmwarevsphere.test.ts +10 -7
- package/machine-config/amazonec2.vue +26 -26
- package/machine-config/azure.vue +31 -31
- package/machine-config/digitalocean.vue +8 -8
- package/machine-config/generic.vue +2 -1
- package/machine-config/linode.vue +4 -4
- package/machine-config/pnap.vue +11 -11
- package/machine-config/vmwarevsphere-config.ts +17 -0
- package/machine-config/vmwarevsphere.vue +400 -410
- package/mixins/__tests__/chart.test.ts +45 -24
- package/mixins/auth-config.js +37 -11
- package/mixins/chart.js +31 -15
- package/mixins/compact-input.ts +2 -3
- package/mixins/labeled-form-element.ts +8 -3
- package/mixins/page-actions.js +1 -1
- package/mixins/resource-fetch.js +4 -3
- package/models/__tests__/apps.deployment.test.ts +93 -0
- package/models/apps.deployment.js +18 -4
- package/models/apps.statefulset.js +1 -2
- package/models/batch.cronjob.js +1 -2
- package/models/catalog.cattle.io.clusterrepo.js +1 -2
- package/models/fleet.cattle.io.gitrepo.js +1 -2
- package/models/helm.cattle.io.projecthelmchart.js +2 -3
- package/models/management.cattle.io.cluster.js +2 -2
- package/models/management.cattle.io.roletemplate.js +2 -3
- package/models/namespace.js +1 -2
- package/models/networking.istio.io.destinationrule.js +2 -3
- package/models/persistentvolumeclaim.js +2 -3
- package/models/provisioning.cattle.io.cluster.js +4 -0
- package/models/workload.js +2 -2
- package/package.json +44 -43
- package/pages/404.vue +15 -0
- package/pages/__tests__/prefs.test.ts +44 -44
- package/pages/about.vue +4 -4
- package/pages/account/index.vue +1 -2
- package/pages/auth/login.vue +29 -9
- package/pages/auth/logout.vue +23 -1
- package/pages/auth/setup.vue +35 -31
- package/pages/auth/verify.vue +38 -5
- package/pages/c/_cluster/_product/namespaces.vue +1 -2
- package/pages/c/_cluster/apps/charts/chart.vue +4 -4
- package/pages/c/_cluster/apps/charts/index.vue +16 -16
- package/pages/c/_cluster/apps/charts/install.vue +46 -80
- package/pages/c/_cluster/auth/config/index.vue +2 -2
- package/pages/c/_cluster/auth/roles/index.vue +2 -2
- package/pages/c/_cluster/auth/user.retention/index.vue +34 -95
- package/pages/c/_cluster/explorer/EventsTable.vue +1 -1
- package/pages/c/_cluster/explorer/__tests__/index.test.ts +32 -34
- package/pages/c/_cluster/explorer/index.vue +9 -6
- package/pages/c/_cluster/explorer/tools/__tests__/index.test.ts +22 -20
- package/pages/c/_cluster/fleet/index.vue +5 -6
- package/pages/c/_cluster/gatekeeper/index.vue +4 -5
- package/pages/c/_cluster/istio/index.vue +6 -8
- package/pages/c/_cluster/logging/index.vue +9 -5
- package/pages/c/_cluster/longhorn/__tests__/longhorn.index.test.ts +7 -4
- package/pages/c/_cluster/longhorn/index.vue +2 -9
- package/pages/c/_cluster/manager/drivers/kontainerDriver/index.vue +1 -1
- package/pages/c/_cluster/manager/jwt.authentication/index.vue +14 -5
- package/pages/c/_cluster/monitoring/alertmanagerconfig/_alertmanagerconfigid/receiver.vue +1 -1
- package/pages/c/_cluster/monitoring/index.vue +8 -10
- package/pages/c/_cluster/neuvector/index.vue +7 -10
- package/pages/c/_cluster/settings/DefaultLinksEditor.vue +7 -9
- package/pages/c/_cluster/settings/banners.vue +82 -84
- package/pages/c/_cluster/settings/brand.vue +21 -19
- package/pages/c/_cluster/settings/links.vue +6 -4
- package/pages/c/_cluster/settings/performance.vue +25 -21
- package/pages/c/_cluster/uiplugins/AddExtensionRepos.vue +2 -2
- package/pages/c/_cluster/uiplugins/CatalogList/CatalogLoadDialog.vue +43 -45
- package/pages/c/_cluster/uiplugins/DeveloperInstallDialog.vue +5 -5
- package/pages/c/_cluster/uiplugins/InstallDialog.vue +1 -1
- package/pages/c/_cluster/uiplugins/PluginInfoPanel.vue +3 -3
- package/pages/c/_cluster/uiplugins/__tests__/AddExtensionRepos.test.ts +17 -34
- package/pages/c/_cluster/uiplugins/__tests__/SetupUIPlugins.test.ts +12 -9
- package/pages/c/_cluster/uiplugins/index.vue +173 -176
- package/pages/diagnostic.vue +6 -9
- package/pages/fail-whale.vue +3 -1
- package/pages/home.vue +8 -17
- package/pages/index.vue +17 -16
- package/pages/prefs.vue +12 -12
- package/pages/support/index.vue +3 -3
- package/pkg/tsconfig.json +0 -1
- package/plugins/dashboard-store/actions.js +1 -1
- package/plugins/dashboard-store/getters.js +1 -1
- package/plugins/dashboard-store/index.js +2 -0
- package/plugins/dashboard-store/mutations.js +5 -5
- package/plugins/dashboard-store/resource-class.js +5 -5
- package/plugins/extend-router.js +62 -42
- package/plugins/floating-vue.js +1 -0
- package/plugins/formatters.js +1 -1
- package/plugins/global-formatters.js +3 -14
- package/plugins/i18n.js +17 -22
- package/plugins/shortkey.js +273 -0
- package/plugins/steve/__tests__/getters.test.ts +6 -3
- package/plugins/steve/getters.js +6 -4
- package/plugins/steve/hybrid-class.js +7 -12
- package/plugins/steve/mutations.js +1 -2
- package/plugins/steve/norman-class.js +10 -11
- package/plugins/steve/subscribe.js +3 -1
- package/promptRemove/management.cattle.io.globalrole.vue +1 -5
- package/promptRemove/management.cattle.io.project.vue +1 -1
- package/promptRemove/pod.vue +1 -1
- package/public/index.html +53 -52
- package/rancher-components/BadgeState/BadgeState.test.ts +1 -1
- package/rancher-components/BadgeState/BadgeState.vue +1 -1
- package/rancher-components/Banner/Banner.test.ts +2 -2
- package/rancher-components/Form/Checkbox/Checkbox.test.ts +5 -5
- package/rancher-components/Form/Checkbox/Checkbox.vue +4 -4
- package/rancher-components/Form/LabeledInput/LabeledInput.test.ts +5 -5
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +15 -4
- package/rancher-components/Form/Radio/RadioButton.vue +3 -2
- package/rancher-components/Form/Radio/RadioGroup.test.ts +6 -9
- package/rancher-components/Form/Radio/RadioGroup.vue +4 -5
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +18 -1
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.test.ts +13 -13
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +1 -1
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +1 -0
- package/rancher-components/StringList/StringList.test.ts +22 -22
- package/rancher-components/StringList/StringList.vue +10 -9
- package/scripts/extension/helm/charts/ui-plugin-server/Chart.yaml +1 -1
- package/scripts/publish-shell.sh +52 -58
- package/scripts/test-plugins-build.sh +44 -38
- package/scripts/vue-migrate.js +7 -4
- package/shell/types/shell/index.d.ts +2 -0
- package/store/__tests__/catalog.test.ts +4 -21
- package/store/auth.js +28 -10
- package/store/index.js +16 -8
- package/store/prefs.js +3 -4
- package/types/resources/settings.d.ts +54 -0
- package/types/store/pagination.types.ts +1 -1
- package/utils/auth.js +21 -6
- package/utils/axios.js +1 -1
- package/utils/download.js +1 -1
- package/utils/dynamic-importer.js +14 -12
- package/utils/error.js +4 -4
- package/utils/object.js +4 -5
- package/utils/router.js +7 -1
- package/utils/select.js +1 -1
- package/utils/settings.ts +3 -1
- package/utils/unit-tests/ChildRenderingRouterLinkStub.ts +4 -4
- package/vue.config.js +171 -145
- package/config/middleware.js +0 -6
- package/config/nuxt-paths.js +0 -7
- package/creators/app/app.package.json +0 -14
- package/creators/app/files/.eslintignore +0 -16
- package/creators/app/files/.eslintrc.js +0 -173
- package/creators/app/files/.gitignore +0 -70
- package/creators/app/files/.gitlab-ci.yml +0 -14
- package/creators/app/files/.vscode/settings.json +0 -21
- package/creators/app/files/babel.config.js +0 -1
- package/creators/app/files/tsconfig.json +0 -42
- package/creators/app/files/vue.config.js +0 -6
- package/creators/app/init +0 -120
- package/creators/app/package.json +0 -25
- package/creators/pkg/files/.github/workflows/build-extension-catalog.yml +0 -24
- package/creators/pkg/files/.github/workflows/build-extension-charts.yml +0 -22
- package/creators/pkg/files/babel.config.js +0 -1
- package/creators/pkg/files/index.ts +0 -14
- package/creators/pkg/files/tsconfig.json +0 -53
- package/creators/pkg/files/vue.config.js +0 -1
- package/creators/pkg/init +0 -286
- package/creators/pkg/package.json +0 -19
- package/creators/pkg/pkg.package.json +0 -21
- package/creators/pkg/vue-shim.ts +0 -4
- package/creators/update/init +0 -56
- package/creators/update/package.json +0 -20
- package/creators/update/upgrade +0 -56
- package/pages/c/_cluster/backup/index.vue +0 -11
- package/pages/c/_cluster/cis/index.vue +0 -11
- package/plugins/clean-html-directive.js +0 -9
- package/plugins/clean-tooltip-directive.js +0 -8
- package/plugins/directives.js +0 -8
- package/plugins/int-number.js +0 -8
- package/plugins/positive-int-number.js +0 -8
- package/plugins/trim-whitespace.js +0 -9
- package/plugins/vue-js-modal.js +0 -4
- package/types/shell/index.d.ts +0 -4585
- package/utils/install-redirect.js +0 -55
- /package/utils/{cookie-universal-nuxt.js → cookie-universal.js} +0 -0
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
color: var(--input-label);
|
|
25
25
|
pointer-events: none;
|
|
26
26
|
width: calc(100% - 20px);
|
|
27
|
+
|
|
27
28
|
i {
|
|
28
29
|
pointer-events: initial;
|
|
29
30
|
}
|
|
@@ -43,7 +44,8 @@
|
|
|
43
44
|
color: var(--error);
|
|
44
45
|
}
|
|
45
46
|
|
|
46
|
-
INPUT,
|
|
47
|
+
INPUT,
|
|
48
|
+
SELECT {
|
|
47
49
|
position: relative;
|
|
48
50
|
font-size: 14px;
|
|
49
51
|
display: block;
|
|
@@ -59,9 +61,15 @@
|
|
|
59
61
|
user-select: none;
|
|
60
62
|
}
|
|
61
63
|
|
|
62
|
-
INPUT,
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
INPUT,
|
|
65
|
+
INPUT:hover,
|
|
66
|
+
INPUT:focus,
|
|
67
|
+
TEXTAREA,
|
|
68
|
+
TEXTAREA:hover,
|
|
69
|
+
TEXTAREA:focus,
|
|
70
|
+
SELECT,
|
|
71
|
+
SELECT:hover,
|
|
72
|
+
SELECT:focus {
|
|
65
73
|
border: none;
|
|
66
74
|
background-color: transparent;
|
|
67
75
|
outline: 0;
|
|
@@ -74,18 +82,19 @@
|
|
|
74
82
|
}
|
|
75
83
|
}
|
|
76
84
|
|
|
77
|
-
&.view
|
|
85
|
+
&.view>DIV:not(.addon) {
|
|
78
86
|
font-size: 14px;
|
|
79
87
|
padding: $input-padding-lg 0 0 0;
|
|
80
88
|
|
|
81
89
|
&.no-label {
|
|
82
|
-
padding-top:0px;
|
|
90
|
+
padding-top: 0px;
|
|
83
91
|
}
|
|
84
92
|
}
|
|
85
93
|
|
|
86
94
|
&.create,
|
|
87
95
|
&.edit,
|
|
88
96
|
&.view {
|
|
97
|
+
|
|
89
98
|
.addon,
|
|
90
99
|
.addon.btn {
|
|
91
100
|
display: table-cell;
|
|
@@ -110,15 +119,16 @@
|
|
|
110
119
|
padding-right: 8px;
|
|
111
120
|
}
|
|
112
121
|
|
|
113
|
-
&.suffix.has-tooltip INPUT {
|
|
122
|
+
&.suffix.v-popper--has-tooltip INPUT {
|
|
114
123
|
width: calc(100% - 30px);
|
|
115
124
|
}
|
|
116
125
|
|
|
117
|
-
&.suffix.has-tooltip INPUT {
|
|
126
|
+
&.suffix.v-popper--has-tooltip INPUT {
|
|
118
127
|
width: calc(100% - 30px);
|
|
119
128
|
}
|
|
120
129
|
|
|
121
|
-
.cron-label,
|
|
130
|
+
.cron-label,
|
|
131
|
+
.sub-label {
|
|
122
132
|
position: absolute;
|
|
123
133
|
top: 100%;
|
|
124
134
|
width: 100%;
|
|
@@ -128,10 +138,11 @@
|
|
|
128
138
|
pointer-events: initial;
|
|
129
139
|
}
|
|
130
140
|
|
|
131
|
-
.validation-message,
|
|
141
|
+
.validation-message,
|
|
142
|
+
.sub-label.validation-message {
|
|
132
143
|
color: var(--error);
|
|
133
144
|
}
|
|
134
145
|
|
|
135
146
|
|
|
136
147
|
|
|
137
|
-
}
|
|
148
|
+
}
|
|
@@ -119,15 +119,15 @@ HEADER {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.localeSelector {
|
|
122
|
-
|
|
122
|
+
:deep(.v-popper__inner) {
|
|
123
123
|
padding: 50px 0;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
:deep(.v-popper__arrow-container) {
|
|
127
127
|
display: none;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
:deep(.v-popper:focus) {
|
|
131
131
|
outline: 0;
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -152,4 +152,4 @@ HEADER {
|
|
|
152
152
|
opacity: 1;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// !END
|
|
155
|
+
// !END
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.tooltip {
|
|
1
|
+
.v-popper__popper.v-popper--theme-tooltip {
|
|
2
2
|
$triangle-size: 8px;
|
|
3
3
|
$triangle-inner-size: $triangle-size - 1px;
|
|
4
4
|
$center: calc(50% - #{$triangle-size});
|
|
@@ -7,130 +7,105 @@
|
|
|
7
7
|
z-index: z-index('tooltip');
|
|
8
8
|
max-width: 50vw;
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.v-popper__inner {
|
|
11
11
|
background: var(--tooltip-bg);
|
|
12
12
|
color: var(--tooltip-text);
|
|
13
13
|
border-radius: var(--border-radius);
|
|
14
14
|
padding: 8px;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
.v-popper__arrow-container {
|
|
18
18
|
width: 0;
|
|
19
19
|
height: 0;
|
|
20
20
|
border: 0 solid transparent;
|
|
21
21
|
position: absolute;
|
|
22
22
|
z-index: 1;
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
position: absolute;
|
|
24
|
+
.v-popper__arrow-inner {
|
|
26
25
|
border: $triangle-inner-size solid transparent;
|
|
27
|
-
content: '';
|
|
28
26
|
}
|
|
29
27
|
}
|
|
30
28
|
|
|
31
|
-
&[
|
|
32
|
-
|
|
29
|
+
&[data-popper-placement^="top"] {
|
|
30
|
+
.v-popper__arrow-container {
|
|
33
31
|
|
|
34
|
-
|
|
35
|
-
border-width: 5px 5px 0 5px;
|
|
36
|
-
bottom: -4px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
margin-bottom: $triangle-size;
|
|
40
|
-
|
|
41
|
-
.tooltip-arrow {
|
|
42
|
-
bottom: -$triangle-inner-size;
|
|
43
|
-
|
|
44
|
-
&:after {
|
|
32
|
+
.v-popper__arrow-outer {
|
|
45
33
|
border-bottom-width: 0;
|
|
46
34
|
border-top-color: var(--tooltip-bg);
|
|
47
|
-
bottom: 1px;
|
|
48
35
|
left: -$triangle-inner-size;
|
|
49
36
|
}
|
|
50
37
|
}
|
|
51
38
|
}
|
|
52
39
|
|
|
53
40
|
|
|
54
|
-
&[
|
|
55
|
-
|
|
41
|
+
&[data-popper-placement^="bottom"] {
|
|
42
|
+
.v-popper__arrow-container {
|
|
56
43
|
|
|
57
|
-
|
|
58
|
-
top: -$triangle-inner-size;
|
|
59
|
-
|
|
60
|
-
&:after {
|
|
44
|
+
.v-popper__arrow-outer {
|
|
61
45
|
border-top-width: 0;
|
|
62
46
|
border-bottom-color: var(--tooltip-bg);
|
|
63
|
-
top: 1px;
|
|
64
47
|
left: -$triangle-inner-size;
|
|
65
48
|
background: transparent;
|
|
66
49
|
}
|
|
67
50
|
}
|
|
68
51
|
}
|
|
69
52
|
|
|
70
|
-
&[
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
.tooltip-arrow {
|
|
74
|
-
left: -$triangle-inner-size;
|
|
53
|
+
&[data-popper-placement^="right"] {
|
|
54
|
+
.v-popper__arrow-container {
|
|
75
55
|
|
|
76
|
-
|
|
77
|
-
border-left-width: 0;
|
|
56
|
+
.v-popper__arrow-outer {
|
|
78
57
|
border-right-color: var(--tooltip-bg);
|
|
79
|
-
left: 1px;
|
|
80
58
|
top: -$triangle-inner-size;
|
|
59
|
+
border-left-width: 0;
|
|
81
60
|
}
|
|
82
61
|
}
|
|
83
62
|
}
|
|
84
63
|
|
|
85
|
-
&[
|
|
86
|
-
|
|
64
|
+
&[data-popper-placement^="left"] {
|
|
65
|
+
.v-popper__arrow-container {
|
|
87
66
|
|
|
88
|
-
|
|
89
|
-
right: -$triangle-inner-size;
|
|
90
|
-
|
|
91
|
-
&:after {
|
|
67
|
+
.v-popper__arrow-outer {
|
|
92
68
|
border-right-width: 0;
|
|
93
69
|
border-left-color: var(--tooltip-bg);
|
|
94
|
-
right: 1px;
|
|
95
70
|
top: -$triangle-inner-size;
|
|
96
71
|
}
|
|
97
72
|
}
|
|
98
73
|
}
|
|
99
74
|
|
|
100
75
|
&.tooltip-warning {
|
|
101
|
-
.
|
|
76
|
+
.v-popper__inner {
|
|
102
77
|
background: var(--tooltip-bg-warning);
|
|
103
78
|
color: var(--tooltip-text-warning);
|
|
104
79
|
}
|
|
105
80
|
|
|
106
|
-
&[
|
|
107
|
-
.
|
|
108
|
-
|
|
81
|
+
&[data-popper-placement^="top"] {
|
|
82
|
+
.v-popper__arrow-container {
|
|
83
|
+
.v-popper__arrow-outer {
|
|
109
84
|
border-top-color: var(--tooltip-bg-warning);
|
|
110
85
|
}
|
|
111
86
|
}
|
|
112
87
|
}
|
|
113
88
|
|
|
114
89
|
|
|
115
|
-
&[
|
|
116
|
-
.
|
|
117
|
-
|
|
90
|
+
&[data-popper-placement^="bottom"] {
|
|
91
|
+
.v-popper__arrow-container {
|
|
92
|
+
.v-popper__arrow-outer {
|
|
118
93
|
border-bottom-color: var(--body-bg);
|
|
119
94
|
}
|
|
120
95
|
}
|
|
121
96
|
}
|
|
122
97
|
|
|
123
|
-
&[
|
|
124
|
-
.
|
|
125
|
-
|
|
98
|
+
&[data-popper-placement^="right"] {
|
|
99
|
+
.v-popper__arrow-container {
|
|
100
|
+
.v-popper__arrow-outer {
|
|
126
101
|
border-right-color: var(--tooltip-bg-warning);
|
|
127
102
|
}
|
|
128
103
|
}
|
|
129
104
|
}
|
|
130
105
|
|
|
131
|
-
&[
|
|
132
|
-
.
|
|
133
|
-
|
|
106
|
+
&[data-popper-placement^="left"] {
|
|
107
|
+
.v-popper__arrow-container {
|
|
108
|
+
.v-popper__arrow-outer {
|
|
134
109
|
border-left-color: var(--tooltip-bg-warning);
|
|
135
110
|
}
|
|
136
111
|
}
|
|
@@ -138,43 +113,35 @@
|
|
|
138
113
|
}
|
|
139
114
|
}
|
|
140
115
|
|
|
141
|
-
.
|
|
116
|
+
.v-popper__popper {
|
|
142
117
|
$color: var(--popover-bg);
|
|
143
118
|
border: 1px solid var(--border);
|
|
144
119
|
border-radius: var(--border-radius);
|
|
145
120
|
|
|
146
|
-
.
|
|
121
|
+
.v-popper__inner {
|
|
147
122
|
background: $color;
|
|
148
123
|
color: var(--popover-text);
|
|
149
124
|
padding: 10px;
|
|
150
125
|
border-radius: var(--border-radius);
|
|
151
126
|
box-shadow: 0 5px 20px var(--shadow);
|
|
127
|
+
border: none;
|
|
152
128
|
|
|
153
129
|
a {
|
|
154
130
|
color: var(--popover-text);
|
|
155
131
|
}
|
|
156
132
|
}
|
|
157
133
|
|
|
158
|
-
.
|
|
134
|
+
.v-popper__arrow-container {
|
|
159
135
|
border-color: transparent;
|
|
160
136
|
}
|
|
161
|
-
|
|
162
|
-
&[x-placement^="bottom"] {
|
|
163
|
-
.popover-arrow {
|
|
164
|
-
&:after {
|
|
165
|
-
// border-bottom-color: var(--popover-bg);
|
|
166
|
-
border-bottom-width: 0;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
137
|
}
|
|
172
138
|
|
|
173
|
-
.v-
|
|
139
|
+
.v-popper {
|
|
174
140
|
display: inline;
|
|
175
141
|
}
|
|
176
142
|
|
|
177
|
-
.tooltip,
|
|
143
|
+
.v-popper__popper.v-popper--theme-tooltip,
|
|
144
|
+
.v-popper {
|
|
178
145
|
&[aria-hidden='true'] {
|
|
179
146
|
// This removes it from the layout of ButtondropDown (so it doesn't render huge for SSR) but
|
|
180
147
|
// still allows it to maintain it's dimensions for v-tooltip to calculate the appropriate position.
|
|
@@ -192,6 +159,6 @@
|
|
|
192
159
|
}
|
|
193
160
|
|
|
194
161
|
//icon tooltip
|
|
195
|
-
.icon-info.has-tooltip {
|
|
162
|
+
.icon-info.v-popper--has-tooltip {
|
|
196
163
|
font-size: 14px;
|
|
197
|
-
}
|
|
164
|
+
}
|
|
@@ -507,6 +507,11 @@ authConfig:
|
|
|
507
507
|
UID: UID Field
|
|
508
508
|
adfs: Configure an AD FS account
|
|
509
509
|
api: '{vendor} API Host'
|
|
510
|
+
sloTitle: Log Out behavior
|
|
511
|
+
sloOptions:
|
|
512
|
+
onlyRancher: Log out of Rancher and not {name}
|
|
513
|
+
logoutAll: Log out of Rancher and {name} (includes all other applications registered with {name})
|
|
514
|
+
choose: Allow the user to choose one of the above in an additional log out step
|
|
510
515
|
cert:
|
|
511
516
|
label: Certificate
|
|
512
517
|
placeholder: Paste in the certificate, starting with -----BEGIN CERTIFICATE-----
|
|
@@ -1782,7 +1787,9 @@ cluster:
|
|
|
1782
1787
|
rke2-k3-reprovisioning: 'Making changes to cluster configuration may result in nodes reprovisioning. For more information see the <a href="{docsBase}/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/rke1-vs-rke2-differences#cluster-api" target="_blank" rel="noopener nofollow">documentation</a>.'
|
|
1783
1788
|
desiredNodeGroupWarning: There are 0 nodes available to run the cluster agent. The cluster will not become active until at least one node is available.
|
|
1784
1789
|
haveArgInfo: Configuration information is not available for the selected Kubernetes version. The options available on this screen will be limited; you may want to use the YAML editor.
|
|
1785
|
-
cloudProviderAddConfig: 'On Kubernetes 1.27 or greater, the Amazon Cloud Provider requires additional configuration. See <a href="https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/amazon" target="_blank" rel="noopener noreferrer nofollow">the documentation</a> for more information.'
|
|
1790
|
+
cloudProviderAddConfig: 'On Kubernetes 1.27 or greater, the <b>Amazon</b> Cloud Provider requires additional configuration. See <a href="https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/amazon" target="_blank" rel="noopener noreferrer nofollow">the documentation</a> for more information.'
|
|
1791
|
+
cloudProviderUnsupportedAzure: 'On Kubernetes 1.30 or greater, the <b>Azure</b> Cloud Provider has been removed. See <a href="https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/azure" target="_blank" rel="noopener noreferrer nofollow">the documentation</a> for more information.'
|
|
1792
|
+
cloudProviderMigrateAzure: 'On Kubernetes 1.30 or greater, the <b>Azure</b> Cloud Provider has been removed. To upgrade Kubernetes, the cluster should be migrated to External provider first.<br> See <a href="https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/azure" target="_blank" rel="noopener noreferrer nofollow">the documentation</a> for more information.'
|
|
1786
1793
|
machinePoolError: |-
|
|
1787
1794
|
{count, plural,
|
|
1788
1795
|
=1 { {pool_name}: The provided value for {fields} was not found in the list of expected values. This can happen with clusters provisioned outside of Rancher or when options for the provider have changed. }
|
|
@@ -3263,6 +3270,7 @@ login:
|
|
|
3263
3270
|
welcome: Welcome to {vendor}
|
|
3264
3271
|
loggedOut: You have been logged out.
|
|
3265
3272
|
loggedOutFromSso: You've been logged out of Rancher, however you may still be logged in to your single sign-on identity provider.
|
|
3273
|
+
loggedOutFromSlo: You've been logged out of Rancher and from your single sign-on identity provider.
|
|
3266
3274
|
loginAgain: Log in again to continue.
|
|
3267
3275
|
serverError:
|
|
3268
3276
|
authFailedCreds: "Logging in failed: Check credentials, or your account may not be authorized to log in."
|
|
@@ -3287,6 +3295,10 @@ login:
|
|
|
3287
3295
|
|
|
3288
3296
|
logout:
|
|
3289
3297
|
message: Logging Out...
|
|
3298
|
+
error: 'An error occurred logging out: {msg}'
|
|
3299
|
+
specificError:
|
|
3300
|
+
unknown: Unknown.\n\nPlease contact your system administrator.
|
|
3301
|
+
500: "Server-side error.\n\nPlease contact your system administrator."
|
|
3290
3302
|
|
|
3291
3303
|
managementNode:
|
|
3292
3304
|
customName: Custom Name
|
|
@@ -4646,6 +4658,15 @@ promptScaleMachineDown:
|
|
|
4646
4658
|
retainedMachine1: At least one Machine must exist for roles Control Plane and Etcd.
|
|
4647
4659
|
retainedMachine2: <b>{ name }</b> will remain
|
|
4648
4660
|
|
|
4661
|
+
promptSlo:
|
|
4662
|
+
title: "Log out"
|
|
4663
|
+
text: "Log out of only Rancher, or all {name} applications."
|
|
4664
|
+
rancher:
|
|
4665
|
+
active: Only log out of Rancher
|
|
4666
|
+
all:
|
|
4667
|
+
active: Log out of {name}
|
|
4668
|
+
waiting: Logging Out
|
|
4669
|
+
|
|
4649
4670
|
promptRemove:
|
|
4650
4671
|
title: Are you sure?
|
|
4651
4672
|
andOthers: |-
|
|
@@ -7402,7 +7423,7 @@ performance:
|
|
|
7402
7423
|
When enabled, resources will appear more quickly, but it may take slightly longer to load the entire set of resources. This setting only applies to resources that come from the Kubernetes API
|
|
7403
7424
|
checkboxLabel: Enable incremental loading
|
|
7404
7425
|
inputLabel: Resource Threshold
|
|
7405
|
-
incompatibleDescription: "Incremental Loading is
|
|
7426
|
+
incompatibleDescription: "Incremental Loading is incompatible with Namespace/Project filtering and Server-side Pagination. Enabling this will disable them."
|
|
7406
7427
|
manualRefresh:
|
|
7407
7428
|
label: Manual Refresh
|
|
7408
7429
|
setting: You can configure a threshold above which manual refresh will be enabled.
|
|
@@ -7411,7 +7432,7 @@ performance:
|
|
|
7411
7432
|
When enabled, list data will not auto-update but instead the user must manually trigger a list-view refresh. This setting only applies to resources that come from the Kubernetes API
|
|
7412
7433
|
checkboxLabel: Enable manual refresh of data for lists
|
|
7413
7434
|
inputLabel: Resource Threshold
|
|
7414
|
-
incompatibleDescription: "Manual Refresh is
|
|
7435
|
+
incompatibleDescription: "Manual Refresh is incompatible with Namespace/Project filtering and Server-side Pagination. Enabling this will disable them."
|
|
7415
7436
|
websocketNotification:
|
|
7416
7437
|
label: Websocket Notifications
|
|
7417
7438
|
description: |-
|
|
@@ -7442,7 +7463,7 @@ performance:
|
|
|
7442
7463
|
label: Require Namespace / Project Filtering
|
|
7443
7464
|
description: Require the user to select namespaces and/or projects. This restricts the number of resources fetched when viewing lists and should help the responsiveness of the UI in systems with a lot of resources.
|
|
7444
7465
|
checkboxLabel: Enable Required Namespace / Project Filtering
|
|
7445
|
-
incompatibleDescription: "Required Namespace / Project Filtering is
|
|
7466
|
+
incompatibleDescription: "Required Namespace / Project Filtering is incompatible with Manual Refresh and Incremental Loading. Enabling this will disable them."
|
|
7446
7467
|
advancedWorker:
|
|
7447
7468
|
label: Websocket Web Worker
|
|
7448
7469
|
description: Updates to resources pushed to the UI come via WebSocket and are handled in the UI thread. Enable this option to handle cluster WebSocket updates in a Web Worker in a separate thread. This should help the responsiveness of the UI in systems where resources change often.
|
|
@@ -7459,7 +7480,7 @@ performance:
|
|
|
7459
7480
|
description: By default Lists will fetch all resources and paginate in the browser (create the page given sorting and filtering settings). Change this setting to enable pagination server-side. This should help the responsiveness of the UI in systems with a lot of resources.
|
|
7460
7481
|
checkboxLabel: Enable Server-side Pagination
|
|
7461
7482
|
applicable: "This applies to the following resource types"
|
|
7462
|
-
incompatibleDescription: "Server-side Pagination is
|
|
7483
|
+
incompatibleDescription: "Server-side Pagination is incompatible with Manual Refresh and Incremental Loading. Enabling this will disable them."
|
|
7463
7484
|
featureFlag: The <a href="{ffUrl}">Feature Flag</a> `ui-sql-cache` must be enabled to use this feature
|
|
7464
7485
|
resources:
|
|
7465
7486
|
generic: most resources in the cluster's 'More Resources' section
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
1
2
|
/* eslint-disable jest/no-hooks */
|
|
2
|
-
import { mount
|
|
3
|
+
import { mount } from '@vue/test-utils';
|
|
3
4
|
|
|
4
5
|
import S3 from '@shell/chart/rancher-backup/S3';
|
|
5
6
|
import Vuex from 'vuex';
|
|
6
7
|
|
|
7
|
-
const localVue = createLocalVue();
|
|
8
|
-
|
|
9
|
-
localVue.use(Vuex);
|
|
10
|
-
|
|
11
8
|
describe('rancher-backup: S3', () => {
|
|
12
9
|
const mockStore = {
|
|
13
10
|
getters: {
|
|
@@ -17,7 +14,10 @@ describe('rancher-backup: S3', () => {
|
|
|
17
14
|
'cluster/paginationEnabled': () => false
|
|
18
15
|
}
|
|
19
16
|
};
|
|
20
|
-
const wrapper = mount(S3, {
|
|
17
|
+
const wrapper = mount(S3, {
|
|
18
|
+
plugins: [Vuex],
|
|
19
|
+
global: { mocks: { $store: mockStore, $fetchState: { pending: false } } }
|
|
20
|
+
});
|
|
21
21
|
|
|
22
22
|
it('should emit invalid when form is not filled', () => {
|
|
23
23
|
expect(wrapper.emitted('valid')).toHaveLength(1);
|
|
@@ -25,8 +25,6 @@ describe('rancher-backup: S3', () => {
|
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
it('should emit valid when required fields are filled', async() => {
|
|
28
|
-
const bucketName = wrapper.find('[data-testid="S3-bucketName"]').find('input');
|
|
29
|
-
const endpoint = wrapper.find('[data-testid="S3-endpoint"]').find('input');
|
|
30
28
|
const testCases = [
|
|
31
29
|
{
|
|
32
30
|
bucketNameInput: 'val',
|
|
@@ -41,16 +39,25 @@ describe('rancher-backup: S3', () => {
|
|
|
41
39
|
];
|
|
42
40
|
|
|
43
41
|
for (const testCase of testCases) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
wrapper.setProps({
|
|
43
|
+
value: {
|
|
44
|
+
bucketName: testCase.bucketNameInput,
|
|
45
|
+
endpoint: testCase.endpointInput
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
await nextTick();
|
|
47
50
|
expect(wrapper.emitted('valid')).toHaveLength(1);
|
|
48
51
|
expect(wrapper.emitted('valid')![0][0]).toBe(false);
|
|
49
52
|
}
|
|
50
53
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
wrapper.setProps({
|
|
55
|
+
value: {
|
|
56
|
+
bucketName: 'val1',
|
|
57
|
+
endpoint: 'val2'
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
await nextTick();
|
|
54
61
|
expect(wrapper.emitted('valid')).toHaveLength(2);
|
|
55
62
|
expect(wrapper.emitted('valid')![1][0]).toBe(true);
|
|
56
63
|
});
|
package/chart/example.vue
CHANGED
package/chart/gatekeeper.vue
CHANGED
|
@@ -30,7 +30,7 @@ export default {
|
|
|
30
30
|
set(values) {
|
|
31
31
|
const crdInfo = this.autoInstallInfo.find((info) => info.chart.name.includes('crd'));
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
crdInfo['allValues'] = values;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -41,7 +41,7 @@ export default {
|
|
|
41
41
|
<div class="row">
|
|
42
42
|
<div class="col span-6">
|
|
43
43
|
<UnitInput
|
|
44
|
-
v-model="value.auditInterval"
|
|
44
|
+
v-model:value="value.auditInterval"
|
|
45
45
|
:label="t('gatekeeperInstall.auditInterval')"
|
|
46
46
|
:suffix="t('suffix.seconds', {count: value.auditInterval})"
|
|
47
47
|
/>
|
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
<div class="row mt-10">
|
|
51
51
|
<div class="col span-6">
|
|
52
52
|
<UnitInput
|
|
53
|
-
v-model="value.constraintViolationsLimit"
|
|
53
|
+
v-model:value="value.constraintViolationsLimit"
|
|
54
54
|
:label="t('gatekeeperInstall.constraintViolationsLimit')"
|
|
55
55
|
:suffix="t('gatekeeperIndex.violations')"
|
|
56
56
|
/>
|
|
@@ -61,7 +61,7 @@ export default {
|
|
|
61
61
|
<!-- gatekeeper versions <1.0.2 do not have this option -->
|
|
62
62
|
<Checkbox
|
|
63
63
|
v-if="crdValues.enableRuntimeDefaultSeccompProfile ||crdValues.enableRuntimeDefaultSeccompProfile === false"
|
|
64
|
-
v-model="crdValues.enableRuntimeDefaultSeccompProfile"
|
|
64
|
+
v-model:value="crdValues.enableRuntimeDefaultSeccompProfile"
|
|
65
65
|
:label="t('gatekeeperInstall.runtimeDefaultSeccompProfile')"
|
|
66
66
|
/>
|
|
67
67
|
</template>
|
package/chart/istio.vue
CHANGED
|
@@ -104,7 +104,7 @@ export default {
|
|
|
104
104
|
|
|
105
105
|
methods: {
|
|
106
106
|
update() {
|
|
107
|
-
this.$emit('
|
|
107
|
+
this.$emit('update:value', this.value);
|
|
108
108
|
},
|
|
109
109
|
|
|
110
110
|
valuesChanged(value) {
|
|
@@ -147,9 +147,9 @@ export default {
|
|
|
147
147
|
class="col span-4"
|
|
148
148
|
>
|
|
149
149
|
<Checkbox
|
|
150
|
-
v-model="value.cni.enabled"
|
|
150
|
+
v-model:value="value.cni.enabled"
|
|
151
151
|
:label="t('istio.cni')"
|
|
152
|
-
@
|
|
152
|
+
@update:value="update"
|
|
153
153
|
/>
|
|
154
154
|
</div>
|
|
155
155
|
<div
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
157
157
|
class="col span-4"
|
|
158
158
|
>
|
|
159
159
|
<Checkbox
|
|
160
|
-
v-model="value.ingressGateways.enabled"
|
|
160
|
+
v-model:value="value.ingressGateways.enabled"
|
|
161
161
|
:label="t('istio.ingressGateway')"
|
|
162
162
|
/>
|
|
163
163
|
</div>
|
|
@@ -166,7 +166,7 @@ export default {
|
|
|
166
166
|
class="col span-4"
|
|
167
167
|
>
|
|
168
168
|
<Checkbox
|
|
169
|
-
v-model="value.egressGateways.enabled"
|
|
169
|
+
v-model:value="value.egressGateways.enabled"
|
|
170
170
|
:label="t('istio.egressGateway')"
|
|
171
171
|
/>
|
|
172
172
|
</div>
|
|
@@ -177,7 +177,7 @@ export default {
|
|
|
177
177
|
class="col span-4"
|
|
178
178
|
>
|
|
179
179
|
<Checkbox
|
|
180
|
-
v-model="value.pilot.enabled"
|
|
180
|
+
v-model:value="value.pilot.enabled"
|
|
181
181
|
:label="t('istio.pilot')"
|
|
182
182
|
:disabled="value.kiali && value.kiali.enabled"
|
|
183
183
|
/>
|
|
@@ -187,7 +187,7 @@ export default {
|
|
|
187
187
|
class="col span-4"
|
|
188
188
|
>
|
|
189
189
|
<Checkbox
|
|
190
|
-
v-model="value.policy.enabled"
|
|
190
|
+
v-model:value="value.policy.enabled"
|
|
191
191
|
:label="t('istio.policy')"
|
|
192
192
|
/>
|
|
193
193
|
</div>
|
|
@@ -196,7 +196,7 @@ export default {
|
|
|
196
196
|
class="col span-4"
|
|
197
197
|
>
|
|
198
198
|
<Checkbox
|
|
199
|
-
v-model="value.telemetry.enabled"
|
|
199
|
+
v-model:value="value.telemetry.enabled"
|
|
200
200
|
:label="t('istio.telemetry')"
|
|
201
201
|
/>
|
|
202
202
|
</div>
|
|
@@ -207,9 +207,9 @@ export default {
|
|
|
207
207
|
class="col span-4"
|
|
208
208
|
>
|
|
209
209
|
<Checkbox
|
|
210
|
-
v-model="value.kiali.enabled"
|
|
210
|
+
v-model:value="value.kiali.enabled"
|
|
211
211
|
:label="t('istio.kiali')"
|
|
212
|
-
@
|
|
212
|
+
@update:value="changeKiali"
|
|
213
213
|
/>
|
|
214
214
|
</div>
|
|
215
215
|
<div
|
|
@@ -217,7 +217,7 @@ export default {
|
|
|
217
217
|
class="col span-4"
|
|
218
218
|
>
|
|
219
219
|
<Checkbox
|
|
220
|
-
v-model="value.tracing.enabled"
|
|
220
|
+
v-model:value="value.tracing.enabled"
|
|
221
221
|
:label="t('istio.tracing')"
|
|
222
222
|
/>
|
|
223
223
|
</div>
|