@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
|
@@ -81,9 +81,19 @@ export default {
|
|
|
81
81
|
</script>
|
|
82
82
|
<template>
|
|
83
83
|
<div class="plugin-info-panel">
|
|
84
|
-
<div
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
<div
|
|
85
|
+
v-if="showSlideIn"
|
|
86
|
+
class="glass"
|
|
87
|
+
@click="hide()"
|
|
88
|
+
/>
|
|
89
|
+
<div
|
|
90
|
+
class="slideIn"
|
|
91
|
+
:class="{'hide': false, 'slideIn__show': showSlideIn}"
|
|
92
|
+
>
|
|
93
|
+
<div
|
|
94
|
+
v-if="info"
|
|
95
|
+
class="plugin-info-content"
|
|
96
|
+
>
|
|
87
97
|
<div class="plugin-header">
|
|
88
98
|
<div class="plugin-icon">
|
|
89
99
|
<LazyImage
|
|
@@ -97,7 +107,7 @@ export default {
|
|
|
97
107
|
v-else
|
|
98
108
|
:src="defaultIcon"
|
|
99
109
|
class="icon plugin-icon-img"
|
|
100
|
-
|
|
110
|
+
>
|
|
101
111
|
</div>
|
|
102
112
|
<div class="plugin-title">
|
|
103
113
|
<h2 class="slideIn__header">
|
|
@@ -109,18 +119,41 @@ export default {
|
|
|
109
119
|
</div>
|
|
110
120
|
<div class="plugin-close">
|
|
111
121
|
<div class="slideIn__header__buttons">
|
|
112
|
-
<div
|
|
122
|
+
<div
|
|
123
|
+
class="slideIn__header__button"
|
|
124
|
+
@click="showSlideIn = false"
|
|
125
|
+
>
|
|
113
126
|
<i class="icon icon-close" />
|
|
114
127
|
</div>
|
|
115
128
|
</div>
|
|
116
129
|
</div>
|
|
117
130
|
</div>
|
|
118
131
|
<div>
|
|
119
|
-
<Banner
|
|
120
|
-
|
|
132
|
+
<Banner
|
|
133
|
+
v-if="info.error"
|
|
134
|
+
color="error"
|
|
135
|
+
:label="info.error"
|
|
136
|
+
class="mt-10"
|
|
137
|
+
/>
|
|
138
|
+
<Banner
|
|
139
|
+
v-if="info.builtin"
|
|
140
|
+
color="warning"
|
|
141
|
+
:label="t('plugins.descriptions.built-in')"
|
|
142
|
+
class="mt-10"
|
|
143
|
+
/>
|
|
121
144
|
<template v-else>
|
|
122
|
-
<Banner
|
|
123
|
-
|
|
145
|
+
<Banner
|
|
146
|
+
v-if="!info.certified"
|
|
147
|
+
color="warning"
|
|
148
|
+
:label="t('plugins.descriptions.third-party')"
|
|
149
|
+
class="mt-10"
|
|
150
|
+
/>
|
|
151
|
+
<Banner
|
|
152
|
+
v-if="info.experimental"
|
|
153
|
+
color="warning"
|
|
154
|
+
:label="t('plugins.descriptions.experimental')"
|
|
155
|
+
class="mt-10"
|
|
156
|
+
/>
|
|
124
157
|
</template>
|
|
125
158
|
</div>
|
|
126
159
|
|
|
@@ -128,7 +161,10 @@ export default {
|
|
|
128
161
|
{{ t('plugins.info.versions') }}
|
|
129
162
|
</h3>
|
|
130
163
|
<div class="plugin-versions mb-10">
|
|
131
|
-
<div
|
|
164
|
+
<div
|
|
165
|
+
v-for="v in info.versions"
|
|
166
|
+
:key="v.version"
|
|
167
|
+
>
|
|
132
168
|
<a
|
|
133
169
|
class="version-link"
|
|
134
170
|
:class="{'version-active': v.version === infoVersion}"
|
|
@@ -145,8 +181,14 @@ export default {
|
|
|
145
181
|
<h3 v-if="versionInfo">
|
|
146
182
|
{{ t('plugins.info.detail') }}
|
|
147
183
|
</h3>
|
|
148
|
-
<div
|
|
149
|
-
|
|
184
|
+
<div
|
|
185
|
+
v-if="versionInfo"
|
|
186
|
+
class="plugin-info-detail"
|
|
187
|
+
>
|
|
188
|
+
<ChartReadme
|
|
189
|
+
v-if="versionInfo"
|
|
190
|
+
:version-info="versionInfo"
|
|
191
|
+
/>
|
|
150
192
|
</div>
|
|
151
193
|
<div v-if="!info.versions.length">
|
|
152
194
|
<h3>
|
|
@@ -113,14 +113,28 @@ export default {
|
|
|
113
113
|
<p>
|
|
114
114
|
{{ t('plugins.setup.remove.prompt') }}
|
|
115
115
|
</p>
|
|
116
|
-
<div
|
|
117
|
-
|
|
116
|
+
<div
|
|
117
|
+
v-if="!!defaultRepo"
|
|
118
|
+
class="mt-20"
|
|
119
|
+
>
|
|
120
|
+
<Checkbox
|
|
121
|
+
v-model="removeRepo"
|
|
122
|
+
:primary="true"
|
|
123
|
+
label-key="plugins.setup.remove.registry.title"
|
|
124
|
+
/>
|
|
118
125
|
<div class="checkbox-info">
|
|
119
126
|
{{ t('plugins.setup.remove.registry.prompt') }}
|
|
120
127
|
</div>
|
|
121
128
|
</div>
|
|
122
|
-
<div
|
|
123
|
-
|
|
129
|
+
<div
|
|
130
|
+
v-if="hasPluginsInstalled"
|
|
131
|
+
class="mt-20"
|
|
132
|
+
>
|
|
133
|
+
<Checkbox
|
|
134
|
+
v-model="removeCRD"
|
|
135
|
+
:primary="true"
|
|
136
|
+
label-key="plugins.setup.remove.crd.title"
|
|
137
|
+
/>
|
|
124
138
|
<div class="checkbox-info">
|
|
125
139
|
{{ t('plugins.setup.remove.crd.prompt') }}
|
|
126
140
|
</div>
|
|
@@ -217,7 +217,11 @@ export default {
|
|
|
217
217
|
@click="enable"
|
|
218
218
|
/>
|
|
219
219
|
</div>
|
|
220
|
-
<div
|
|
220
|
+
<div
|
|
221
|
+
v-for="(e, i) in errors"
|
|
222
|
+
:key="i"
|
|
223
|
+
class="plugin-setup-error"
|
|
224
|
+
>
|
|
221
225
|
{{ e }}
|
|
222
226
|
</div>
|
|
223
227
|
</div>
|
|
@@ -232,8 +236,15 @@ export default {
|
|
|
232
236
|
<p>
|
|
233
237
|
{{ t('plugins.setup.install.prompt') }}
|
|
234
238
|
</p>
|
|
235
|
-
<div
|
|
236
|
-
|
|
239
|
+
<div
|
|
240
|
+
v-if="!hasRancherUIPluginsRepo"
|
|
241
|
+
class="mt-20"
|
|
242
|
+
>
|
|
243
|
+
<Checkbox
|
|
244
|
+
v-model="addRepo"
|
|
245
|
+
:primary="true"
|
|
246
|
+
label-key="plugins.setup.install.addRancherRepo"
|
|
247
|
+
/>
|
|
237
248
|
<div class="checkbox-info">
|
|
238
249
|
{{ t('plugins.setup.install.airgap') }}
|
|
239
250
|
</div>
|
|
@@ -67,7 +67,10 @@ export default {
|
|
|
67
67
|
height="auto"
|
|
68
68
|
:scrollable="true"
|
|
69
69
|
>
|
|
70
|
-
<div
|
|
70
|
+
<div
|
|
71
|
+
v-if="plugin"
|
|
72
|
+
class="plugin-install-dialog"
|
|
73
|
+
>
|
|
71
74
|
<h4 class="mt-10">
|
|
72
75
|
{{ t('plugins.uninstall.title', { name: plugin.label }) }}
|
|
73
76
|
</h4>
|
|
@@ -78,7 +81,11 @@ export default {
|
|
|
78
81
|
</p>
|
|
79
82
|
</div>
|
|
80
83
|
<div class="dialog-buttons">
|
|
81
|
-
<button
|
|
84
|
+
<button
|
|
85
|
+
:disabled="busy"
|
|
86
|
+
class="btn role-secondary"
|
|
87
|
+
@click="closeDialog(false)"
|
|
88
|
+
>
|
|
82
89
|
{{ t('generic.cancel') }}
|
|
83
90
|
</button>
|
|
84
91
|
<AsyncButton
|
|
@@ -484,12 +484,18 @@ export default {
|
|
|
484
484
|
<div class="plugins">
|
|
485
485
|
<div class="plugin-header">
|
|
486
486
|
<h2>{{ t('plugins.title') }}</h2>
|
|
487
|
-
<div
|
|
487
|
+
<div
|
|
488
|
+
v-if="reloadRequired"
|
|
489
|
+
class="plugin-reload-banner mr-20"
|
|
490
|
+
>
|
|
488
491
|
<i class="icon icon-checkmark mr-10" />
|
|
489
492
|
<span>
|
|
490
493
|
{{ t('plugins.reload') }}
|
|
491
494
|
</span>
|
|
492
|
-
<button
|
|
495
|
+
<button
|
|
496
|
+
class="ml-10 btn btn-sm role-primary"
|
|
497
|
+
@click="reload()"
|
|
498
|
+
>
|
|
493
499
|
{{ t('generic.reload') }}
|
|
494
500
|
</button>
|
|
495
501
|
</div>
|
|
@@ -520,24 +526,65 @@ export default {
|
|
|
520
526
|
<PluginInfoPanel ref="infoPanel" />
|
|
521
527
|
|
|
522
528
|
<div v-if="!hasService">
|
|
523
|
-
<div
|
|
529
|
+
<div
|
|
530
|
+
v-if="loading"
|
|
531
|
+
class="data-loading"
|
|
532
|
+
>
|
|
524
533
|
<i class="icon-spin icon icon-spinner" />
|
|
525
|
-
<t
|
|
534
|
+
<t
|
|
535
|
+
k="generic.loading"
|
|
536
|
+
:raw="true"
|
|
537
|
+
/>
|
|
526
538
|
</div>
|
|
527
|
-
<SetupUIPlugins
|
|
539
|
+
<SetupUIPlugins
|
|
540
|
+
v-else
|
|
541
|
+
class="setup-message"
|
|
542
|
+
@done="updateInstallStatus"
|
|
543
|
+
/>
|
|
528
544
|
</div>
|
|
529
545
|
<div v-else>
|
|
530
|
-
<Tabbed
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
546
|
+
<Tabbed
|
|
547
|
+
ref="tabs"
|
|
548
|
+
:tabs-only="true"
|
|
549
|
+
@changed="filterChanged"
|
|
550
|
+
>
|
|
551
|
+
<Tab
|
|
552
|
+
name="installed"
|
|
553
|
+
label-key="plugins.tabs.installed"
|
|
554
|
+
:weight="20"
|
|
555
|
+
/>
|
|
556
|
+
<Tab
|
|
557
|
+
name="available"
|
|
558
|
+
label-key="plugins.tabs.available"
|
|
559
|
+
:weight="19"
|
|
560
|
+
/>
|
|
561
|
+
<Tab
|
|
562
|
+
name="updates"
|
|
563
|
+
label-key="plugins.tabs.updates"
|
|
564
|
+
:weight="18"
|
|
565
|
+
:badge="updates.length"
|
|
566
|
+
/>
|
|
567
|
+
<Tab
|
|
568
|
+
name="all"
|
|
569
|
+
label-key="plugins.tabs.all"
|
|
570
|
+
:weight="17"
|
|
571
|
+
/>
|
|
535
572
|
</Tabbed>
|
|
536
|
-
<div
|
|
573
|
+
<div
|
|
574
|
+
v-if="loading"
|
|
575
|
+
class="data-loading"
|
|
576
|
+
>
|
|
537
577
|
<i class="icon-spin icon icon-spinner" />
|
|
538
|
-
<t
|
|
578
|
+
<t
|
|
579
|
+
k="generic.loading"
|
|
580
|
+
:raw="true"
|
|
581
|
+
/>
|
|
539
582
|
</div>
|
|
540
|
-
<div
|
|
583
|
+
<div
|
|
584
|
+
v-else
|
|
585
|
+
class="plugin-list"
|
|
586
|
+
:class="{'v-margin': !list.length}"
|
|
587
|
+
>
|
|
541
588
|
<IconMessage
|
|
542
589
|
v-if="list.length === 0"
|
|
543
590
|
:vertical="true"
|
|
@@ -546,7 +593,12 @@ export default {
|
|
|
546
593
|
:message="emptyMessage"
|
|
547
594
|
/>
|
|
548
595
|
<template v-else>
|
|
549
|
-
<div
|
|
596
|
+
<div
|
|
597
|
+
v-for="plugin in list"
|
|
598
|
+
:key="plugin.name"
|
|
599
|
+
class="plugin"
|
|
600
|
+
@click="showPluginDetail(plugin)"
|
|
601
|
+
>
|
|
550
602
|
<div class="plugin-icon">
|
|
551
603
|
<LazyImage
|
|
552
604
|
v-if="plugin.icon"
|
|
@@ -559,7 +611,7 @@ export default {
|
|
|
559
611
|
v-else
|
|
560
612
|
:src="defaultIcon"
|
|
561
613
|
class="icon plugin-icon-img"
|
|
562
|
-
|
|
614
|
+
>
|
|
563
615
|
</div>
|
|
564
616
|
<div class="plugin-metadata">
|
|
565
617
|
<div class="plugin-name">
|
|
@@ -567,41 +619,69 @@ export default {
|
|
|
567
619
|
</div>
|
|
568
620
|
<div>{{ plugin.description }}</div>
|
|
569
621
|
<div class="plugin-version">
|
|
570
|
-
<span
|
|
622
|
+
<span
|
|
623
|
+
v-if="plugin.installing"
|
|
624
|
+
class="plugin-installing"
|
|
625
|
+
>
|
|
571
626
|
-
|
|
572
627
|
</span>
|
|
573
628
|
<span v-else>
|
|
574
629
|
<span>{{ plugin.displayVersion }}</span>
|
|
575
|
-
<span
|
|
630
|
+
<span
|
|
631
|
+
v-if="plugin.upgrade"
|
|
632
|
+
v-tooltip="t('plugins.upgradeAvailable')"
|
|
633
|
+
> -> {{ plugin.upgrade }}</span>
|
|
576
634
|
</span>
|
|
577
635
|
</div>
|
|
578
|
-
<div
|
|
636
|
+
<div
|
|
637
|
+
v-if="plugin.builtin"
|
|
638
|
+
class="plugin-badges"
|
|
639
|
+
>
|
|
579
640
|
<div class="plugin-builtin">
|
|
580
641
|
{{ t('plugins.labels.builtin') }}
|
|
581
642
|
</div>
|
|
582
643
|
</div>
|
|
583
|
-
<div
|
|
584
|
-
|
|
644
|
+
<div
|
|
645
|
+
v-else
|
|
646
|
+
class="plugin-badges"
|
|
647
|
+
>
|
|
648
|
+
<div
|
|
649
|
+
v-if="!plugin.certified"
|
|
650
|
+
v-tooltip="t('plugins.descriptions.third-party')"
|
|
651
|
+
>
|
|
585
652
|
{{ t('plugins.labels.third-party') }}
|
|
586
653
|
</div>
|
|
587
|
-
<div
|
|
654
|
+
<div
|
|
655
|
+
v-if="plugin.experimental"
|
|
656
|
+
v-tooltip="t('plugins.descriptions.experimental')"
|
|
657
|
+
>
|
|
588
658
|
{{ t('plugins.labels.experimental') }}
|
|
589
659
|
</div>
|
|
590
660
|
</div>
|
|
591
661
|
<div class="plugin-spacer" />
|
|
592
662
|
<div class="plugin-actions">
|
|
593
663
|
<template v-if="plugin.error">
|
|
594
|
-
<div
|
|
664
|
+
<div
|
|
665
|
+
v-tooltip="plugin.error"
|
|
666
|
+
class="plugin-error"
|
|
667
|
+
>
|
|
595
668
|
<i class="icon icon-warning" />
|
|
596
669
|
</div>
|
|
597
670
|
</template>
|
|
598
|
-
<div
|
|
671
|
+
<div
|
|
672
|
+
v-if="plugin.helmError"
|
|
673
|
+
v-tooltip="t('plugins.helmError')"
|
|
674
|
+
class="plugin-error"
|
|
675
|
+
>
|
|
599
676
|
<i class="icon icon-warning" />
|
|
600
677
|
</div>
|
|
601
678
|
|
|
602
679
|
<div class="plugin-spacer" />
|
|
603
680
|
|
|
604
|
-
<div
|
|
681
|
+
<div
|
|
682
|
+
v-if="plugin.installing"
|
|
683
|
+
class="plugin-installing"
|
|
684
|
+
>
|
|
605
685
|
<i class="version-busy icon icon-spin icon-spinner" />
|
|
606
686
|
<div v-if="plugin.installing ==='install'">
|
|
607
687
|
{{ t('plugins.labels.installing') }}
|
|
@@ -610,19 +690,40 @@ export default {
|
|
|
610
690
|
{{ t('plugins.labels.uninstalling') }}
|
|
611
691
|
</div>
|
|
612
692
|
</div>
|
|
613
|
-
<div
|
|
614
|
-
|
|
693
|
+
<div
|
|
694
|
+
v-else-if="plugin.installed"
|
|
695
|
+
class="plugin-buttons"
|
|
696
|
+
>
|
|
697
|
+
<button
|
|
698
|
+
v-if="!plugin.builtin"
|
|
699
|
+
class="btn role-secondary"
|
|
700
|
+
@click="showUninstallDialog(plugin, $event)"
|
|
701
|
+
>
|
|
615
702
|
{{ t('plugins.uninstall.label') }}
|
|
616
703
|
</button>
|
|
617
|
-
<button
|
|
704
|
+
<button
|
|
705
|
+
v-if="plugin.upgrade"
|
|
706
|
+
class="btn role-secondary"
|
|
707
|
+
@click="showInstallDialog(plugin, 'update', $event)"
|
|
708
|
+
>
|
|
618
709
|
{{ t('plugins.update.label') }}
|
|
619
710
|
</button>
|
|
620
|
-
<button
|
|
711
|
+
<button
|
|
712
|
+
v-if="!plugin.upgrade && plugin.versions.length > 1"
|
|
713
|
+
class="btn role-secondary"
|
|
714
|
+
@click="showInstallDialog(plugin, 'rollback', $event)"
|
|
715
|
+
>
|
|
621
716
|
{{ t('plugins.rollback.label') }}
|
|
622
717
|
</button>
|
|
623
718
|
</div>
|
|
624
|
-
<div
|
|
625
|
-
|
|
719
|
+
<div
|
|
720
|
+
v-else
|
|
721
|
+
class="plugin-buttons"
|
|
722
|
+
>
|
|
723
|
+
<button
|
|
724
|
+
class="btn role-secondary"
|
|
725
|
+
@click="showInstallDialog(plugin, 'install', $event)"
|
|
726
|
+
>
|
|
626
727
|
{{ t('plugins.install.label') }}
|
|
627
728
|
</button>
|
|
628
729
|
</div>
|
|
@@ -633,10 +734,24 @@ export default {
|
|
|
633
734
|
</div>
|
|
634
735
|
</div>
|
|
635
736
|
|
|
636
|
-
<InstallDialog
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
737
|
+
<InstallDialog
|
|
738
|
+
ref="installDialog"
|
|
739
|
+
@closed="didInstall"
|
|
740
|
+
@update="updatePluginInstallStatus"
|
|
741
|
+
/>
|
|
742
|
+
<UninstallDialog
|
|
743
|
+
ref="uninstallDialog"
|
|
744
|
+
@closed="didUninstall"
|
|
745
|
+
@update="updatePluginInstallStatus"
|
|
746
|
+
/>
|
|
747
|
+
<DeveloperInstallDialog
|
|
748
|
+
ref="developerInstallDialog"
|
|
749
|
+
@closed="didInstall"
|
|
750
|
+
/>
|
|
751
|
+
<RemoveUIPlugins
|
|
752
|
+
ref="removeUIPlugins"
|
|
753
|
+
@done="updateInstallStatus"
|
|
754
|
+
/>
|
|
640
755
|
</div>
|
|
641
756
|
</template>
|
|
642
757
|
|
package/pages/diagnostic.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import { CAPI } from '@shell/config/types';
|
|
2
|
+
import { CAPI, MANAGEMENT } from '@shell/config/types';
|
|
3
3
|
import AsyncButton from '@shell/components/AsyncButton';
|
|
4
4
|
import PromptModal from '@shell/components/PromptModal';
|
|
5
5
|
import { downloadFile } from '@shell/utils/download';
|
|
@@ -21,9 +21,12 @@ export default {
|
|
|
21
21
|
let topTenForResponseTime = [];
|
|
22
22
|
|
|
23
23
|
clusterForCounts.forEach((cluster, i) => {
|
|
24
|
+
// Necessary to retrieve the proper display name of the cluster
|
|
25
|
+
const mgmtCluster = this.$store.getters['management/byId'](MANAGEMENT.CLUSTER, cluster.metadata.name);
|
|
26
|
+
|
|
24
27
|
finalCounts.push({
|
|
25
28
|
id: cluster.id,
|
|
26
|
-
name: cluster.metadata?.name,
|
|
29
|
+
name: mgmtCluster?.spec?.displayName || cluster.metadata?.name,
|
|
27
30
|
namespace: cluster.metadata?.namespace,
|
|
28
31
|
capiId: cluster.mgmt?.id,
|
|
29
32
|
counts: null,
|
|
@@ -327,7 +330,10 @@ export default {
|
|
|
327
330
|
</tr>
|
|
328
331
|
</thead>
|
|
329
332
|
<tbody>
|
|
330
|
-
<tr
|
|
333
|
+
<tr
|
|
334
|
+
v-for="(item, objKey) in systemInformation"
|
|
335
|
+
:key="objKey"
|
|
336
|
+
>
|
|
331
337
|
<template v-if="item.value.length">
|
|
332
338
|
<td>{{ item.label }}</td>
|
|
333
339
|
<td>{{ item.value }}</td>
|
|
@@ -361,7 +367,7 @@ export default {
|
|
|
361
367
|
'icon-chevron-down': !cluster.isTableVisible,
|
|
362
368
|
'icon-chevron-up': cluster.isTableVisible
|
|
363
369
|
}"
|
|
364
|
-
|
|
370
|
+
/>
|
|
365
371
|
</div>
|
|
366
372
|
</th>
|
|
367
373
|
</thead>
|
|
@@ -378,7 +384,10 @@ export default {
|
|
|
378
384
|
</th>
|
|
379
385
|
</tr>
|
|
380
386
|
|
|
381
|
-
<tr
|
|
387
|
+
<tr
|
|
388
|
+
v-for="item in cluster.counts"
|
|
389
|
+
:key="item.resource"
|
|
390
|
+
>
|
|
382
391
|
<template v-if="item.count > 0">
|
|
383
392
|
<td scope="row">
|
|
384
393
|
{{ item.resource }}
|
package/pages/docs/_doc.vue
CHANGED
|
@@ -169,12 +169,29 @@ export default {
|
|
|
169
169
|
{{ t('nav.home') }}
|
|
170
170
|
</nuxt-link>
|
|
171
171
|
<span v-if="doc">> {{ doc.attributes.title }}</span>
|
|
172
|
-
<i
|
|
172
|
+
<i
|
|
173
|
+
v-if="showRefresh"
|
|
174
|
+
class="icon icon-refresh doc-refresh"
|
|
175
|
+
@click="refresh"
|
|
176
|
+
/>
|
|
173
177
|
</h1>
|
|
174
|
-
<div
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
+
<div
|
|
179
|
+
v-if="doc"
|
|
180
|
+
id="doc-content"
|
|
181
|
+
class="doc-content"
|
|
182
|
+
:class="{'nuxt-content-side-toc': sideToc}"
|
|
183
|
+
>
|
|
184
|
+
<Markdown
|
|
185
|
+
ref="scrollPanel"
|
|
186
|
+
v-model="doc.body"
|
|
187
|
+
class="doc-content-document"
|
|
188
|
+
:class="{'nuxt-content-side-toc': sideToc}"
|
|
189
|
+
/>
|
|
190
|
+
|
|
191
|
+
<div
|
|
192
|
+
v-if="sideToc"
|
|
193
|
+
class="toc"
|
|
194
|
+
>
|
|
178
195
|
<a
|
|
179
196
|
v-for="bookmark in doc.toc"
|
|
180
197
|
:id="`toc-link-${ bookmark.id }`"
|
package/pages/fail-whale.vue
CHANGED
|
@@ -49,26 +49,42 @@ export default {
|
|
|
49
49
|
|
|
50
50
|
<template>
|
|
51
51
|
<div v-if="error">
|
|
52
|
-
<main class="error">
|
|
52
|
+
<main class="main-layout error">
|
|
53
53
|
<div class="text-center">
|
|
54
|
-
<BrandImage
|
|
54
|
+
<BrandImage
|
|
55
|
+
file-name="error-desert-landscape.svg"
|
|
56
|
+
width="900"
|
|
57
|
+
height="300"
|
|
58
|
+
/>
|
|
55
59
|
<h1 v-if="error.status">
|
|
56
60
|
HTTP Error {{ error.status }}: {{ error.statusText }}
|
|
57
61
|
</h1>
|
|
58
62
|
<h1 v-else>
|
|
59
63
|
Error
|
|
60
64
|
</h1>
|
|
61
|
-
<h2
|
|
65
|
+
<h2
|
|
66
|
+
v-if="error"
|
|
67
|
+
class="text-secondary mt-20"
|
|
68
|
+
>
|
|
62
69
|
{{ displayError }}
|
|
63
70
|
</h2>
|
|
64
71
|
<p class="mt-20">
|
|
65
|
-
<a
|
|
72
|
+
<a
|
|
73
|
+
:href="home"
|
|
74
|
+
class="btn role-primary"
|
|
75
|
+
>
|
|
66
76
|
{{ t('nav.home') }}
|
|
67
77
|
</a>
|
|
68
78
|
</p>
|
|
69
|
-
<hr
|
|
79
|
+
<hr
|
|
80
|
+
class="custom-content"
|
|
81
|
+
:style="styles"
|
|
82
|
+
>
|
|
70
83
|
<p class="mt-20">
|
|
71
|
-
<a
|
|
84
|
+
<a
|
|
85
|
+
class="btn role-secondary"
|
|
86
|
+
@click="$router.push(previousRoute.fullPath)"
|
|
87
|
+
>
|
|
72
88
|
{{ t('nav.failWhale.reload') }}
|
|
73
89
|
</a>
|
|
74
90
|
</p>
|
|
@@ -79,6 +95,10 @@ export default {
|
|
|
79
95
|
|
|
80
96
|
<style lang="scss" scoped>
|
|
81
97
|
.error {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
flex: 1;
|
|
101
|
+
justify-content: center;
|
|
82
102
|
overflow: hidden;
|
|
83
103
|
|
|
84
104
|
.row {
|