@rancher/shell 0.2.2 → 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/BadgeState/BadgeState.spec.ts +12 -0
- package/rancher-components/BadgeState/BadgeState.vue +107 -0
- package/rancher-components/BadgeState/index.ts +1 -0
- package/rancher-components/Banner/Banner.test.ts +13 -0
- package/rancher-components/Banner/Banner.vue +163 -0
- package/rancher-components/Banner/index.ts +1 -0
- package/rancher-components/Card/Card.vue +150 -0
- package/rancher-components/Card/index.ts +1 -0
- package/rancher-components/Form/Checkbox/Checkbox.test.ts +77 -0
- package/rancher-components/Form/Checkbox/Checkbox.vue +395 -0
- package/rancher-components/Form/Checkbox/index.ts +1 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.test.ts +29 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +343 -0
- package/rancher-components/Form/LabeledInput/index.ts +1 -0
- package/rancher-components/Form/Radio/RadioButton.vue +270 -0
- package/rancher-components/Form/Radio/RadioGroup.vue +235 -0
- package/rancher-components/Form/Radio/index.ts +2 -0
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +169 -0
- package/rancher-components/Form/TextArea/index.ts +1 -0
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.test.ts +107 -0
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +137 -0
- package/rancher-components/Form/ToggleSwitch/index.ts +1 -0
- package/rancher-components/Form/index.ts +5 -0
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +137 -0
- package/rancher-components/LabeledTooltip/index.ts +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 +6 -39
- package/scripts/test-plugins-build.sh +5 -9
- package/store/prefs.js +1 -1
- package/types/form.ts +1 -0
- package/types/generic.ts +2 -0
- package/types/t.ts +1 -0
- package/types/userPreferences.d.ts +14 -0
- package/utils/array.ts +21 -0
- package/utils/favicon.js +2 -0
- package/utils/settings.ts +50 -0
- package/utils/validators/formRules/__tests__/index.test.ts +22 -1
- package/utils/validators/formRules/index.ts +68 -43
- package/creators/update/init +0 -54
- package/creators/update/package.json +0 -20
- package/creators/update/upgrade +0 -56
- package/scripts/record-deps.js +0 -37
- package/scripts/typegen.sh +0 -84
- package/types/shell/index.d.ts +0 -3046
- package/types/vue-shim.d +0 -20
package/pages/auth/login.vue
CHANGED
|
@@ -284,7 +284,7 @@ export default {
|
|
|
284
284
|
</script>
|
|
285
285
|
|
|
286
286
|
<template>
|
|
287
|
-
<main class="login">
|
|
287
|
+
<main class="main-layout login">
|
|
288
288
|
<div class="row gutless mb-20">
|
|
289
289
|
<div class="col span-6 p-20">
|
|
290
290
|
<p class="text-center">
|
|
@@ -294,11 +294,21 @@ export default {
|
|
|
294
294
|
{{ t('login.welcome', {vendor}) }}
|
|
295
295
|
</h1>
|
|
296
296
|
<div class="login-messages">
|
|
297
|
-
<Banner
|
|
298
|
-
|
|
297
|
+
<Banner
|
|
298
|
+
v-if="errorToDisplay"
|
|
299
|
+
:label="errorToDisplay"
|
|
300
|
+
color="error"
|
|
301
|
+
/>
|
|
302
|
+
<h4
|
|
303
|
+
v-else-if="loggedOut"
|
|
304
|
+
class="text-success text-center"
|
|
305
|
+
>
|
|
299
306
|
{{ t('login.loggedOut') }}
|
|
300
307
|
</h4>
|
|
301
|
-
<h4
|
|
308
|
+
<h4
|
|
309
|
+
v-else-if="timedOut"
|
|
310
|
+
class="text-error text-center"
|
|
311
|
+
>
|
|
302
312
|
{{ t('login.loginAgain') }}
|
|
303
313
|
</h4>
|
|
304
314
|
</div>
|
|
@@ -308,12 +318,23 @@ export default {
|
|
|
308
318
|
data-testid="first-login-message"
|
|
309
319
|
>
|
|
310
320
|
<InfoBox color="info">
|
|
311
|
-
<t
|
|
312
|
-
|
|
313
|
-
|
|
321
|
+
<t
|
|
322
|
+
k="setup.defaultPassword.intro"
|
|
323
|
+
:raw="true"
|
|
324
|
+
/>
|
|
325
|
+
|
|
326
|
+
<div>
|
|
327
|
+
<t
|
|
328
|
+
k="setup.defaultPassword.dockerPrefix"
|
|
329
|
+
:raw="true"
|
|
330
|
+
/>
|
|
331
|
+
</div>
|
|
314
332
|
<ul>
|
|
315
333
|
<li>
|
|
316
|
-
<t
|
|
334
|
+
<t
|
|
335
|
+
k="setup.defaultPassword.dockerPs"
|
|
336
|
+
:raw="true"
|
|
337
|
+
/>
|
|
317
338
|
</li>
|
|
318
339
|
<li>
|
|
319
340
|
<CopyCode>
|
|
@@ -321,20 +342,38 @@ export default {
|
|
|
321
342
|
</CopyCode>
|
|
322
343
|
</li>
|
|
323
344
|
</ul>
|
|
324
|
-
<div
|
|
345
|
+
<div>
|
|
346
|
+
<t
|
|
347
|
+
k="setup.defaultPassword.dockerSuffix"
|
|
348
|
+
:raw="true"
|
|
349
|
+
/>
|
|
350
|
+
</div>
|
|
325
351
|
|
|
326
|
-
<br
|
|
327
|
-
<div
|
|
328
|
-
|
|
352
|
+
<br>
|
|
353
|
+
<div>
|
|
354
|
+
<t
|
|
355
|
+
k="setup.defaultPassword.helmPrefix"
|
|
356
|
+
:raw="true"
|
|
357
|
+
/>
|
|
358
|
+
</div>
|
|
359
|
+
<br>
|
|
329
360
|
<CopyCode>
|
|
330
361
|
{{ kubectlCmd }}
|
|
331
362
|
</CopyCode>
|
|
332
|
-
<br
|
|
333
|
-
<div
|
|
363
|
+
<br>
|
|
364
|
+
<div>
|
|
365
|
+
<t
|
|
366
|
+
k="setup.defaultPassword.helmSuffix"
|
|
367
|
+
:raw="true"
|
|
368
|
+
/>
|
|
369
|
+
</div>
|
|
334
370
|
</InfoBox>
|
|
335
371
|
</div>
|
|
336
372
|
|
|
337
|
-
<div
|
|
373
|
+
<div
|
|
374
|
+
v-if="(!hasLocal || (hasLocal && !showLocal)) && providers.length"
|
|
375
|
+
class="mt-30"
|
|
376
|
+
>
|
|
338
377
|
<component
|
|
339
378
|
:is="providerComponents[idx]"
|
|
340
379
|
v-for="(name, idx) in providers"
|
|
@@ -347,7 +386,10 @@ export default {
|
|
|
347
386
|
/>
|
|
348
387
|
</div>
|
|
349
388
|
<template v-if="hasLocal">
|
|
350
|
-
<form
|
|
389
|
+
<form
|
|
390
|
+
v-if="showLocal"
|
|
391
|
+
class="mt-40"
|
|
392
|
+
>
|
|
351
393
|
<div class="span-6 offset-3">
|
|
352
394
|
<div class="mb-20">
|
|
353
395
|
<LabeledInput
|
|
@@ -383,13 +425,23 @@ export default {
|
|
|
383
425
|
:error-label="t('asyncButton.default.error')"
|
|
384
426
|
@click="loginLocal"
|
|
385
427
|
/>
|
|
386
|
-
<div
|
|
387
|
-
|
|
428
|
+
<div
|
|
429
|
+
v-if="!firstLogin"
|
|
430
|
+
class="mt-20"
|
|
431
|
+
>
|
|
432
|
+
<Checkbox
|
|
433
|
+
v-model="remember"
|
|
434
|
+
:label="t('login.remember.label')"
|
|
435
|
+
type="checkbox"
|
|
436
|
+
/>
|
|
388
437
|
</div>
|
|
389
438
|
</div>
|
|
390
439
|
</div>
|
|
391
440
|
</form>
|
|
392
|
-
<div
|
|
441
|
+
<div
|
|
442
|
+
v-if="hasLocal && !showLocal"
|
|
443
|
+
class="mt-20 text-center"
|
|
444
|
+
>
|
|
393
445
|
<a
|
|
394
446
|
id="login-useLocal"
|
|
395
447
|
data-testid="login-useLocal"
|
|
@@ -399,8 +451,14 @@ export default {
|
|
|
399
451
|
{{ t('login.useLocal') }}
|
|
400
452
|
</a>
|
|
401
453
|
</div>
|
|
402
|
-
<div
|
|
403
|
-
|
|
454
|
+
<div
|
|
455
|
+
v-if="hasLocal && showLocal && providers.length"
|
|
456
|
+
class="mt-20 text-center"
|
|
457
|
+
>
|
|
458
|
+
<a
|
|
459
|
+
role="button"
|
|
460
|
+
@click="toggleLocal"
|
|
461
|
+
>
|
|
404
462
|
{{ nonLocalPrompt }}
|
|
405
463
|
</a>
|
|
406
464
|
</div>
|
|
@@ -410,7 +468,10 @@ export default {
|
|
|
410
468
|
</template>
|
|
411
469
|
</div>
|
|
412
470
|
|
|
413
|
-
<BrandImage
|
|
471
|
+
<BrandImage
|
|
472
|
+
class="col span-6 landscape"
|
|
473
|
+
file-name="login-landscape.svg"
|
|
474
|
+
/>
|
|
414
475
|
</div>
|
|
415
476
|
</main>
|
|
416
477
|
</template>
|
package/pages/auth/logout.vue
CHANGED
package/pages/auth/setup.vue
CHANGED
|
@@ -9,7 +9,8 @@ import { findBy } from '@shell/utils/array';
|
|
|
9
9
|
import { Checkbox } from '@components/Form/Checkbox';
|
|
10
10
|
import { getVendor, getProduct, setVendor } from '@shell/config/private-label';
|
|
11
11
|
import { RadioGroup } from '@components/Form/Radio';
|
|
12
|
-
import { setSetting
|
|
12
|
+
import { setSetting } from '@shell/utils/settings';
|
|
13
|
+
import { SETTING } from '@shell/config/settings';
|
|
13
14
|
import { _ALL_IF_AUTHED } from '@shell/plugins/dashboard-store/actions';
|
|
14
15
|
import { isDevBuild } from '@shell/utils/version';
|
|
15
16
|
import { exceptionToErrorsArray } from '@shell/utils/error';
|
|
@@ -282,7 +283,7 @@ export default {
|
|
|
282
283
|
<p
|
|
283
284
|
class="text-center mb-20 mt-20 setup-title"
|
|
284
285
|
v-html="t(isFirstLogin ? 'setup.setPassword' : 'setup.newUserSetPassword', { username }, true)"
|
|
285
|
-
|
|
286
|
+
/>
|
|
286
287
|
|
|
287
288
|
<Password
|
|
288
289
|
v-if="!haveCurrent"
|
|
@@ -295,7 +296,12 @@ export default {
|
|
|
295
296
|
/>
|
|
296
297
|
|
|
297
298
|
<!-- For password managers... -->
|
|
298
|
-
<input
|
|
299
|
+
<input
|
|
300
|
+
type="hidden"
|
|
301
|
+
name="username"
|
|
302
|
+
autocomplete="username"
|
|
303
|
+
:value="username"
|
|
304
|
+
>
|
|
299
305
|
<div class="mb-20">
|
|
300
306
|
<RadioGroup
|
|
301
307
|
v-model="useRandom"
|
|
@@ -314,9 +320,18 @@ export default {
|
|
|
314
320
|
data-testid="setup-password-random"
|
|
315
321
|
label-key="setup.newPassword"
|
|
316
322
|
>
|
|
317
|
-
<template
|
|
318
|
-
|
|
319
|
-
|
|
323
|
+
<template
|
|
324
|
+
v-if="useRandom"
|
|
325
|
+
#suffix
|
|
326
|
+
>
|
|
327
|
+
<div
|
|
328
|
+
class="addon"
|
|
329
|
+
style="padding: 0 0 0 12px;"
|
|
330
|
+
>
|
|
331
|
+
<CopyToClipboard
|
|
332
|
+
:text="password"
|
|
333
|
+
class="btn-sm"
|
|
334
|
+
/>
|
|
320
335
|
</div>
|
|
321
336
|
</template>
|
|
322
337
|
</LabeledInput>
|
|
@@ -341,9 +356,15 @@ export default {
|
|
|
341
356
|
|
|
342
357
|
<template v-if="isFirstLogin">
|
|
343
358
|
<template v-if="mcmEnabled">
|
|
344
|
-
<hr
|
|
359
|
+
<hr
|
|
360
|
+
v-if="mustChangePassword"
|
|
361
|
+
class="mt-20 mb-20"
|
|
362
|
+
>
|
|
345
363
|
<p>
|
|
346
|
-
<t
|
|
364
|
+
<t
|
|
365
|
+
k="setup.serverUrl.tip"
|
|
366
|
+
:raw="true"
|
|
367
|
+
/>
|
|
347
368
|
</p>
|
|
348
369
|
<div class="mt-20">
|
|
349
370
|
<LabeledInput
|
|
@@ -355,9 +376,16 @@ export default {
|
|
|
355
376
|
</template>
|
|
356
377
|
|
|
357
378
|
<div class="checkbox mt-40">
|
|
358
|
-
<Checkbox
|
|
379
|
+
<Checkbox
|
|
380
|
+
id="checkbox-telemetry"
|
|
381
|
+
v-model="telemetry"
|
|
382
|
+
>
|
|
359
383
|
<template #label>
|
|
360
|
-
<t
|
|
384
|
+
<t
|
|
385
|
+
k="setup.telemetry"
|
|
386
|
+
:raw="true"
|
|
387
|
+
:name="productName"
|
|
388
|
+
/>
|
|
361
389
|
</template>
|
|
362
390
|
</Checkbox>
|
|
363
391
|
</div>
|
|
@@ -368,7 +396,11 @@ export default {
|
|
|
368
396
|
data-testid="setup-agreement"
|
|
369
397
|
>
|
|
370
398
|
<template #label>
|
|
371
|
-
<t
|
|
399
|
+
<t
|
|
400
|
+
k="setup.eula"
|
|
401
|
+
:raw="true"
|
|
402
|
+
:name="productName"
|
|
403
|
+
/>
|
|
372
404
|
</template>
|
|
373
405
|
</Checkbox>
|
|
374
406
|
</div>
|
|
@@ -389,7 +421,11 @@ export default {
|
|
|
389
421
|
</div>
|
|
390
422
|
|
|
391
423
|
<div class="setup-errors mt-20">
|
|
392
|
-
<h4
|
|
424
|
+
<h4
|
|
425
|
+
v-for="err in errors"
|
|
426
|
+
:key="err"
|
|
427
|
+
class="text-error text-center"
|
|
428
|
+
>
|
|
393
429
|
{{ err }}
|
|
394
430
|
</h4>
|
|
395
431
|
</div>
|
package/pages/auth/verify.vue
CHANGED
|
@@ -68,7 +68,10 @@ export default {
|
|
|
68
68
|
>
|
|
69
69
|
<template #cell:project="{row}">
|
|
70
70
|
<span v-if="row.project">{{ row.project.nameDisplay }}</span>
|
|
71
|
-
<span
|
|
71
|
+
<span
|
|
72
|
+
v-else
|
|
73
|
+
class="text-muted"
|
|
74
|
+
>–</span>
|
|
72
75
|
</template>
|
|
73
76
|
</ResourceTable>
|
|
74
77
|
</div>
|
|
@@ -117,11 +117,17 @@ export default {
|
|
|
117
117
|
<div v-else>
|
|
118
118
|
<TypeDescription resource="chart" />
|
|
119
119
|
|
|
120
|
-
<div
|
|
120
|
+
<div
|
|
121
|
+
v-if="chart"
|
|
122
|
+
class="chart-header"
|
|
123
|
+
>
|
|
121
124
|
<div class="name-logo-install">
|
|
122
125
|
<div class="name-logo">
|
|
123
126
|
<div class="logo-bg">
|
|
124
|
-
<LazyImage
|
|
127
|
+
<LazyImage
|
|
128
|
+
:src="chart.icon"
|
|
129
|
+
class="logo"
|
|
130
|
+
/>
|
|
125
131
|
</div>
|
|
126
132
|
<h1>
|
|
127
133
|
<nuxt-link :to="{ name: 'c-cluster-apps-charts' }">
|
|
@@ -130,57 +136,111 @@ export default {
|
|
|
130
136
|
{{ chart.chartNameDisplay }} ({{ targetVersion }})
|
|
131
137
|
</h1>
|
|
132
138
|
</div>
|
|
133
|
-
<button
|
|
139
|
+
<button
|
|
140
|
+
v-if="!requires.length"
|
|
141
|
+
type="button"
|
|
142
|
+
class="btn role-primary"
|
|
143
|
+
@click.prevent="install"
|
|
144
|
+
>
|
|
134
145
|
{{ t(`asyncButton.${action}.action` ) }}
|
|
135
146
|
</button>
|
|
136
147
|
</div>
|
|
137
|
-
<div
|
|
148
|
+
<div
|
|
149
|
+
v-if="chart.windowsIncompatible"
|
|
150
|
+
class="mt-5"
|
|
151
|
+
>
|
|
138
152
|
<label class="os-label">{{ t('catalog.charts.windowsIncompatible') }}</label>
|
|
139
153
|
</div>
|
|
140
|
-
<div
|
|
141
|
-
|
|
154
|
+
<div
|
|
155
|
+
v-if="requires.length || warnings.length || targetedAppWarning || osWarning"
|
|
156
|
+
class="mt-20"
|
|
157
|
+
>
|
|
158
|
+
<Banner
|
|
159
|
+
v-if="osWarning"
|
|
160
|
+
color="error"
|
|
161
|
+
>
|
|
142
162
|
<span v-html="osWarning" />
|
|
143
163
|
</Banner>
|
|
144
|
-
<Banner
|
|
164
|
+
<Banner
|
|
165
|
+
v-for="msg in requires"
|
|
166
|
+
:key="msg"
|
|
167
|
+
color="error"
|
|
168
|
+
>
|
|
145
169
|
<span v-html="msg" />
|
|
146
170
|
</Banner>
|
|
147
171
|
|
|
148
|
-
<Banner
|
|
172
|
+
<Banner
|
|
173
|
+
v-for="msg in warnings"
|
|
174
|
+
:key="msg"
|
|
175
|
+
color="warning"
|
|
176
|
+
>
|
|
149
177
|
<span v-html="msg" />
|
|
150
178
|
</Banner>
|
|
151
179
|
|
|
152
|
-
<Banner
|
|
180
|
+
<Banner
|
|
181
|
+
v-if="targetedAppWarning"
|
|
182
|
+
color="warning"
|
|
183
|
+
>
|
|
153
184
|
<span v-html="targetedAppWarning" />
|
|
154
185
|
</Banner>
|
|
155
186
|
</div>
|
|
156
|
-
<div
|
|
187
|
+
<div
|
|
188
|
+
v-else-if="version && version.description"
|
|
189
|
+
class="description mt-10"
|
|
190
|
+
>
|
|
157
191
|
<p>
|
|
158
192
|
{{ version.description }}
|
|
159
193
|
</p>
|
|
160
194
|
</div>
|
|
161
195
|
</div>
|
|
162
196
|
|
|
163
|
-
<div class="spacer"
|
|
197
|
+
<div class="spacer" />
|
|
164
198
|
|
|
165
199
|
<div class="chart-content">
|
|
166
|
-
<ChartReadme
|
|
167
|
-
|
|
200
|
+
<ChartReadme
|
|
201
|
+
v-if="hasReadme"
|
|
202
|
+
:version-info="versionInfo"
|
|
203
|
+
class="chart-content__tabs"
|
|
204
|
+
/>
|
|
205
|
+
<div
|
|
206
|
+
v-else
|
|
207
|
+
class="chart-content__tabs"
|
|
208
|
+
>
|
|
168
209
|
{{ t('catalog.install.appReadmeMissing', {}, true) }}
|
|
169
210
|
</div>
|
|
170
|
-
<div
|
|
211
|
+
<div
|
|
212
|
+
v-if="version"
|
|
213
|
+
class="chart-content__right-bar ml-20"
|
|
214
|
+
>
|
|
171
215
|
<div class="chart-content__right-bar__section">
|
|
172
216
|
<h3>
|
|
173
217
|
{{ t('catalog.chart.info.chartVersions.label') }}
|
|
174
218
|
</h3>
|
|
175
|
-
<div
|
|
219
|
+
<div
|
|
220
|
+
v-for="vers of versions"
|
|
221
|
+
:key="vers.id"
|
|
222
|
+
class="chart-content__right-bar__section--cVersion"
|
|
223
|
+
>
|
|
176
224
|
<b v-if="vers.originalVersion === version.version">{{ vers.originalVersion === currentVersion ? t('catalog.install.versions.current', { ver: currentVersion }): vers.shortLabel }}</b>
|
|
177
|
-
<a
|
|
225
|
+
<a
|
|
226
|
+
v-else
|
|
227
|
+
v-tooltip="vers.label.length > 16 ? vers.label : null"
|
|
228
|
+
@click.prevent="selectVersion(vers)"
|
|
229
|
+
>
|
|
178
230
|
{{ vers.originalVersion === currentVersion ? t('catalog.install.versions.current', { ver: currentVersion }): vers.shortLabel }}
|
|
179
231
|
</a>
|
|
180
|
-
<DateFormatter
|
|
232
|
+
<DateFormatter
|
|
233
|
+
:value="vers.created"
|
|
234
|
+
:show-time="false"
|
|
235
|
+
/>
|
|
181
236
|
</div>
|
|
182
237
|
<div class="mt-10 chart-content__right-bar__section--showMore">
|
|
183
|
-
<button
|
|
238
|
+
<button
|
|
239
|
+
v-if="mappedVersions.length > showLastVersions"
|
|
240
|
+
type="button"
|
|
241
|
+
class="btn btn-sm role-link"
|
|
242
|
+
@click="showMoreVersions = !showMoreVersions"
|
|
243
|
+
>
|
|
184
244
|
{{ t(`catalog.chart.info.chartVersions.${showMoreVersions ? 'showLess' : 'showMore'}`) }}
|
|
185
245
|
</button>
|
|
186
246
|
</div>
|
|
@@ -191,23 +251,60 @@ export default {
|
|
|
191
251
|
</h3>
|
|
192
252
|
{{ version.appVersion }}
|
|
193
253
|
</div>
|
|
194
|
-
<div
|
|
254
|
+
<div
|
|
255
|
+
v-if="version.home"
|
|
256
|
+
class="chart-content__right-bar__section"
|
|
257
|
+
>
|
|
195
258
|
<h3>{{ t('catalog.chart.info.home') }}</h3>
|
|
196
|
-
<a
|
|
259
|
+
<a
|
|
260
|
+
:href="version.home"
|
|
261
|
+
rel="nofollow noopener noreferrer"
|
|
262
|
+
target="_blank"
|
|
263
|
+
>{{ version.home }}</a>
|
|
197
264
|
</div>
|
|
198
|
-
<div
|
|
265
|
+
<div
|
|
266
|
+
v-if="version.maintainers"
|
|
267
|
+
class="chart-content__right-bar__section"
|
|
268
|
+
>
|
|
199
269
|
<h3>{{ t('catalog.chart.info.maintainers') }}</h3>
|
|
200
|
-
<a
|
|
270
|
+
<a
|
|
271
|
+
v-for="m of maintainers"
|
|
272
|
+
:key="m.id"
|
|
273
|
+
:href="m.url"
|
|
274
|
+
rel="nofollow noopener noreferrer"
|
|
275
|
+
target="_blank"
|
|
276
|
+
>{{ m.text }}</a>
|
|
201
277
|
</div>
|
|
202
|
-
<div
|
|
278
|
+
<div
|
|
279
|
+
v-if="version.sources"
|
|
280
|
+
class="chart-content__right-bar__section"
|
|
281
|
+
>
|
|
203
282
|
<h3>{{ t('catalog.chart.info.related') }}</h3>
|
|
204
|
-
<a
|
|
283
|
+
<a
|
|
284
|
+
v-for="s of version.sources"
|
|
285
|
+
:key="s"
|
|
286
|
+
:href="s"
|
|
287
|
+
rel="nofollow noopener noreferrer"
|
|
288
|
+
target="_blank"
|
|
289
|
+
>{{ s }}</a>
|
|
205
290
|
</div>
|
|
206
|
-
<div
|
|
291
|
+
<div
|
|
292
|
+
v-if="version.urls"
|
|
293
|
+
class="chart-content__right-bar__section"
|
|
294
|
+
>
|
|
207
295
|
<h3>{{ t('catalog.chart.info.chartUrls') }}</h3>
|
|
208
|
-
<a
|
|
296
|
+
<a
|
|
297
|
+
v-for="url of version.urls"
|
|
298
|
+
:key="url"
|
|
299
|
+
:href="url"
|
|
300
|
+
rel="nofollow noopener noreferrer"
|
|
301
|
+
target="_blank"
|
|
302
|
+
>{{ version.urls.length === 1 ? 'Download': url }}</a>
|
|
209
303
|
</div>
|
|
210
|
-
<div
|
|
304
|
+
<div
|
|
305
|
+
v-if="version.keywords"
|
|
306
|
+
class="chart-content__right-bar__section chart-content__right-bar__section--keywords"
|
|
307
|
+
>
|
|
211
308
|
<h3>{{ t('catalog.chart.info.keywords') }}</h3>
|
|
212
309
|
{{ version.keywords.join(', ') }}
|
|
213
310
|
</div>
|
|
@@ -339,13 +339,16 @@ export default {
|
|
|
339
339
|
<template>
|
|
340
340
|
<Loading v-if="$fetchState.pending" />
|
|
341
341
|
<div v-else>
|
|
342
|
-
<header>
|
|
342
|
+
<header class="header-layout">
|
|
343
343
|
<div class="title">
|
|
344
344
|
<h1 class="m-0">
|
|
345
345
|
{{ t('catalog.charts.header') }}
|
|
346
346
|
</h1>
|
|
347
347
|
</div>
|
|
348
|
-
<div
|
|
348
|
+
<div
|
|
349
|
+
v-if="getFeaturedCharts.length > 0"
|
|
350
|
+
class="actions-container"
|
|
351
|
+
>
|
|
349
352
|
<ButtonGroup
|
|
350
353
|
v-model="chartMode"
|
|
351
354
|
:options="chartOptions"
|
|
@@ -381,7 +384,11 @@ export default {
|
|
|
381
384
|
:color="repo.color"
|
|
382
385
|
>
|
|
383
386
|
<template #label>
|
|
384
|
-
<span>{{ repo.label }}</span><i
|
|
387
|
+
<span>{{ repo.label }}</span><i
|
|
388
|
+
v-if="!repo.all"
|
|
389
|
+
class=" pl-5 icon icon-dot icon-sm"
|
|
390
|
+
:class="{[repo.color]: true}"
|
|
391
|
+
/>
|
|
385
392
|
</template>
|
|
386
393
|
</Checkbox>
|
|
387
394
|
</template>
|
|
@@ -411,15 +418,32 @@ export default {
|
|
|
411
418
|
:placeholder="t('catalog.charts.search')"
|
|
412
419
|
>
|
|
413
420
|
|
|
414
|
-
<button
|
|
415
|
-
|
|
421
|
+
<button
|
|
422
|
+
v-shortkey.once="['/']"
|
|
423
|
+
class="hide"
|
|
424
|
+
@shortkey="focusSearch()"
|
|
425
|
+
/>
|
|
426
|
+
<AsyncButton
|
|
427
|
+
class="refresh-btn"
|
|
428
|
+
mode="refresh"
|
|
429
|
+
size="sm"
|
|
430
|
+
@click="refresh"
|
|
431
|
+
/>
|
|
416
432
|
</div>
|
|
417
433
|
</div>
|
|
418
434
|
|
|
419
|
-
<Banner
|
|
435
|
+
<Banner
|
|
436
|
+
v-for="err in loadingErrors"
|
|
437
|
+
:key="err"
|
|
438
|
+
color="error"
|
|
439
|
+
:label="err"
|
|
440
|
+
/>
|
|
420
441
|
|
|
421
442
|
<div v-if="allCharts.length">
|
|
422
|
-
<div
|
|
443
|
+
<div
|
|
444
|
+
v-if="filteredCharts.length === 0"
|
|
445
|
+
style="width: 100%;"
|
|
446
|
+
>
|
|
423
447
|
<div class="m-50 text-center">
|
|
424
448
|
<h1>{{ t('catalog.charts.noCharts') }}</h1>
|
|
425
449
|
</div>
|
|
@@ -433,7 +457,10 @@ export default {
|
|
|
433
457
|
@clicked="(row) => selectChart(row)"
|
|
434
458
|
/>
|
|
435
459
|
</div>
|
|
436
|
-
<div
|
|
460
|
+
<div
|
|
461
|
+
v-else
|
|
462
|
+
class="m-50 text-center"
|
|
463
|
+
>
|
|
437
464
|
<h1>{{ t('catalog.charts.noCharts') }}</h1>
|
|
438
465
|
</div>
|
|
439
466
|
</div>
|