@rancher/shell 0.2.3 → 0.2.4
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/brand/csp/dark/rancher-logo.svg +148 -0
- package/assets/brand/csp/favicon.png +0 -0
- package/assets/brand/csp/metadata.json +3 -0
- package/assets/brand/csp/rancher-logo.svg +130 -0
- package/assets/styles/app.scss +2 -1
- package/assets/styles/global/_layout.scss +53 -0
- package/assets/styles/themes/_csp.scss +25 -0
- package/assets/styles/themes/_dark.scss +2 -1
- package/assets/styles/themes/_light.scss +2 -1
- package/assets/styles/vendor/vue-select.scss +0 -5
- package/assets/translations/en-us.yaml +45 -28
- package/chart/istio.vue +81 -22
- package/chart/logging/index.vue +20 -6
- package/chart/monitoring/alerting/index.vue +4 -1
- package/chart/monitoring/index.vue +41 -9
- package/chart/monitoring/prometheus/index.vue +33 -29
- package/chart/monitoring/steps/uninstall-v1.vue +8 -4
- package/chart/rancher-backup/S3.vue +43 -8
- package/chart/rancher-backup/index.vue +23 -5
- package/chart/rancher-gatekeeper.vue +10 -2
- package/cloud-credential/aws.vue +8 -2
- package/cloud-credential/digitalocean.vue +4 -1
- package/cloud-credential/gcp.vue +9 -2
- package/cloud-credential/generic.vue +6 -1
- package/cloud-credential/harvester.vue +4 -1
- package/cloud-credential/linode.vue +4 -1
- package/cloud-credential/s3.vue +4 -1
- package/components/.DS_Store +0 -0
- package/components/ActionDropdown.vue +4 -1
- package/components/ActionMenu.vue +17 -4
- package/components/AdvancedSection.vue +6 -1
- package/components/Alert.vue +5 -1
- package/components/AssignTo.vue +24 -6
- package/components/AsyncButton.vue +10 -0
- package/components/AwsComplianceBanner.vue +4 -1
- package/components/BackLink.vue +5 -1
- package/components/BannerGraphic.vue +16 -4
- package/components/BrandImage.vue +4 -1
- package/components/ButtonDropdown.vue +10 -3
- package/components/ButtonGroup.vue +17 -4
- package/components/Carousel.vue +26 -8
- package/components/ChartHeading.vue +5 -1
- package/components/ChartReadme.vue +17 -5
- package/components/ClusterBadge.vue +5 -1
- package/components/ClusterProviderIcon.vue +15 -3
- package/components/Collapse.vue +17 -5
- package/components/CollapsibleCard.vue +10 -4
- package/components/CommunityLinks.vue +32 -9
- package/components/CompoundStatusBadge.vue +4 -1
- package/components/ContainerResourceLimit.vue +12 -3
- package/components/CopyToClipboardText.vue +10 -2
- package/components/CountBox.vue +13 -3
- package/components/CountGauge.vue +28 -5
- package/components/CruResource.vue +88 -23
- package/components/CruResourceFooter.vue +1 -1
- package/components/DashboardMetrics.vue +12 -3
- package/components/DashboardOptions.vue +14 -3
- package/components/DetailText.vue +28 -6
- package/components/DetailTop.vue +57 -12
- package/components/Dialog.vue +17 -5
- package/components/EmberPage.vue +23 -5
- package/components/EmberPageView.vue +4 -1
- package/components/EtcdInfoBanner.vue +5 -1
- package/components/ExplorerMembers.vue +7 -9
- package/components/ExplorerProjectsNamespaces.vue +42 -10
- package/components/FileDiff.vue +5 -1
- package/components/FixedBanner.vue +27 -7
- package/components/Flag.vue +8 -2
- package/components/Glance.vue +11 -2
- package/components/GlobalRoleBindings.vue +24 -5
- package/components/GradientBox.vue +5 -1
- package/components/GrafanaDashboard.vue +19 -5
- package/components/GrowlManager.vue +27 -6
- package/components/HardwareResourceGauge.vue +8 -2
- package/components/HarvesterServiceAddOnConfig.vue +4 -1
- package/components/IconMessage.vue +8 -2
- package/components/Import.vue +37 -8
- package/components/IndentedPanel.vue +4 -1
- package/components/InfoBox.vue +8 -2
- package/components/KeyValueView.vue +29 -7
- package/components/LandingPagePreference.vue +13 -2
- package/components/LazyImage.vue +5 -1
- package/components/Loading.vue +13 -3
- package/components/LocaleSelector.vue +10 -2
- package/components/Markdown.vue +5 -1
- package/components/MessageLink.vue +19 -4
- package/components/ModalWithCard.vue +24 -8
- package/components/MoveModal.vue +35 -7
- package/components/PercentageBar.vue +9 -2
- package/components/ProgressBarMulti.vue +4 -1
- package/components/PromptChangePassword.vue +17 -4
- package/components/PromptModal.vue +7 -1
- package/components/PromptRemove.vue +31 -10
- package/components/PromptRestore.vue +35 -10
- package/components/Questions/Array.vue +4 -1
- package/components/Questions/Boolean.vue +4 -1
- package/components/Questions/Enum.vue +4 -1
- package/components/Questions/Float.vue +4 -1
- package/components/Questions/Int.vue +4 -1
- package/components/Questions/QuestionMap.vue +4 -1
- package/components/Questions/Reference.vue +8 -2
- package/components/Questions/String.vue +4 -1
- package/components/Questions/index.vue +10 -2
- package/components/Random.vue +11 -3
- package/components/RelatedResources.vue +8 -2
- package/components/RelatedWorkloadsTable.vue +5 -1
- package/components/ResourceCancelModal.vue +15 -3
- package/components/ResourceDetail/Masthead.vue +31 -7
- package/components/ResourceList/Masthead.vue +6 -4
- package/components/ResourceList/ResourceLoadingIndicator.vue +8 -2
- package/components/ResourceList/index.vue +11 -8
- package/components/ResourceSummary.vue +13 -3
- package/components/ResourceTable.vue +59 -11
- package/components/ResourceYaml.vue +8 -2
- package/components/RoleBindings.vue +20 -3
- package/components/SelectIconGrid.vue +29 -7
- package/components/SimpleBox.vue +14 -3
- package/components/SingleClusterInfo.vue +40 -9
- package/components/SortableTable/THead.vue +29 -8
- package/components/SortableTable/filtering.js +7 -0
- package/components/SortableTable/index.vue +204 -45
- package/components/Tabbed/Tab.vue +9 -2
- package/components/Tabbed/index.vue +32 -7
- package/components/TableSparkLine.vue +4 -1
- package/components/Tip.vue +4 -1
- package/components/Wizard.vue +105 -23
- package/components/YamlEditor.vue +5 -1
- package/components/__tests__/.DS_Store +0 -0
- package/components/auth/AllowedPrincipals.vue +21 -5
- package/components/auth/AuthBanner.vue +21 -5
- package/components/auth/AzureWarning.vue +5 -1
- package/components/auth/Principal.vue +37 -9
- package/components/auth/RoleDetailEdit.vue +34 -10
- package/components/auth/SelectPrincipal.vue +20 -3
- package/components/auth/login/github.vue +5 -1
- package/components/auth/login/ldap.vue +10 -2
- package/components/auth/login/oauth.vue +6 -1
- package/components/auth/login/oidc.vue +6 -1
- package/components/auth/login/saml.vue +6 -1
- package/components/fleet/FleetBundles.vue +9 -2
- package/components/fleet/FleetClusters.vue +29 -6
- package/components/fleet/FleetIntro.vue +5 -2
- package/components/fleet/FleetRepos.vue +23 -4
- package/components/fleet/FleetStatus.vue +16 -4
- package/components/fleet/FleetSummary.vue +10 -2
- package/components/fleet/ForceDirectedTreeChart/index.vue +5 -3
- package/components/fleet/ResourcesSummary.vue +5 -1
- package/components/form/ArrayList.vue +31 -8
- package/components/form/ArrayListGrouped.vue +9 -3
- package/components/form/ArrayListSelect.vue +6 -1
- package/components/form/BannerSettings.vue +8 -2
- package/components/form/ChangePassword.vue +50 -10
- package/components/form/ColorInput.vue +28 -5
- package/components/form/Command.vue +5 -2
- package/components/form/EnvVars.vue +4 -1
- package/components/form/Error.vue +10 -2
- package/components/form/FileImageSelector.vue +1 -1
- package/components/form/FileSelector.vue +8 -2
- package/components/form/Footer.vue +14 -4
- package/components/form/GithubPicker.vue +16 -9
- package/components/form/HookOption.vue +5 -1
- package/components/form/InputWithSelect.vue +1 -1
- package/components/form/KeyValue.vue +81 -19
- package/components/form/LabeledSelect.vue +55 -8
- package/components/form/Labels.vue +1 -1
- package/components/form/LifecycleHooks.vue +10 -2
- package/components/form/MatchExpressions.vue +11 -3
- package/components/form/Members/ClusterPermissionsEditor.vue +21 -4
- package/components/form/Members/MembershipEditor.vue +11 -2
- package/components/form/NameNsDescription.vue +16 -10
- package/components/form/Networking.vue +3 -3
- package/components/form/NodeAffinity.vue +4 -1
- package/components/form/NodeScheduling.vue +5 -1
- package/components/form/Password.vue +32 -7
- package/components/form/PlusMinus.vue +18 -3
- package/components/form/PodAffinity.vue +12 -5
- package/components/form/PodSecurity.vue +20 -4
- package/components/form/Ports.vue +37 -11
- package/components/form/Probe.vue +18 -4
- package/components/form/ProjectMemberEditor.vue +24 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +4 -1
- package/components/form/ResourceQuota/Project.vue +7 -1
- package/components/form/ResourceQuota/ProjectRow.vue +11 -2
- package/components/form/ResourceSelector.vue +145 -0
- package/components/form/ResourceTabs/index.vue +38 -7
- package/components/form/RuleSelector.vue +15 -4
- package/components/form/SecretSelector.vue +4 -1
- package/components/form/Security.vue +2 -2
- package/components/form/Select.vue +8 -3
- package/components/form/SelectOrCreateAuthSecret.vue +43 -9
- package/components/form/ServiceNameSelect.vue +2 -2
- package/components/form/ServicePorts.vue +58 -17
- package/components/form/Tolerations.vue +34 -7
- package/components/form/ValueFromResource.vue +10 -2
- package/components/form/WorkloadPorts.vue +36 -8
- package/components/form/__tests__/MatchExpressions.test.ts +1 -2
- package/components/formatter/AppSummaryGraph.vue +24 -6
- package/components/formatter/BadgeStateFormatter.vue +4 -1
- package/components/formatter/Checked.vue +4 -1
- package/components/formatter/ClusterLink.vue +4 -1
- package/components/formatter/Date.vue +1 -1
- package/components/formatter/DelayedValue.vue +4 -1
- package/components/formatter/Endpoints.vue +5 -1
- package/components/formatter/ExternalLink.vue +5 -1
- package/components/formatter/FleetSummaryGraph.vue +20 -5
- package/components/formatter/IconText.vue +4 -1
- package/components/formatter/ImagePercentageBar.vue +5 -1
- package/components/formatter/IngressFullPath.vue +6 -1
- package/components/formatter/IngressTarget.vue +22 -5
- package/components/formatter/InternalExternalIP.vue +12 -2
- package/components/formatter/KeyValue.vue +5 -1
- package/components/formatter/Link.vue +30 -6
- package/components/formatter/LinkDetail.vue +4 -1
- package/components/formatter/LinkDetailImage.vue +1 -1
- package/components/formatter/ListLink.vue +10 -2
- package/components/formatter/ListLinkDetail.vue +6 -1
- package/components/formatter/LiveDate.vue +13 -3
- package/components/formatter/LiveExpiryDate.vue +18 -4
- package/components/formatter/LivePodRestarts.vue +4 -1
- package/components/formatter/MachineSummaryGraph.vue +25 -6
- package/components/formatter/Number.vue +4 -1
- package/components/formatter/PodsUsage.vue +4 -1
- package/components/formatter/Principal.vue +5 -1
- package/components/formatter/PrincipalGroupBindings.vue +4 -1
- package/components/formatter/ReceiverIcons.vue +9 -3
- package/components/formatter/RunBookLink.vue +6 -1
- package/components/formatter/Scale.vue +45 -10
- package/components/formatter/ScanResult.vue +4 -1
- package/components/formatter/SecretData.vue +5 -2
- package/components/formatter/SecretType.vue +4 -1
- package/components/formatter/ServiceTargets.vue +16 -4
- package/components/formatter/Shortened.vue +8 -2
- package/components/formatter/VirtualServiceGateways.vue +8 -2
- package/components/formatter/Weight.vue +19 -4
- package/components/formatter/WorkloadDetailEndpoints.vue +5 -1
- package/components/formatter/WorkloadHealthScale.vue +42 -8
- package/components/graph/AspectPreserver.vue +14 -3
- package/components/graph/Bar.vue +14 -3
- package/components/graph/Circle.vue +36 -7
- package/components/graph/HalfCircle.vue +6 -1
- package/components/graph/LinePlot.vue +3 -6
- package/components/graph/ProgressArc.vue +8 -2
- package/components/nav/GlobalLoading.vue +4 -1
- package/components/nav/Group.vue +39 -9
- package/components/nav/Header.vue +154 -37
- package/components/nav/Jump.vue +6 -2
- package/components/nav/NamespaceFilter.vue +112 -24
- package/components/nav/TopLevelMenu.vue +108 -24
- package/components/nav/Type.vue +18 -4
- package/components/nav/WindowManager/ChartReadme.vue +4 -1
- package/components/nav/WindowManager/ContainerLogs.vue +92 -19
- package/components/nav/WindowManager/ContainerShell.vue +26 -6
- package/components/nav/WindowManager/Window.vue +8 -2
- package/components/nav/WindowManager/index.vue +17 -4
- package/config/labels-annotations.js +5 -42
- package/config/private-label.js +5 -2
- package/config/product/explorer.js +8 -2
- package/config/roles.ts +2 -1
- package/config/{settings.js → settings.ts} +33 -50
- package/config/types.js +2 -0
- package/content/docs/en-us/getting-started.md +3 -3
- package/content/docs/en-us/whats-new.md +9 -123
- package/core/plugins.js +11 -8
- package/creators/app/{files/.eslintignore → .eslintignore} +0 -0
- package/creators/app/{files/.eslintrc.js → .eslintrc.js} +0 -0
- package/creators/app/{files/.vscode → .vscode}/settings.json +0 -0
- package/creators/app/{files/babel.config.js → babel.config.js} +0 -0
- package/creators/app/init +17 -16
- package/creators/app/{files/nuxt.config.js → nuxt.config.js} +0 -0
- package/creators/app/package.json +1 -7
- package/creators/app/{files/tsconfig.json → tsconfig.json} +1 -2
- package/creators/pkg/{files/babel.config.js → babel.config.js} +0 -0
- package/creators/pkg/{files/index.ts → index.ts} +0 -0
- package/creators/pkg/init +1 -1
- package/creators/pkg/nuxt.config.js +6 -0
- package/creators/pkg/package-lock.json +37 -0
- package/creators/pkg/package.json +1 -1
- package/creators/pkg/{files/tsconfig.json → tsconfig.json} +12 -13
- package/creators/pkg/{files/vue.config.js → vue.config.js} +0 -0
- package/detail/autoscaling.horizontalpodautoscaler/index.vue +12 -3
- package/detail/catalog.cattle.io.app.vue +41 -8
- package/detail/catalog.cattle.io.clusterrepo.vue +4 -1
- package/detail/cis.cattle.io.clusterscan.vue +23 -5
- package/detail/configmap.vue +18 -4
- package/detail/constraints.gatekeeper.sh.constraint.vue +4 -1
- package/detail/fleet.cattle.io.cluster.vue +14 -3
- package/detail/fleet.cattle.io.clustergroup.vue +9 -2
- package/detail/fleet.cattle.io.gitrepo.vue +16 -3
- package/detail/harvesterhci.io.management.cluster.vue +5 -1
- package/detail/helm.cattle.io.projecthelmchart.vue +49 -13
- package/detail/management.cattle.io.fleetworkspace.vue +19 -4
- package/detail/management.cattle.io.roletemplate.vue +4 -1
- package/detail/management.cattle.io.user.vue +26 -5
- package/detail/namespace.vue +6 -4
- package/detail/networking.k8s.io.ingress.vue +16 -3
- package/detail/node.vue +83 -18
- package/detail/pod.vue +27 -5
- package/detail/provisioning.cattle.io.cluster.vue +195 -43
- package/detail/secret.vue +78 -19
- package/detail/service.vue +9 -2
- package/detail/workload/index.vue +81 -17
- package/dialog/AddClusterMemberDialog.vue +25 -6
- package/dialog/AddCustomBadgeDialog.vue +43 -10
- package/dialog/AddProjectMemberDialog.vue +27 -7
- package/dialog/AddonConfigConfirmationDialog.vue +17 -4
- package/dialog/DiagnosticTimingsDialog.vue +27 -6
- package/dialog/DrainNode.vue +46 -11
- package/dialog/ForceMachineRemoveDialog.vue +35 -8
- package/dialog/GenericPrompt.vue +28 -7
- package/dialog/RollbackWorkloadDialog.vue +45 -11
- package/dialog/RotateCertificatesDialog.vue +31 -6
- package/dialog/RotateEncryptionKeyDialog.vue +41 -10
- package/dialog/SaveAsRKETemplateDialog.vue +31 -7
- package/dialog/ScaleMachineDownDialog.vue +13 -3
- package/edit/__tests__/management.cattle.io.setting.test.ts +87 -0
- package/edit/auth/azuread.vue +20 -6
- package/edit/auth/github.vue +52 -11
- package/edit/auth/googleoauth.vue +81 -17
- package/edit/auth/ldap/config.vue +164 -31
- package/edit/auth/ldap/index.vue +29 -7
- package/edit/auth/oidc.vue +36 -8
- package/edit/auth/saml.vue +57 -12
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +9 -2
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +23 -6
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +8 -2
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +16 -4
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +13 -3
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +9 -2
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +6 -1
- package/edit/catalog.cattle.io.clusterrepo.vue +15 -3
- package/edit/cis.cattle.io.clusterscan.vue +53 -11
- package/edit/cis.cattle.io.clusterscanbenchmark.vue +15 -3
- package/edit/cis.cattle.io.clusterscanprofile.vue +13 -3
- package/edit/configmap.vue +5 -1
- package/edit/constraints.gatekeeper.sh.constraint/index.vue +40 -9
- package/edit/fleet.cattle.io.cluster.vue +6 -2
- package/edit/fleet.cattle.io.clustergroup.vue +12 -3
- package/edit/fleet.cattle.io.gitrepo.vue +25 -5
- package/edit/group.principal.vue +6 -1
- package/edit/harvesterhci.io.management.cluster.vue +22 -5
- package/edit/k8s.cni.cncf.io.networkattachmentdefinition.vue +11 -2
- package/edit/logging-flow/Match.vue +2 -2
- package/edit/logging-flow/index.vue +67 -14
- package/edit/logging.banzaicloud.io.output/index.vue +37 -8
- package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +7 -2
- package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +19 -4
- package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +24 -4
- package/edit/logging.banzaicloud.io.output/providers/datadog.vue +20 -5
- package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +21 -5
- package/edit/logging.banzaicloud.io.output/providers/file.vue +6 -1
- package/edit/logging.banzaicloud.io.output/providers/forward.vue +8 -3
- package/edit/logging.banzaicloud.io.output/providers/gcs.vue +25 -5
- package/edit/logging.banzaicloud.io.output/providers/gelf.vue +46 -8
- package/edit/logging.banzaicloud.io.output/providers/kafka.vue +26 -6
- package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +7 -2
- package/edit/logging.banzaicloud.io.output/providers/logdna.vue +20 -4
- package/edit/logging.banzaicloud.io.output/providers/logz.vue +8 -3
- package/edit/logging.banzaicloud.io.output/providers/loki.vue +34 -8
- package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +1 -1
- package/edit/logging.banzaicloud.io.output/providers/s3.vue +25 -5
- package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +33 -7
- package/edit/logging.banzaicloud.io.output/providers/syslog.vue +57 -12
- package/edit/management.cattle.io.clusterroletemplatebinding.vue +10 -2
- package/edit/management.cattle.io.fleetworkspace.vue +17 -4
- package/edit/management.cattle.io.project.vue +7 -1
- package/edit/management.cattle.io.roletemplate.vue +4 -1
- package/edit/management.cattle.io.setting.vue +71 -30
- package/edit/management.cattle.io.user.vue +4 -1
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +24 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/index.vue +24 -5
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +29 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/tls.vue +12 -3
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +50 -9
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +31 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +29 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +8 -2
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +36 -7
- package/edit/monitoring.coreos.com.prometheusrule/AlertingRule.vue +24 -6
- package/edit/monitoring.coreos.com.prometheusrule/GroupRules.vue +16 -6
- package/edit/monitoring.coreos.com.prometheusrule/index.vue +10 -2
- package/edit/monitoring.coreos.com.receiver/auth.vue +36 -7
- package/edit/monitoring.coreos.com.receiver/index.vue +53 -11
- package/edit/monitoring.coreos.com.receiver/tls.vue +22 -4
- package/edit/monitoring.coreos.com.receiver/types/email.vue +48 -8
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +32 -6
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +22 -4
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +4 -1
- package/edit/monitoring.coreos.com.receiver/types/webhook.banner.vue +5 -1
- package/edit/monitoring.coreos.com.receiver/types/webhook.vue +31 -6
- package/edit/monitoring.coreos.com.route.vue +71 -15
- package/edit/namespace.vue +35 -7
- package/edit/networking.istio.io.destinationrule/LoadBalancer.vue +12 -3
- package/edit/networking.istio.io.destinationrule/index.vue +5 -3
- package/edit/networking.k8s.io.ingress/Certificate.vue +10 -2
- package/edit/networking.k8s.io.ingress/Certificates.vue +6 -1
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +16 -4
- package/edit/networking.k8s.io.ingress/Rule.vue +21 -5
- package/edit/networking.k8s.io.ingress/RulePath.vue +27 -6
- package/edit/networking.k8s.io.ingress/Rules.vue +7 -1
- package/edit/networking.k8s.io.ingress/index.vue +52 -9
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +20 -4
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +8 -2
- package/edit/networking.k8s.io.networkpolicy/index.vue +36 -8
- package/edit/node.vue +13 -3
- package/edit/persistentvolume/index.vue +48 -8
- package/edit/persistentvolume/plugins/awsElasticBlockStore.vue +19 -3
- package/edit/persistentvolume/plugins/azureDisk.vue +20 -3
- package/edit/persistentvolume/plugins/azureFile.vue +18 -3
- package/edit/persistentvolume/plugins/cephfs.vue +35 -6
- package/edit/persistentvolume/plugins/cinder.vue +24 -4
- package/edit/persistentvolume/plugins/csi.vue +72 -12
- package/edit/persistentvolume/plugins/fc.vue +23 -4
- package/edit/persistentvolume/plugins/flexVolume.vue +30 -5
- package/edit/persistentvolume/plugins/flocker.vue +12 -2
- package/edit/persistentvolume/plugins/gcePersistentDisk.vue +19 -3
- package/edit/persistentvolume/plugins/glusterfs.vue +12 -2
- package/edit/persistentvolume/plugins/hostPath.vue +12 -2
- package/edit/persistentvolume/plugins/iscsi.vue +54 -9
- package/edit/persistentvolume/plugins/local.vue +6 -1
- package/edit/persistentvolume/plugins/longhorn.vue +13 -2
- package/edit/persistentvolume/plugins/nfs.vue +12 -2
- package/edit/persistentvolume/plugins/photonPersistentDisk.vue +12 -2
- package/edit/persistentvolume/plugins/portworxVolume.vue +12 -2
- package/edit/persistentvolume/plugins/quobyte.vue +24 -4
- package/edit/persistentvolume/plugins/rbd.vue +47 -8
- package/edit/persistentvolume/plugins/scaleIO.vue +54 -9
- package/edit/persistentvolume/plugins/storageos.vue +30 -5
- package/edit/persistentvolume/plugins/vsphereVolume.vue +24 -4
- package/edit/persistentvolumeclaim.vue +69 -15
- package/edit/policy.poddisruptionbudget.vue +149 -0
- package/edit/provisioning.cattle.io.cluster/ACE.vue +6 -1
- package/edit/provisioning.cattle.io.cluster/AgentEnv.vue +4 -1
- package/edit/provisioning.cattle.io.cluster/CustomCommand.vue +61 -15
- package/edit/provisioning.cattle.io.cluster/DrainOptions.vue +24 -4
- package/edit/provisioning.cattle.io.cluster/Labels.vue +4 -1
- package/edit/provisioning.cattle.io.cluster/MachinePool.vue +31 -8
- package/edit/provisioning.cattle.io.cluster/RegistryConfigs.vue +16 -3
- package/edit/provisioning.cattle.io.cluster/RegistryMirrors.vue +4 -1
- package/edit/provisioning.cattle.io.cluster/S3Config.vue +35 -6
- package/edit/provisioning.cattle.io.cluster/SelectCredential.vue +21 -5
- package/edit/provisioning.cattle.io.cluster/import.vue +23 -5
- package/edit/provisioning.cattle.io.cluster/index.vue +9 -0
- package/edit/provisioning.cattle.io.cluster/rke2.vue +203 -64
- package/edit/resources.cattle.io.backup.vue +42 -8
- package/edit/resources.cattle.io.restore.vue +53 -11
- package/edit/secret/basic.vue +12 -2
- package/edit/secret/index.vue +29 -7
- package/edit/secret/registry.vue +22 -4
- package/edit/secret/ssh.vue +10 -2
- package/edit/secret/tls.vue +10 -2
- package/edit/service.vue +12 -3
- package/edit/serviceaccount.vue +6 -3
- package/edit/storage.k8s.io.storageclass/index.vue +15 -3
- package/edit/storage.k8s.io.storageclass/provisioners/custom.vue +6 -1
- package/edit/storage.k8s.io.storageclass/provisioners/driver.longhorn.io.vue +6 -1
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +20 -3
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/azure-disk.vue +12 -2
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/azure-file.vue +18 -3
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/cinder.vue +13 -2
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +14 -2
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/glusterfs.vue +54 -9
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/portworx-volume.vue +42 -7
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/quobyte.vue +48 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/rbd.vue +66 -11
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/scaleio.vue +48 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/storageos.vue +30 -5
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +36 -6
- package/edit/token.vue +48 -10
- package/edit/workload/Job.vue +20 -5
- package/edit/workload/Upgrading.vue +28 -7
- package/edit/workload/index.vue +244 -48
- package/edit/workload/storage/azureDisk.vue +5 -1
- package/edit/workload/storage/azureFile.vue +5 -1
- package/edit/workload/storage/csi/driver.longhorn.io.vue +6 -1
- package/edit/workload/storage/csi/index.vue +9 -2
- package/edit/workload/storage/ephemeralVolume/index.vue +38 -8
- package/edit/workload/storage/gcePersistentDisk.vue +10 -2
- package/edit/workload/storage/hostPath.vue +18 -3
- package/edit/workload/storage/persistentVolumeClaim/index.vue +4 -1
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +26 -5
- package/edit/workload/storage/vsphereVolume.vue +10 -2
- package/layouts/blank.vue +1 -1
- package/layouts/default.vue +60 -65
- package/layouts/error.vue +25 -5
- package/layouts/home.vue +17 -4
- package/layouts/plain.vue +13 -3
- package/layouts/unauthenticated.vue +1 -1
- package/list/catalog.cattle.io.app.vue +15 -2
- package/list/catalog.cattle.io.clusterrepo.vue +5 -0
- package/list/cis.cattle.io.clusterscan.vue +6 -0
- package/list/fleet.cattle.io.bundle.vue +14 -2
- package/list/fleet.cattle.io.cluster.vue +10 -1
- package/list/fleet.cattle.io.clustergroup.vue +14 -2
- package/list/fleet.cattle.io.clusterregistrationtoken.vue +11 -3
- package/list/fleet.cattle.io.gitrepo.vue +6 -0
- package/list/group.principal.vue +11 -1
- package/list/harvesterhci.io.management.cluster.vue +25 -6
- package/list/helm.cattle.io.projecthelmchart.vue +23 -5
- package/list/logging.banzaicloud.io.clusterflow.vue +11 -1
- package/list/logging.banzaicloud.io.flow.vue +11 -1
- package/list/management.cattle.io.cluster.vue +12 -1
- package/list/management.cattle.io.feature.vue +71 -15
- package/list/management.cattle.io.setting.vue +44 -10
- package/list/management.cattle.io.user.vue +12 -1
- package/list/monitoring.coreos.com.alertmanagerconfig.vue +6 -0
- package/list/namespace.vue +8 -0
- package/list/node.vue +14 -2
- package/list/persistentvolume.vue +13 -1
- package/list/persistentvolumeclaim.vue +6 -0
- package/list/provisioning.cattle.io.cluster.vue +23 -4
- package/list/service.vue +6 -0
- package/list/ui.cattle.io.navlink.vue +20 -3
- package/list/workload.vue +15 -2
- package/machine-config/amazonec2.vue +12 -3
- package/machine-config/azure.vue +16 -7
- package/machine-config/digitalocean.vue +4 -1
- package/machine-config/generic.vue +4 -1
- package/machine-config/harvester.vue +23 -6
- package/machine-config/linode.vue +4 -1
- package/machine-config/vmwarevsphere.vue +91 -21
- package/mixins/__tests__/create-edit-view.test.ts +19 -0
- package/mixins/brand.js +12 -3
- package/mixins/form-validation.js +108 -33
- package/models/clusterroletemplatebinding.js +2 -5
- package/models/management.cattle.io.cluster.js +7 -1
- package/models/secret.js +9 -1
- package/models/workload.js +3 -3
- package/nuxt.config.js +28 -10
- package/package.json +2 -2
- package/pages/about.vue +41 -9
- package/pages/account/index.vue +20 -5
- package/pages/auth/login.vue +83 -22
- package/pages/auth/logout.vue +1 -1
- package/pages/auth/setup.vue +48 -12
- package/pages/auth/verify.vue +1 -1
- package/pages/c/_cluster/_product/members/index.vue +3 -1
- package/pages/c/_cluster/_product/namespaces.vue +4 -1
- package/pages/c/_cluster/apps/charts/chart.vue +124 -27
- package/pages/c/_cluster/apps/charts/index.vue +35 -8
- package/pages/c/_cluster/apps/charts/install.vue +200 -48
- package/pages/c/_cluster/auth/config/_id.vue +4 -1
- package/pages/c/_cluster/auth/config/index.vue +6 -2
- package/pages/c/_cluster/auth/group.principal/assign-edit.vue +10 -5
- package/pages/c/_cluster/auth/roles/index.vue +33 -7
- package/pages/c/_cluster/explorer/ConfigBadge.vue +4 -1
- package/pages/c/_cluster/explorer/index.vue +109 -24
- package/pages/c/_cluster/explorer/tools/index.vue +76 -17
- package/pages/c/_cluster/explorer/tools/pages/_page.vue +4 -1
- package/pages/c/_cluster/fleet/index.vue +9 -2
- package/pages/c/_cluster/gatekeeper/index.vue +4 -1
- package/pages/c/_cluster/istio/index.vue +20 -8
- package/pages/c/_cluster/legacy/pages/_page.vue +4 -1
- package/pages/c/_cluster/legacy/project/_page.vue +4 -1
- package/pages/c/_cluster/legacy/project/index.vue +4 -1
- package/pages/c/_cluster/legacy/project/pipelines.vue +27 -5
- package/pages/c/_cluster/logging/index.vue +4 -1
- package/pages/c/_cluster/longhorn/index.vue +16 -5
- package/pages/c/_cluster/manager/cloudCredential/index.vue +15 -3
- package/pages/c/_cluster/monitoring/alertmanagerconfig/_alertmanagerconfigid/receiver.vue +1 -1
- package/pages/c/_cluster/monitoring/index.vue +14 -5
- package/pages/c/_cluster/monitoring/monitor/index.vue +24 -6
- package/pages/c/_cluster/monitoring/route-receiver/index.vue +25 -6
- package/pages/c/_cluster/neuvector/index.vue +16 -5
- package/pages/c/_cluster/settings/DefaultLinksEditor.vue +25 -7
- package/pages/c/_cluster/settings/banners.vue +10 -2
- package/pages/c/_cluster/settings/brand.vue +75 -17
- package/pages/c/_cluster/settings/links.vue +16 -4
- package/pages/c/_cluster/settings/performance.vue +22 -5
- package/pages/c/_cluster/uiplugins/DeveloperInstallDialog.vue +19 -4
- package/pages/c/_cluster/uiplugins/InstallDialog.vue +14 -3
- package/pages/c/_cluster/uiplugins/PluginInfoPanel.vue +54 -12
- package/pages/c/_cluster/uiplugins/RemoveUIPlugins.vue +18 -4
- package/pages/c/_cluster/uiplugins/SetupUIPlugins.vue +14 -3
- package/pages/c/_cluster/uiplugins/UninstallDialog.vue +9 -2
- package/pages/c/_cluster/uiplugins/index.vue +149 -34
- package/pages/diagnostic.vue +14 -5
- package/pages/docs/_doc.vue +22 -5
- package/pages/fail-whale.vue +26 -6
- package/pages/home.vue +54 -14
- package/pages/prefs.vue +65 -22
- package/pages/rio/mesh.vue +6 -2
- package/pages/support/index.vue +35 -7
- package/plugins/steve/subscribe.js +1 -1
- package/promptRemove/management.cattle.io.globalrole.vue +9 -3
- package/promptRemove/management.cattle.io.project.vue +14 -5
- package/promptRemove/management.cattle.io.roletemplate.vue +9 -3
- package/promptRemove/pod.vue +15 -3
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +1 -0
- package/rancher-components/StringList/StringList.test.ts +80 -0
- package/rancher-components/StringList/StringList.vue +593 -0
- package/rancher-components/StringList/index.ts +1 -0
- package/scripts/publish-shell.sh +5 -38
- package/scripts/test-plugins-build.sh +5 -9
- package/store/prefs.js +1 -1
- package/types/form.ts +1 -0
- package/types/generic.ts +2 -0
- package/types/t.ts +1 -0
- package/types/userPreferences.d.ts +14 -0
- package/utils/array.ts +21 -0
- package/utils/favicon.js +2 -0
- package/utils/settings.ts +50 -0
- package/utils/validators/formRules/__tests__/index.test.ts +22 -1
- package/utils/validators/formRules/index.ts +68 -43
- package/creators/update/init +0 -54
- package/creators/update/package.json +0 -20
- package/creators/update/upgrade +0 -56
- package/scripts/record-deps.js +0 -37
- package/scripts/typegen.sh +0 -84
- package/types/shell/index.d.ts +0 -3046
- package/types/vue-shim.d +0 -20
package/list/group.principal.vue
CHANGED
|
@@ -25,6 +25,11 @@ export default {
|
|
|
25
25
|
type: Object,
|
|
26
26
|
required: true,
|
|
27
27
|
},
|
|
28
|
+
|
|
29
|
+
useQueryParamsForSimpleFiltering: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: false
|
|
32
|
+
}
|
|
28
33
|
},
|
|
29
34
|
async fetch() {
|
|
30
35
|
await this.updateRows();
|
|
@@ -126,6 +131,7 @@ export default {
|
|
|
126
131
|
:waiting-label="t('authGroups.actions.refresh')"
|
|
127
132
|
:success-label="t('authGroups.actions.refresh')"
|
|
128
133
|
:error-label="t('authGroups.actions.refresh')"
|
|
134
|
+
:class="{'mr-5': canCreateGlobalRoleBinding}"
|
|
129
135
|
@click="refreshGroupMemberships"
|
|
130
136
|
/>
|
|
131
137
|
<n-link
|
|
@@ -138,6 +144,10 @@ export default {
|
|
|
138
144
|
</template>
|
|
139
145
|
</Masthead>
|
|
140
146
|
|
|
141
|
-
<ResourceTable
|
|
147
|
+
<ResourceTable
|
|
148
|
+
:schema="schema"
|
|
149
|
+
:rows="rows"
|
|
150
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
151
|
+
/>
|
|
142
152
|
</div>
|
|
143
153
|
</template>
|
|
@@ -23,6 +23,10 @@ export default {
|
|
|
23
23
|
type: Object,
|
|
24
24
|
required: true,
|
|
25
25
|
},
|
|
26
|
+
useQueryParamsForSimpleFiltering: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: false
|
|
29
|
+
}
|
|
26
30
|
},
|
|
27
31
|
|
|
28
32
|
async fetch() {
|
|
@@ -117,7 +121,10 @@ export default {
|
|
|
117
121
|
<TypeDescription :resource="hResource" />
|
|
118
122
|
</template>
|
|
119
123
|
|
|
120
|
-
<template
|
|
124
|
+
<template
|
|
125
|
+
v-if="canCreateCluster"
|
|
126
|
+
slot="extraActions"
|
|
127
|
+
>
|
|
121
128
|
<n-link
|
|
122
129
|
:to="importLocation"
|
|
123
130
|
class="btn role-primary"
|
|
@@ -133,15 +140,24 @@ export default {
|
|
|
133
140
|
:rows="rows"
|
|
134
141
|
:is-creatable="true"
|
|
135
142
|
:namespaced="false"
|
|
143
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
136
144
|
>
|
|
137
145
|
<template #col:name="{row}">
|
|
138
146
|
<td>
|
|
139
147
|
<span class="cluster-link">
|
|
140
|
-
<a
|
|
148
|
+
<a
|
|
149
|
+
v-if="row.isReady"
|
|
150
|
+
class="link"
|
|
151
|
+
:disabled="navigating"
|
|
152
|
+
@click="goToCluster(row)"
|
|
153
|
+
>{{ row.nameDisplay }}</a>
|
|
141
154
|
<span v-else>
|
|
142
155
|
{{ row.nameDisplay }}
|
|
143
156
|
</span>
|
|
144
|
-
<i
|
|
157
|
+
<i
|
|
158
|
+
class="icon icon-spinner icon-spin ml-5"
|
|
159
|
+
:class="{'navigating': navigating === row.id}"
|
|
160
|
+
/>
|
|
145
161
|
</span>
|
|
146
162
|
</td>
|
|
147
163
|
</template>
|
|
@@ -159,15 +175,18 @@ export default {
|
|
|
159
175
|
<div class="no-clusters">
|
|
160
176
|
{{ t('harvesterManager.cluster.none') }}
|
|
161
177
|
</div>
|
|
162
|
-
<hr class="info-section"
|
|
178
|
+
<hr class="info-section">
|
|
163
179
|
<div class="logo">
|
|
164
|
-
<BrandImage
|
|
180
|
+
<BrandImage
|
|
181
|
+
file-name="harvester.png"
|
|
182
|
+
height="64"
|
|
183
|
+
/>
|
|
165
184
|
</div>
|
|
166
185
|
<div class="tagline">
|
|
167
186
|
<div>{{ t('harvesterManager.cluster.description') }}</div>
|
|
168
187
|
</div>
|
|
169
188
|
<div class="tagline sub-tagline">
|
|
170
|
-
<div v-html="t('harvesterManager.cluster.learnMore', {}, true)"
|
|
189
|
+
<div v-html="t('harvesterManager.cluster.learnMore', {}, true)" />
|
|
171
190
|
</div>
|
|
172
191
|
</div>
|
|
173
192
|
</div>
|
|
@@ -30,6 +30,11 @@ export default {
|
|
|
30
30
|
type: Boolean,
|
|
31
31
|
default: false
|
|
32
32
|
},
|
|
33
|
+
|
|
34
|
+
useQueryParamsForSimpleFiltering: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
}
|
|
33
38
|
},
|
|
34
39
|
async fetch() {
|
|
35
40
|
this.projectHelmChartSchema = this.$store.getters['cluster/schemaFor'](HELM.PROJECTHELMCHART);
|
|
@@ -74,18 +79,30 @@ export default {
|
|
|
74
79
|
:load-indeterminate="loadIndeterminate"
|
|
75
80
|
is-creatable
|
|
76
81
|
/>
|
|
77
|
-
<Banner
|
|
82
|
+
<Banner
|
|
83
|
+
color="info"
|
|
84
|
+
:label="t('monitoring.projectMonitoring.list.banner')"
|
|
85
|
+
/>
|
|
78
86
|
<!-- ToDo: figure out how to get this centered in the empty space -->
|
|
79
|
-
<div
|
|
87
|
+
<div
|
|
88
|
+
v-if="rows.length === 0 && !loading"
|
|
89
|
+
class="empty-list"
|
|
90
|
+
>
|
|
80
91
|
<div class="message">
|
|
81
|
-
<i class="icon icon-monitoring icon-10x icon-grey"
|
|
92
|
+
<i class="icon icon-monitoring icon-10x icon-grey" />
|
|
82
93
|
<div class="text-large">
|
|
83
94
|
{{ t('monitoring.projectMonitoring.list.empty.message') }}
|
|
84
95
|
</div>
|
|
85
|
-
<div
|
|
96
|
+
<div
|
|
97
|
+
v-if="canCreateProjectHelmChart"
|
|
98
|
+
class="text-large"
|
|
99
|
+
>
|
|
86
100
|
{{ t('monitoring.projectMonitoring.list.empty.canCreate') }}
|
|
87
101
|
</div>
|
|
88
|
-
<div
|
|
102
|
+
<div
|
|
103
|
+
v-else
|
|
104
|
+
class="text-large"
|
|
105
|
+
>
|
|
89
106
|
{{ t('monitoring.projectMonitoring.list.empty.cannotCreate') }}
|
|
90
107
|
</div>
|
|
91
108
|
</div>
|
|
@@ -96,6 +113,7 @@ export default {
|
|
|
96
113
|
:headers="headers"
|
|
97
114
|
:schema="projectHelmChartSchema"
|
|
98
115
|
:loading="loading"
|
|
116
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
99
117
|
key-field="_key"
|
|
100
118
|
:groupable="false"
|
|
101
119
|
/>
|
|
@@ -17,6 +17,11 @@ export default {
|
|
|
17
17
|
type: Object,
|
|
18
18
|
required: true,
|
|
19
19
|
},
|
|
20
|
+
|
|
21
|
+
useQueryParamsForSimpleFiltering: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
}
|
|
20
25
|
},
|
|
21
26
|
|
|
22
27
|
async fetch() {
|
|
@@ -27,5 +32,10 @@ export default {
|
|
|
27
32
|
</script>
|
|
28
33
|
|
|
29
34
|
<template>
|
|
30
|
-
<ResourceTable
|
|
35
|
+
<ResourceTable
|
|
36
|
+
:schema="schema"
|
|
37
|
+
:rows="rows"
|
|
38
|
+
:loading="loading"
|
|
39
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
40
|
+
/>
|
|
31
41
|
</template>
|
|
@@ -16,6 +16,11 @@ export default {
|
|
|
16
16
|
type: Object,
|
|
17
17
|
required: true,
|
|
18
18
|
},
|
|
19
|
+
|
|
20
|
+
useQueryParamsForSimpleFiltering: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false
|
|
23
|
+
}
|
|
19
24
|
},
|
|
20
25
|
|
|
21
26
|
async fetch() {
|
|
@@ -30,5 +35,10 @@ export default {
|
|
|
30
35
|
</script>
|
|
31
36
|
|
|
32
37
|
<template>
|
|
33
|
-
<ResourceTable
|
|
38
|
+
<ResourceTable
|
|
39
|
+
:schema="schema"
|
|
40
|
+
:rows="rows"
|
|
41
|
+
:loading="loading"
|
|
42
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
43
|
+
/>
|
|
34
44
|
</template>
|
|
@@ -17,6 +17,10 @@ export default {
|
|
|
17
17
|
type: Object,
|
|
18
18
|
required: true,
|
|
19
19
|
},
|
|
20
|
+
useQueryParamsForSimpleFiltering: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false
|
|
23
|
+
}
|
|
20
24
|
},
|
|
21
25
|
|
|
22
26
|
async fetch() {
|
|
@@ -38,5 +42,12 @@ export default {
|
|
|
38
42
|
</script>
|
|
39
43
|
|
|
40
44
|
<template>
|
|
41
|
-
<ResourceTable
|
|
45
|
+
<ResourceTable
|
|
46
|
+
:schema="schema"
|
|
47
|
+
:rows="filteredRows"
|
|
48
|
+
:headers="$attrs.headers"
|
|
49
|
+
:group-by="$attrs.groupBy"
|
|
50
|
+
:loading="loading"
|
|
51
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
52
|
+
/>
|
|
42
53
|
</template>
|
|
@@ -28,6 +28,11 @@ export default {
|
|
|
28
28
|
type: Object,
|
|
29
29
|
required: true,
|
|
30
30
|
},
|
|
31
|
+
|
|
32
|
+
useQueryParamsForSimpleFiltering: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false
|
|
35
|
+
}
|
|
31
36
|
},
|
|
32
37
|
|
|
33
38
|
async fetch() {
|
|
@@ -195,11 +200,18 @@ export default {
|
|
|
195
200
|
:rows="filteredRows"
|
|
196
201
|
:row-actions="enableRowActions"
|
|
197
202
|
:loading="loading"
|
|
203
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
198
204
|
>
|
|
199
|
-
<template
|
|
205
|
+
<template
|
|
206
|
+
slot="cell:name"
|
|
207
|
+
slot-scope="scope"
|
|
208
|
+
>
|
|
200
209
|
<div class="feature-name">
|
|
201
210
|
<div>{{ scope.row.nameDisplay }}</div>
|
|
202
|
-
<i
|
|
211
|
+
<i
|
|
212
|
+
v-if="scope.row.status.lockedValue !== null"
|
|
213
|
+
class="icon icon-lock"
|
|
214
|
+
/>
|
|
203
215
|
</div>
|
|
204
216
|
</template>
|
|
205
217
|
</ResourceTable>
|
|
@@ -212,20 +224,39 @@ export default {
|
|
|
212
224
|
:click-to-close="!restart || !waiting"
|
|
213
225
|
@closed="close"
|
|
214
226
|
>
|
|
215
|
-
<Card
|
|
216
|
-
|
|
227
|
+
<Card
|
|
228
|
+
v-if="!waiting"
|
|
229
|
+
class="prompt-update"
|
|
230
|
+
:show-highlight-border="false"
|
|
231
|
+
>
|
|
232
|
+
<h4
|
|
233
|
+
slot="title"
|
|
234
|
+
class="text-default-text"
|
|
235
|
+
>
|
|
217
236
|
Are you sure?
|
|
218
237
|
</h4>
|
|
219
238
|
<div slot="body">
|
|
220
|
-
<div
|
|
239
|
+
<div
|
|
240
|
+
v-if="update"
|
|
241
|
+
class="mb-10"
|
|
242
|
+
>
|
|
221
243
|
<div v-if="enabling">
|
|
222
244
|
<span>
|
|
223
245
|
{{ t('featureFlags.promptActivate', {flag: update.id}) }}
|
|
224
246
|
</span>
|
|
225
|
-
<div
|
|
247
|
+
<div
|
|
248
|
+
v-if="promptForUrl"
|
|
249
|
+
class="mt-10"
|
|
250
|
+
>
|
|
226
251
|
<span> {{ t('featureFlags.requiresSetting') }}</span>
|
|
227
|
-
<div
|
|
228
|
-
|
|
252
|
+
<div
|
|
253
|
+
:style="{'align-items':'center'}"
|
|
254
|
+
class="row mt-10"
|
|
255
|
+
>
|
|
256
|
+
<LabeledInput
|
|
257
|
+
v-model="serverUrl"
|
|
258
|
+
:label="t('setup.serverUrl.label')"
|
|
259
|
+
/>
|
|
229
260
|
<div class="col pl-5">
|
|
230
261
|
<AsyncButton @click="saveUrl" />
|
|
231
262
|
</div>
|
|
@@ -235,31 +266,56 @@ export default {
|
|
|
235
266
|
<span v-else>
|
|
236
267
|
{{ t('featureFlags.promptDeactivate', {flag: update.id}) }}
|
|
237
268
|
</span>
|
|
238
|
-
<Banner
|
|
269
|
+
<Banner
|
|
270
|
+
v-if="restart"
|
|
271
|
+
color="warning"
|
|
272
|
+
:label="t('featureFlags.restartRequired')"
|
|
273
|
+
/>
|
|
239
274
|
</div>
|
|
240
275
|
<div class="text-error mb-10">
|
|
241
276
|
{{ error }}
|
|
242
277
|
</div>
|
|
243
278
|
</div>
|
|
244
279
|
<template #actions>
|
|
245
|
-
<button
|
|
280
|
+
<button
|
|
281
|
+
class="btn role-secondary"
|
|
282
|
+
@click="close"
|
|
283
|
+
>
|
|
246
284
|
{{ t('generic.cancel') }}
|
|
247
285
|
</button>
|
|
248
|
-
<AsyncButton
|
|
286
|
+
<AsyncButton
|
|
287
|
+
:disabled="promptForUrl && !serverUrlSetting.value"
|
|
288
|
+
:mode="updateMode"
|
|
289
|
+
class="btn bg-error ml-10"
|
|
290
|
+
@click="toggleFlag"
|
|
291
|
+
/>
|
|
249
292
|
</template>
|
|
250
293
|
</Card>
|
|
251
|
-
<Card
|
|
252
|
-
|
|
294
|
+
<Card
|
|
295
|
+
v-else
|
|
296
|
+
class="prompt-update"
|
|
297
|
+
:show-highlight-border="false"
|
|
298
|
+
>
|
|
299
|
+
<h4
|
|
300
|
+
slot="title"
|
|
301
|
+
class="text-default-text"
|
|
302
|
+
>
|
|
253
303
|
{{ t('featureFlags.restart.title') }}
|
|
254
304
|
</h4>
|
|
255
|
-
<div
|
|
305
|
+
<div
|
|
306
|
+
slot="body"
|
|
307
|
+
class="waiting"
|
|
308
|
+
>
|
|
256
309
|
<p>{{ t('featureFlags.restart.wait') }}</p>
|
|
257
310
|
<span class="restarting-icon">
|
|
258
311
|
<i class=" icon icon-spinner icon-spin" />
|
|
259
312
|
</span>
|
|
260
313
|
</div>
|
|
261
314
|
<template #actions>
|
|
262
|
-
<button
|
|
315
|
+
<button
|
|
316
|
+
class="btn role-secondary"
|
|
317
|
+
@click="close"
|
|
318
|
+
>
|
|
263
319
|
{{ t('generic.cancel') }}
|
|
264
320
|
</button>
|
|
265
321
|
</template>
|
|
@@ -80,42 +80,76 @@ export default {
|
|
|
80
80
|
<template>
|
|
81
81
|
<Loading v-if="!settings" />
|
|
82
82
|
<div v-else>
|
|
83
|
-
<Banner
|
|
83
|
+
<Banner
|
|
84
|
+
color="warning"
|
|
85
|
+
class="settings-banner"
|
|
86
|
+
>
|
|
84
87
|
<div>
|
|
85
88
|
{{ t('advancedSettings.subtext') }}
|
|
86
89
|
</div>
|
|
87
90
|
</Banner>
|
|
88
|
-
<div
|
|
91
|
+
<div
|
|
92
|
+
v-for="setting in settings"
|
|
93
|
+
:key="setting.id"
|
|
94
|
+
class="advanced-setting mb-20"
|
|
95
|
+
>
|
|
89
96
|
<div class="header">
|
|
90
97
|
<div class="title">
|
|
91
98
|
<h1>
|
|
92
99
|
{{ setting.id }}
|
|
93
|
-
<span
|
|
94
|
-
|
|
100
|
+
<span
|
|
101
|
+
v-if="setting.fromEnv"
|
|
102
|
+
class="modified"
|
|
103
|
+
>Set by Environment Variable</span>
|
|
104
|
+
<span
|
|
105
|
+
v-else-if="setting.customized"
|
|
106
|
+
class="modified"
|
|
107
|
+
>Modified</span>
|
|
95
108
|
</h1>
|
|
96
109
|
<h2>{{ setting.description }}</h2>
|
|
97
110
|
</div>
|
|
98
|
-
<div
|
|
99
|
-
|
|
111
|
+
<div
|
|
112
|
+
v-if="setting.hasActions"
|
|
113
|
+
class="action"
|
|
114
|
+
>
|
|
115
|
+
<button
|
|
116
|
+
aria-haspopup="true"
|
|
117
|
+
aria-expanded="false"
|
|
118
|
+
type="button"
|
|
119
|
+
class="btn btn-sm role-multi-action actions"
|
|
120
|
+
@click="showActionMenu($event, setting)"
|
|
121
|
+
>
|
|
100
122
|
<i class="icon icon-actions" />
|
|
101
123
|
</button>
|
|
102
124
|
</div>
|
|
103
125
|
</div>
|
|
104
126
|
<div value>
|
|
105
127
|
<div v-if="setting.hide">
|
|
106
|
-
<button
|
|
128
|
+
<button
|
|
129
|
+
class="btn btn-sm role-primary"
|
|
130
|
+
@click="setting.hide = !setting.hide"
|
|
131
|
+
>
|
|
107
132
|
{{ t('advancedSettings.show') }} {{ setting.id }}
|
|
108
133
|
</button>
|
|
109
134
|
</div>
|
|
110
|
-
<div
|
|
135
|
+
<div
|
|
136
|
+
v-else
|
|
137
|
+
class="settings-value"
|
|
138
|
+
>
|
|
111
139
|
<pre v-if="setting.kind === 'json'">{{ setting.json }}</pre>
|
|
112
140
|
<pre v-else-if="setting.kind === 'multiline'">{{ setting.data.value || setting.data.default }}</pre>
|
|
113
141
|
<pre v-else-if="setting.kind === 'enum'">{{ t(setting.enum) }}</pre>
|
|
114
142
|
<pre v-else-if="setting.data.value || setting.data.default">{{ setting.data.value || setting.data.default }}</pre>
|
|
115
|
-
<pre
|
|
143
|
+
<pre
|
|
144
|
+
v-else
|
|
145
|
+
class="text-muted"
|
|
146
|
+
><{{ t('advancedSettings.none') }}></pre>
|
|
116
147
|
</div>
|
|
117
148
|
<div v-if="setting.canHide && !setting.hide">
|
|
118
|
-
<button
|
|
149
|
+
<button
|
|
150
|
+
class="btn btn-sm role-primary"
|
|
151
|
+
@click="setting.hide = !setting.hide"
|
|
152
|
+
>
|
|
119
153
|
{{ t('advancedSettings.hide') }} {{ setting.id }}
|
|
120
154
|
</button>
|
|
121
155
|
</div>
|
|
@@ -33,6 +33,11 @@ export default {
|
|
|
33
33
|
type: Boolean,
|
|
34
34
|
default: false
|
|
35
35
|
},
|
|
36
|
+
|
|
37
|
+
useQueryParamsForSimpleFiltering: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: false
|
|
40
|
+
}
|
|
36
41
|
},
|
|
37
42
|
async fetch() {
|
|
38
43
|
const store = this.$store;
|
|
@@ -132,7 +137,13 @@ export default {
|
|
|
132
137
|
</template>
|
|
133
138
|
</Masthead>
|
|
134
139
|
|
|
135
|
-
<ResourceTable
|
|
140
|
+
<ResourceTable
|
|
141
|
+
:schema="schema"
|
|
142
|
+
:rows="users"
|
|
143
|
+
:group-by="groupBy"
|
|
144
|
+
:loading="loading"
|
|
145
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
146
|
+
/>
|
|
136
147
|
</div>
|
|
137
148
|
</template>
|
|
138
149
|
|
|
@@ -17,6 +17,11 @@ export default {
|
|
|
17
17
|
type: Object,
|
|
18
18
|
required: true,
|
|
19
19
|
},
|
|
20
|
+
|
|
21
|
+
useQueryParamsForSimpleFiltering: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
}
|
|
20
25
|
},
|
|
21
26
|
|
|
22
27
|
async fetch() {
|
|
@@ -39,6 +44,7 @@ export default {
|
|
|
39
44
|
:schema="schema"
|
|
40
45
|
:rows="rows"
|
|
41
46
|
:loading="loading"
|
|
47
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
42
48
|
/>
|
|
43
49
|
</div>
|
|
44
50
|
|
package/list/namespace.vue
CHANGED
|
@@ -22,6 +22,13 @@ export default {
|
|
|
22
22
|
type: Boolean,
|
|
23
23
|
required: false,
|
|
24
24
|
},
|
|
25
|
+
useQueryParamsForSimpleFiltering: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: false
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
data() {
|
|
31
|
+
return { asddsa: true };
|
|
25
32
|
},
|
|
26
33
|
|
|
27
34
|
computed: {
|
|
@@ -52,6 +59,7 @@ export default {
|
|
|
52
59
|
:schema="schema"
|
|
53
60
|
key-field="_key"
|
|
54
61
|
:loading="loading"
|
|
62
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
55
63
|
v-on="$listeners"
|
|
56
64
|
/>
|
|
57
65
|
</template>
|
package/list/node.vue
CHANGED
|
@@ -34,6 +34,10 @@ export default {
|
|
|
34
34
|
type: Object,
|
|
35
35
|
required: true,
|
|
36
36
|
},
|
|
37
|
+
useQueryParamsForSimpleFiltering: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: false
|
|
40
|
+
}
|
|
37
41
|
},
|
|
38
42
|
|
|
39
43
|
async fetch() {
|
|
@@ -151,6 +155,7 @@ export default {
|
|
|
151
155
|
:rows="rows"
|
|
152
156
|
:sub-rows="true"
|
|
153
157
|
:loading="loading"
|
|
158
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
154
159
|
v-on="$listeners"
|
|
155
160
|
>
|
|
156
161
|
<template #sub-row="{fullColspan, row, onRowMouseEnter, onRowMouseLeave}">
|
|
@@ -165,12 +170,19 @@ export default {
|
|
|
165
170
|
<td> </td>
|
|
166
171
|
<td :colspan="fullColspan-2">
|
|
167
172
|
{{ t('node.list.nodeTaint') }}:
|
|
168
|
-
<Tag
|
|
173
|
+
<Tag
|
|
174
|
+
v-for="taint in row.spec.taints"
|
|
175
|
+
:key="taint.key + taint.value + taint.effect"
|
|
176
|
+
class="mr-5"
|
|
177
|
+
>
|
|
169
178
|
{{ taint.key }}={{ taint.value }}:{{ taint.effect }}
|
|
170
179
|
</Tag>
|
|
171
180
|
</td>
|
|
172
181
|
</template>
|
|
173
|
-
<td
|
|
182
|
+
<td
|
|
183
|
+
v-else
|
|
184
|
+
:colspan="fullColspan"
|
|
185
|
+
>
|
|
174
186
|
|
|
175
187
|
</td>
|
|
176
188
|
</tr>
|
|
@@ -17,6 +17,11 @@ export default {
|
|
|
17
17
|
type: Object,
|
|
18
18
|
required: true,
|
|
19
19
|
},
|
|
20
|
+
|
|
21
|
+
useQueryParamsForSimpleFiltering: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
}
|
|
20
25
|
},
|
|
21
26
|
|
|
22
27
|
async fetch() {
|
|
@@ -30,5 +35,12 @@ export default {
|
|
|
30
35
|
</script>
|
|
31
36
|
|
|
32
37
|
<template>
|
|
33
|
-
<ResourceTable
|
|
38
|
+
<ResourceTable
|
|
39
|
+
:schema="schema"
|
|
40
|
+
:rows="rows"
|
|
41
|
+
:headers="$attrs.headers"
|
|
42
|
+
:group-by="$attrs.groupBy"
|
|
43
|
+
:loading="loading"
|
|
44
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
45
|
+
/>
|
|
34
46
|
</template>
|
|
@@ -17,6 +17,11 @@ export default {
|
|
|
17
17
|
type: Object,
|
|
18
18
|
required: true,
|
|
19
19
|
},
|
|
20
|
+
|
|
21
|
+
useQueryParamsForSimpleFiltering: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
}
|
|
20
25
|
},
|
|
21
26
|
|
|
22
27
|
async fetch() {
|
|
@@ -35,5 +40,6 @@ export default {
|
|
|
35
40
|
:loading="loading"
|
|
36
41
|
:schema="schema"
|
|
37
42
|
:rows="rows"
|
|
43
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
38
44
|
/>
|
|
39
45
|
</template>
|
|
@@ -30,6 +30,11 @@ export default {
|
|
|
30
30
|
type: Boolean,
|
|
31
31
|
default: false
|
|
32
32
|
},
|
|
33
|
+
|
|
34
|
+
useQueryParamsForSimpleFiltering: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
}
|
|
33
38
|
},
|
|
34
39
|
|
|
35
40
|
async fetch() {
|
|
@@ -146,7 +151,11 @@ export default {
|
|
|
146
151
|
|
|
147
152
|
<template>
|
|
148
153
|
<div>
|
|
149
|
-
<Banner
|
|
154
|
+
<Banner
|
|
155
|
+
v-if="hiddenHarvesterCount"
|
|
156
|
+
color="info"
|
|
157
|
+
:label="t('cluster.harvester.clusterWarning', {count: hiddenHarvesterCount} )"
|
|
158
|
+
/>
|
|
150
159
|
|
|
151
160
|
<Masthead
|
|
152
161
|
:schema="schema"
|
|
@@ -157,7 +166,10 @@ export default {
|
|
|
157
166
|
:load-resources="loadResources"
|
|
158
167
|
:load-indeterminate="loadIndeterminate"
|
|
159
168
|
>
|
|
160
|
-
<template
|
|
169
|
+
<template
|
|
170
|
+
v-if="canImport"
|
|
171
|
+
slot="extraActions"
|
|
172
|
+
>
|
|
161
173
|
<n-link
|
|
162
174
|
:to="importLocation"
|
|
163
175
|
class="btn role-primary"
|
|
@@ -168,12 +180,19 @@ export default {
|
|
|
168
180
|
</template>
|
|
169
181
|
</Masthead>
|
|
170
182
|
|
|
171
|
-
<ResourceTable
|
|
183
|
+
<ResourceTable
|
|
184
|
+
:schema="schema"
|
|
185
|
+
:rows="filteredRows"
|
|
186
|
+
:namespaced="false"
|
|
187
|
+
:loading="loading"
|
|
188
|
+
:use-query-params-for-simple-filtering="useQueryParamsForSimpleFiltering"
|
|
189
|
+
:data-testid="'cluster-list'"
|
|
190
|
+
>
|
|
172
191
|
<template #cell:summary="{row}">
|
|
173
192
|
<span v-if="!row.stateParts.length">{{ row.nodes.length }}</span>
|
|
174
193
|
</template>
|
|
175
194
|
<template #cell:explorer="{row}">
|
|
176
|
-
<span v-if="row.mgmt && row.mgmt.isHarvester"
|
|
195
|
+
<span v-if="row.mgmt && row.mgmt.isHarvester" />
|
|
177
196
|
<n-link
|
|
178
197
|
v-else-if="row.mgmt && row.mgmt.isReady && !row.hasError"
|
|
179
198
|
data-testid="cluster-manager-list-explore-management"
|