@rancher/shell 0.2.3 → 0.2.5
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
|
@@ -551,44 +551,117 @@ export default {
|
|
|
551
551
|
</script>
|
|
552
552
|
|
|
553
553
|
<template>
|
|
554
|
-
<div
|
|
555
|
-
|
|
554
|
+
<div
|
|
555
|
+
class="ns-filter"
|
|
556
|
+
tabindex="0"
|
|
557
|
+
@focus="open()"
|
|
558
|
+
>
|
|
559
|
+
<div
|
|
560
|
+
v-if="isOpen"
|
|
561
|
+
class="ns-glass"
|
|
562
|
+
@click="close()"
|
|
563
|
+
/>
|
|
556
564
|
<!-- Dropdown control -->
|
|
557
|
-
<div
|
|
558
|
-
|
|
565
|
+
<div
|
|
566
|
+
ref="dropdown"
|
|
567
|
+
class="ns-dropdown"
|
|
568
|
+
:class="{ 'ns-open': isOpen }"
|
|
569
|
+
@click="toggle()"
|
|
570
|
+
>
|
|
571
|
+
<div
|
|
572
|
+
v-if="value.length === 0"
|
|
573
|
+
ref="values"
|
|
574
|
+
class="ns-values"
|
|
575
|
+
>
|
|
559
576
|
{{ t('nav.ns.all') }}
|
|
560
577
|
</div>
|
|
561
|
-
<div
|
|
578
|
+
<div
|
|
579
|
+
v-else-if="isSingleSpecial"
|
|
580
|
+
ref="values"
|
|
581
|
+
class="ns-values"
|
|
582
|
+
>
|
|
562
583
|
{{ value[0].label }}
|
|
563
584
|
</div>
|
|
564
|
-
<div
|
|
565
|
-
|
|
585
|
+
<div
|
|
586
|
+
v-else
|
|
587
|
+
ref="values"
|
|
588
|
+
v-tooltip="tooltip"
|
|
589
|
+
class="ns-values"
|
|
590
|
+
>
|
|
591
|
+
<div
|
|
592
|
+
v-if="total"
|
|
593
|
+
ref="total"
|
|
594
|
+
class="ns-value ns-abs"
|
|
595
|
+
>
|
|
566
596
|
{{ t('namespaceFilter.selected.label', { total }) }}
|
|
567
597
|
</div>
|
|
568
|
-
<div
|
|
598
|
+
<div
|
|
599
|
+
v-for="ns in value"
|
|
600
|
+
ref="value"
|
|
601
|
+
:key="ns.id"
|
|
602
|
+
class="ns-value"
|
|
603
|
+
>
|
|
569
604
|
<div>{{ ns.label }}</div>
|
|
570
|
-
<i
|
|
605
|
+
<i
|
|
606
|
+
class="icon icon-close"
|
|
607
|
+
@click="removeOption(ns, $event)"
|
|
608
|
+
/>
|
|
571
609
|
</div>
|
|
572
610
|
</div>
|
|
573
|
-
<div
|
|
611
|
+
<div
|
|
612
|
+
v-if="hidden > 0"
|
|
613
|
+
ref="more"
|
|
614
|
+
v-tooltip="tooltip"
|
|
615
|
+
class="ns-more"
|
|
616
|
+
>
|
|
574
617
|
{{ t('namespaceFilter.more', { more: hidden }) }}
|
|
575
618
|
</div>
|
|
576
|
-
<i
|
|
577
|
-
|
|
619
|
+
<i
|
|
620
|
+
v-if="!isOpen"
|
|
621
|
+
class="icon icon-chevron-down"
|
|
622
|
+
/>
|
|
623
|
+
<i
|
|
624
|
+
v-else
|
|
625
|
+
class="icon icon-chevron-up"
|
|
626
|
+
/>
|
|
578
627
|
</div>
|
|
579
|
-
<button
|
|
580
|
-
|
|
628
|
+
<button
|
|
629
|
+
v-shortkey.once="['n']"
|
|
630
|
+
class="hide"
|
|
631
|
+
@shortkey="open()"
|
|
632
|
+
/>
|
|
633
|
+
<div
|
|
634
|
+
v-if="isOpen"
|
|
635
|
+
class="ns-dropdown-menu"
|
|
636
|
+
>
|
|
581
637
|
<div class="ns-controls">
|
|
582
638
|
<div class="ns-input">
|
|
583
|
-
<input
|
|
584
|
-
|
|
639
|
+
<input
|
|
640
|
+
ref="filter"
|
|
641
|
+
v-model="filter"
|
|
642
|
+
tabindex="0"
|
|
643
|
+
class="ns-filter-input"
|
|
644
|
+
@keydown="inputKeyHandler($event)"
|
|
645
|
+
>
|
|
646
|
+
<i
|
|
647
|
+
v-if="hasFilter"
|
|
648
|
+
class="ns-filter-clear icon icon-close"
|
|
649
|
+
@click="filter = ''"
|
|
650
|
+
/>
|
|
585
651
|
</div>
|
|
586
652
|
<div class="ns-clear">
|
|
587
|
-
<i
|
|
653
|
+
<i
|
|
654
|
+
class="icon icon-close"
|
|
655
|
+
@click="clear()"
|
|
656
|
+
/>
|
|
588
657
|
</div>
|
|
589
658
|
</div>
|
|
590
|
-
<div class="ns-divider mt-0"
|
|
591
|
-
<div
|
|
659
|
+
<div class="ns-divider mt-0" />
|
|
660
|
+
<div
|
|
661
|
+
ref="options"
|
|
662
|
+
class="ns-options"
|
|
663
|
+
role="list"
|
|
664
|
+
>
|
|
592
665
|
<div
|
|
593
666
|
v-for="opt in filtered"
|
|
594
667
|
:id="opt.elementId"
|
|
@@ -600,14 +673,29 @@ export default {
|
|
|
600
673
|
@mouseover="mouseOver($event)"
|
|
601
674
|
@keydown="itemKeyHandler($event, opt)"
|
|
602
675
|
>
|
|
603
|
-
<div
|
|
604
|
-
|
|
605
|
-
|
|
676
|
+
<div
|
|
677
|
+
v-if="opt.kind === 'divider'"
|
|
678
|
+
class="ns-divider"
|
|
679
|
+
/>
|
|
680
|
+
<div
|
|
681
|
+
v-else
|
|
682
|
+
class="ns-item"
|
|
683
|
+
>
|
|
684
|
+
<i
|
|
685
|
+
v-if="opt.kind === 'namespace'"
|
|
686
|
+
class="icon icon-folder"
|
|
687
|
+
/>
|
|
606
688
|
<div>{{ opt.label }}</div>
|
|
607
|
-
<i
|
|
689
|
+
<i
|
|
690
|
+
v-if="opt.selected"
|
|
691
|
+
class="icon icon-checkmark"
|
|
692
|
+
/>
|
|
608
693
|
</div>
|
|
609
694
|
</div>
|
|
610
|
-
<div
|
|
695
|
+
<div
|
|
696
|
+
v-if="filtered.length === 0"
|
|
697
|
+
class="ns-none"
|
|
698
|
+
>
|
|
611
699
|
{{ t('namespaceFilter.noMatchingOptions') }}
|
|
612
700
|
</div>
|
|
613
701
|
</div>
|
|
@@ -191,7 +191,8 @@ export default {
|
|
|
191
191
|
const $el = $(el);
|
|
192
192
|
const h = 33 * max;
|
|
193
193
|
|
|
194
|
-
$el.css('height', `${ h }px`);
|
|
194
|
+
$el.css('min-height', `${ h }px`);
|
|
195
|
+
$el.css('max-height', `${ h }px`);
|
|
195
196
|
}
|
|
196
197
|
},
|
|
197
198
|
handler(e) {
|
|
@@ -221,9 +222,22 @@ export default {
|
|
|
221
222
|
:class="{'raised': shown, 'unraised':!shown}"
|
|
222
223
|
@click="toggle()"
|
|
223
224
|
>
|
|
224
|
-
<svg
|
|
225
|
+
<svg
|
|
226
|
+
class="menu-icon"
|
|
227
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
228
|
+
height="24"
|
|
229
|
+
viewBox="0 0 24 24"
|
|
230
|
+
width="24"
|
|
231
|
+
><path
|
|
232
|
+
d="M0 0h24v24H0z"
|
|
233
|
+
fill="none"
|
|
234
|
+
/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" /></svg>
|
|
225
235
|
</div>
|
|
226
|
-
<div
|
|
236
|
+
<div
|
|
237
|
+
v-if="shown"
|
|
238
|
+
class="side-menu-glass"
|
|
239
|
+
@click="hide()"
|
|
240
|
+
/>
|
|
227
241
|
<transition name="fade">
|
|
228
242
|
<div
|
|
229
243
|
v-if="shown"
|
|
@@ -232,7 +246,7 @@ export default {
|
|
|
232
246
|
tabindex="-1"
|
|
233
247
|
>
|
|
234
248
|
<div class="title">
|
|
235
|
-
<div class="menu-spacer"
|
|
249
|
+
<div class="menu-spacer" />
|
|
236
250
|
<div class="side-menu-logo">
|
|
237
251
|
<BrandImage file-name="rancher-logo.svg" />
|
|
238
252
|
</div>
|
|
@@ -243,7 +257,15 @@ export default {
|
|
|
243
257
|
class="option cluster selector home"
|
|
244
258
|
:to="{ name: 'home' }"
|
|
245
259
|
>
|
|
246
|
-
<svg
|
|
260
|
+
<svg
|
|
261
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
262
|
+
height="24"
|
|
263
|
+
viewBox="0 0 24 24"
|
|
264
|
+
width="24"
|
|
265
|
+
><path
|
|
266
|
+
d="M0 0h24v24H0z"
|
|
267
|
+
fill="none"
|
|
268
|
+
/><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" /></svg>
|
|
247
269
|
<div>
|
|
248
270
|
{{ t('nav.home') }}
|
|
249
271
|
</div>
|
|
@@ -253,32 +275,60 @@ export default {
|
|
|
253
275
|
<div class="category">
|
|
254
276
|
{{ t('nav.categories.explore') }}
|
|
255
277
|
</div>
|
|
256
|
-
<div
|
|
278
|
+
<div
|
|
279
|
+
v-if="showClusterSearch"
|
|
280
|
+
class="search"
|
|
281
|
+
>
|
|
257
282
|
<input
|
|
258
283
|
ref="clusterFilter"
|
|
259
284
|
v-model="clusterFilter"
|
|
260
285
|
:placeholder="t('nav.search.placeholder')"
|
|
286
|
+
>
|
|
287
|
+
<i
|
|
288
|
+
v-if="clusterFilter"
|
|
289
|
+
class="icon icon-close"
|
|
290
|
+
@click="clusterFilter=''"
|
|
261
291
|
/>
|
|
262
|
-
<i v-if="clusterFilter" class="icon icon-close" @click="clusterFilter=''" />
|
|
263
292
|
</div>
|
|
264
|
-
<div
|
|
265
|
-
|
|
293
|
+
<div
|
|
294
|
+
ref="clusterList"
|
|
295
|
+
class="clusters"
|
|
296
|
+
>
|
|
297
|
+
<div
|
|
298
|
+
v-for="c in clustersFiltered"
|
|
299
|
+
:key="c.id"
|
|
300
|
+
@click="hide()"
|
|
301
|
+
>
|
|
266
302
|
<nuxt-link
|
|
267
303
|
v-if="c.ready"
|
|
268
304
|
class="cluster selector option"
|
|
269
305
|
:to="{ name: 'c-cluster', params: { cluster: c.id } }"
|
|
270
306
|
>
|
|
271
|
-
<ClusterProviderIcon
|
|
307
|
+
<ClusterProviderIcon
|
|
308
|
+
:small="true"
|
|
309
|
+
:cluster="c"
|
|
310
|
+
class="rancher-provider-icon mr-10"
|
|
311
|
+
/>
|
|
272
312
|
<div class="cluster-name">
|
|
273
313
|
{{ c.label }}
|
|
274
314
|
</div>
|
|
275
315
|
</nuxt-link>
|
|
276
|
-
<span
|
|
277
|
-
|
|
316
|
+
<span
|
|
317
|
+
v-else
|
|
318
|
+
class="option-disabled cluster selector disabled"
|
|
319
|
+
>
|
|
320
|
+
<ClusterProviderIcon
|
|
321
|
+
:small="true"
|
|
322
|
+
:cluster="c"
|
|
323
|
+
class="rancher-provider-icon mr-10"
|
|
324
|
+
/>
|
|
278
325
|
<div class="cluster-name">{{ c.label }}</div>
|
|
279
326
|
</span>
|
|
280
327
|
</div>
|
|
281
|
-
<div
|
|
328
|
+
<div
|
|
329
|
+
v-if="clustersFiltered.length === 0"
|
|
330
|
+
class="none-matching"
|
|
331
|
+
>
|
|
282
332
|
{{ t('nav.search.noResults') }}
|
|
283
333
|
</div>
|
|
284
334
|
</div>
|
|
@@ -288,9 +338,19 @@ export default {
|
|
|
288
338
|
<div class="category">
|
|
289
339
|
{{ t('nav.categories.multiCluster') }}
|
|
290
340
|
</div>
|
|
291
|
-
<div
|
|
292
|
-
|
|
293
|
-
|
|
341
|
+
<div
|
|
342
|
+
v-for="a in multiClusterApps"
|
|
343
|
+
:key="a.label"
|
|
344
|
+
@click="hide()"
|
|
345
|
+
>
|
|
346
|
+
<nuxt-link
|
|
347
|
+
class="option"
|
|
348
|
+
:to="a.to"
|
|
349
|
+
>
|
|
350
|
+
<i
|
|
351
|
+
class="icon group-icon"
|
|
352
|
+
:class="a.icon"
|
|
353
|
+
/>
|
|
294
354
|
<div>{{ a.label }}</div>
|
|
295
355
|
</nuxt-link>
|
|
296
356
|
</div>
|
|
@@ -299,9 +359,19 @@ export default {
|
|
|
299
359
|
<div class="category">
|
|
300
360
|
{{ t('nav.categories.legacy') }}
|
|
301
361
|
</div>
|
|
302
|
-
<div
|
|
303
|
-
|
|
304
|
-
|
|
362
|
+
<div
|
|
363
|
+
v-for="a in legacyApps"
|
|
364
|
+
:key="a.label"
|
|
365
|
+
@click="hide()"
|
|
366
|
+
>
|
|
367
|
+
<nuxt-link
|
|
368
|
+
class="option"
|
|
369
|
+
:to="a.to"
|
|
370
|
+
>
|
|
371
|
+
<i
|
|
372
|
+
class="icon group-icon"
|
|
373
|
+
:class="a.icon"
|
|
374
|
+
/>
|
|
305
375
|
<div>{{ a.label }}</div>
|
|
306
376
|
</nuxt-link>
|
|
307
377
|
</div>
|
|
@@ -310,17 +380,30 @@ export default {
|
|
|
310
380
|
<div class="category">
|
|
311
381
|
{{ t('nav.categories.configuration') }}
|
|
312
382
|
</div>
|
|
313
|
-
<div
|
|
314
|
-
|
|
315
|
-
|
|
383
|
+
<div
|
|
384
|
+
v-for="a in configurationApps"
|
|
385
|
+
:key="a.label"
|
|
386
|
+
@click="hide()"
|
|
387
|
+
>
|
|
388
|
+
<nuxt-link
|
|
389
|
+
class="option"
|
|
390
|
+
:to="a.to"
|
|
391
|
+
>
|
|
392
|
+
<i
|
|
393
|
+
class="icon group-icon"
|
|
394
|
+
:class="a.icon"
|
|
395
|
+
/>
|
|
316
396
|
<div>{{ a.label }}</div>
|
|
317
397
|
</nuxt-link>
|
|
318
398
|
</div>
|
|
319
399
|
</template>
|
|
320
|
-
<div class="pad"
|
|
400
|
+
<div class="pad" />
|
|
321
401
|
</div>
|
|
322
402
|
<div class="footer">
|
|
323
|
-
<div
|
|
403
|
+
<div
|
|
404
|
+
v-if="canEditSettings"
|
|
405
|
+
@click="hide()"
|
|
406
|
+
>
|
|
324
407
|
<nuxt-link :to="{name: 'support'}">
|
|
325
408
|
{{ t('nav.support', {hasSupport}) }}
|
|
326
409
|
</nuxt-link>
|
|
@@ -516,6 +599,7 @@ export default {
|
|
|
516
599
|
display: flex;
|
|
517
600
|
flex-direction: column;
|
|
518
601
|
margin: 10px 20px;
|
|
602
|
+
overflow-y: auto;
|
|
519
603
|
|
|
520
604
|
.category {
|
|
521
605
|
padding: 10px 0;
|
package/components/nav/Type.vue
CHANGED
|
@@ -84,10 +84,24 @@ export default {
|
|
|
84
84
|
@mouseenter="setNear(true)"
|
|
85
85
|
@mouseleave="setNear(false)"
|
|
86
86
|
>
|
|
87
|
-
<span
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
<span
|
|
88
|
+
v-if="type.labelKey"
|
|
89
|
+
class="label"
|
|
90
|
+
><t :k="type.labelKey" /></span>
|
|
91
|
+
<span
|
|
92
|
+
v-else
|
|
93
|
+
class="label"
|
|
94
|
+
:class="{'no-icon': !type.icon}"
|
|
95
|
+
v-html="type.labelDisplay || type.label"
|
|
96
|
+
/>
|
|
97
|
+
<span
|
|
98
|
+
v-if="showFavorite || showCount"
|
|
99
|
+
class="count"
|
|
100
|
+
>
|
|
101
|
+
<Favorite
|
|
102
|
+
v-if="showFavorite"
|
|
103
|
+
:resource="type.name"
|
|
104
|
+
/>
|
|
91
105
|
{{ type.count }}
|
|
92
106
|
</span>
|
|
93
107
|
</a>
|
|
@@ -30,7 +30,10 @@ export default {
|
|
|
30
30
|
<template>
|
|
31
31
|
<Window :active="active">
|
|
32
32
|
<template #body>
|
|
33
|
-
<ChartReadme
|
|
33
|
+
<ChartReadme
|
|
34
|
+
:version-info="versionInfo"
|
|
35
|
+
class="chart-container"
|
|
36
|
+
/>
|
|
34
37
|
</template>
|
|
35
38
|
</Window>
|
|
36
39
|
</template>
|
|
@@ -467,7 +467,10 @@ export default {
|
|
|
467
467
|
</script>
|
|
468
468
|
|
|
469
469
|
<template>
|
|
470
|
-
<Window
|
|
470
|
+
<Window
|
|
471
|
+
:active="active"
|
|
472
|
+
:before-close="cleanup"
|
|
473
|
+
>
|
|
471
474
|
<template #title>
|
|
472
475
|
<div class="wm-button-bar">
|
|
473
476
|
<Select
|
|
@@ -480,25 +483,51 @@ export default {
|
|
|
480
483
|
placement="top"
|
|
481
484
|
>
|
|
482
485
|
<template #selected-option="option">
|
|
483
|
-
<t
|
|
486
|
+
<t
|
|
487
|
+
v-if="option"
|
|
488
|
+
k="wm.containerLogs.containerName"
|
|
489
|
+
:label="option.label"
|
|
490
|
+
/>
|
|
484
491
|
</template>
|
|
485
492
|
</Select>
|
|
486
493
|
<div class="log-action ml-5">
|
|
487
|
-
<button
|
|
488
|
-
|
|
494
|
+
<button
|
|
495
|
+
class="btn bg-primary wm-btn"
|
|
496
|
+
:disabled="isFollowing"
|
|
497
|
+
@click="follow"
|
|
498
|
+
>
|
|
499
|
+
<t
|
|
500
|
+
class="wm-btn-large"
|
|
501
|
+
k="wm.containerLogs.follow"
|
|
502
|
+
/>
|
|
489
503
|
<i class="wm-btn-small icon icon-chevron-end" />
|
|
490
504
|
</button>
|
|
491
|
-
<button
|
|
492
|
-
|
|
505
|
+
<button
|
|
506
|
+
class="btn bg-primary wm-btn"
|
|
507
|
+
@click="clear"
|
|
508
|
+
>
|
|
509
|
+
<t
|
|
510
|
+
class="wm-btn-large"
|
|
511
|
+
k="wm.containerLogs.clear"
|
|
512
|
+
/>
|
|
493
513
|
<i class="wm-btn-small icon icon-close" />
|
|
494
514
|
</button>
|
|
495
|
-
<AsyncButton
|
|
515
|
+
<AsyncButton
|
|
516
|
+
mode="download"
|
|
517
|
+
@click="download"
|
|
518
|
+
/>
|
|
496
519
|
</div>
|
|
497
520
|
|
|
498
|
-
<div class="wm-seperator"
|
|
521
|
+
<div class="wm-seperator" />
|
|
499
522
|
|
|
500
523
|
<div class="log-action log-previous ml-5">
|
|
501
|
-
<div
|
|
524
|
+
<div>
|
|
525
|
+
<Checkbox
|
|
526
|
+
:label="t('wm.containerLogs.previous')"
|
|
527
|
+
:value="previous"
|
|
528
|
+
@input="togglePrevious"
|
|
529
|
+
/>
|
|
530
|
+
</div>
|
|
502
531
|
</div>
|
|
503
532
|
|
|
504
533
|
<div class="log-action ml-5">
|
|
@@ -522,19 +551,39 @@ export default {
|
|
|
522
551
|
placement="top"
|
|
523
552
|
@input="toggleRange($event)"
|
|
524
553
|
/>
|
|
525
|
-
<div
|
|
526
|
-
|
|
554
|
+
<div>
|
|
555
|
+
<Checkbox
|
|
556
|
+
:label="t('wm.containerLogs.wrap')"
|
|
557
|
+
:value="wrap"
|
|
558
|
+
@input="toggleWrap "
|
|
559
|
+
/>
|
|
560
|
+
</div>
|
|
561
|
+
<div>
|
|
562
|
+
<Checkbox
|
|
563
|
+
:label="t('wm.containerLogs.timestamps')"
|
|
564
|
+
:value="timestamps"
|
|
565
|
+
@input="toggleTimestamps"
|
|
566
|
+
/>
|
|
567
|
+
</div>
|
|
527
568
|
</div>
|
|
528
569
|
</template>
|
|
529
570
|
</v-popover>
|
|
530
571
|
</div>
|
|
531
572
|
|
|
532
573
|
<div class="log-action ml-5">
|
|
533
|
-
<input
|
|
574
|
+
<input
|
|
575
|
+
v-model="search"
|
|
576
|
+
class="input-sm"
|
|
577
|
+
type="search"
|
|
578
|
+
:placeholder="t('wm.containerLogs.search')"
|
|
579
|
+
>
|
|
534
580
|
</div>
|
|
535
581
|
|
|
536
582
|
<div class="status log-action p-10">
|
|
537
|
-
<t
|
|
583
|
+
<t
|
|
584
|
+
:class="{'text-success': isOpen, 'text-error': !isOpen}"
|
|
585
|
+
:k="isOpen ? 'wm.connection.connected' : 'wm.connection.disconnected'"
|
|
586
|
+
/>
|
|
538
587
|
</div>
|
|
539
588
|
</div>
|
|
540
589
|
</template>
|
|
@@ -543,18 +592,42 @@ export default {
|
|
|
543
592
|
ref="body"
|
|
544
593
|
:class="{'logs-container': true, 'open': isOpen, 'closed': !isOpen, 'show-times': timestamps && filtered.length, 'wrap-lines': wrap}"
|
|
545
594
|
>
|
|
546
|
-
<table
|
|
595
|
+
<table
|
|
596
|
+
class="fixed"
|
|
597
|
+
cellpadding="0"
|
|
598
|
+
cellspacing="0"
|
|
599
|
+
>
|
|
547
600
|
<tbody class="logs-body">
|
|
548
601
|
<template v-if="filtered.length">
|
|
549
|
-
<tr
|
|
550
|
-
|
|
551
|
-
|
|
602
|
+
<tr
|
|
603
|
+
v-for="line in filtered"
|
|
604
|
+
:key="line.id"
|
|
605
|
+
>
|
|
606
|
+
<td
|
|
607
|
+
:key="line.id + '-time'"
|
|
608
|
+
class="time"
|
|
609
|
+
v-html="format(line.time)"
|
|
610
|
+
/>
|
|
611
|
+
<td
|
|
612
|
+
:key="line.id + '-msg'"
|
|
613
|
+
class="msg"
|
|
614
|
+
v-html="line.msg"
|
|
615
|
+
/>
|
|
552
616
|
</tr>
|
|
553
617
|
</template>
|
|
554
618
|
<tr v-else-if="search">
|
|
555
|
-
<td
|
|
619
|
+
<td
|
|
620
|
+
v-t="'wm.containerLogs.noMatch'"
|
|
621
|
+
colspan="2"
|
|
622
|
+
class="msg text-muted"
|
|
623
|
+
/>
|
|
556
624
|
</tr>
|
|
557
|
-
<tr
|
|
625
|
+
<tr
|
|
626
|
+
v-else
|
|
627
|
+
v-t="'wm.containerLogs.noData'"
|
|
628
|
+
colspan="2"
|
|
629
|
+
class="msg text-muted"
|
|
630
|
+
/>
|
|
558
631
|
</tbody>
|
|
559
632
|
</table>
|
|
560
633
|
</div>
|
|
@@ -327,7 +327,10 @@ export default {
|
|
|
327
327
|
</script>
|
|
328
328
|
|
|
329
329
|
<template>
|
|
330
|
-
<Window
|
|
330
|
+
<Window
|
|
331
|
+
:active="active"
|
|
332
|
+
:before-close="cleanup"
|
|
333
|
+
>
|
|
331
334
|
<template #title>
|
|
332
335
|
<Select
|
|
333
336
|
v-if="containerChoices.length > 0"
|
|
@@ -347,24 +350,41 @@ export default {
|
|
|
347
350
|
</template>
|
|
348
351
|
</Select>
|
|
349
352
|
<div class="pull-left ml-5">
|
|
350
|
-
<button
|
|
353
|
+
<button
|
|
354
|
+
class="btn btn-sm bg-primary"
|
|
355
|
+
@click="clear"
|
|
356
|
+
>
|
|
351
357
|
<t k="wm.containerShell.clear" />
|
|
352
358
|
</button>
|
|
353
359
|
</div>
|
|
354
360
|
<div class="status pull-left">
|
|
355
|
-
<t
|
|
361
|
+
<t
|
|
362
|
+
v-if="isOpen"
|
|
363
|
+
k="wm.connection.connected"
|
|
364
|
+
class="text-success"
|
|
365
|
+
/>
|
|
356
366
|
<t
|
|
357
367
|
v-else-if="isOpening"
|
|
358
368
|
k="wm.connection.connecting"
|
|
359
369
|
class="text-warning"
|
|
360
370
|
:raw="true"
|
|
361
371
|
/>
|
|
362
|
-
<t
|
|
372
|
+
<t
|
|
373
|
+
v-else
|
|
374
|
+
k="wm.connection.disconnected"
|
|
375
|
+
class="text-error"
|
|
376
|
+
/>
|
|
363
377
|
</div>
|
|
364
378
|
</template>
|
|
365
379
|
<template #body>
|
|
366
|
-
<div
|
|
367
|
-
|
|
380
|
+
<div
|
|
381
|
+
class="shell-container"
|
|
382
|
+
:class="{ open: isOpen, closed: !isOpen }"
|
|
383
|
+
>
|
|
384
|
+
<div
|
|
385
|
+
ref="xterm"
|
|
386
|
+
class="shell-body"
|
|
387
|
+
/>
|
|
368
388
|
<resize-observer @notify="fit" />
|
|
369
389
|
</div>
|
|
370
390
|
</template>
|
|
@@ -54,8 +54,14 @@ export default {
|
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
<template>
|
|
57
|
-
<div
|
|
58
|
-
|
|
57
|
+
<div
|
|
58
|
+
class="window"
|
|
59
|
+
:class="{'show-grid': $slots.title && $slots.body}"
|
|
60
|
+
>
|
|
61
|
+
<div
|
|
62
|
+
v-if="$slots.title"
|
|
63
|
+
class="title clearfix"
|
|
64
|
+
>
|
|
59
65
|
<slot name="title" />
|
|
60
66
|
</div>
|
|
61
67
|
<div class="body clearfix">
|