@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
package/detail/service.vue
CHANGED
|
@@ -149,8 +149,15 @@ export default {
|
|
|
149
149
|
</script>
|
|
150
150
|
|
|
151
151
|
<template>
|
|
152
|
-
<ResourceTabs
|
|
153
|
-
|
|
152
|
+
<ResourceTabs
|
|
153
|
+
v-model="value"
|
|
154
|
+
:mode="mode"
|
|
155
|
+
>
|
|
156
|
+
<Tab
|
|
157
|
+
name="pods"
|
|
158
|
+
:label="t('servicesPage.pods.label')"
|
|
159
|
+
:weight="4"
|
|
160
|
+
>
|
|
154
161
|
<ResourceTable
|
|
155
162
|
:rows="pods"
|
|
156
163
|
:headers="podTableHeaders"
|
|
@@ -327,7 +327,10 @@ export default {
|
|
|
327
327
|
<template>
|
|
328
328
|
<Loading v-if="$fetchState.pending" />
|
|
329
329
|
<div v-else>
|
|
330
|
-
<div
|
|
330
|
+
<div
|
|
331
|
+
v-if="canScale"
|
|
332
|
+
class="right-align flex"
|
|
333
|
+
>
|
|
331
334
|
<PlusMinus
|
|
332
335
|
class="text-right"
|
|
333
336
|
:label="t('tableHeaders.scale')"
|
|
@@ -340,7 +343,11 @@ export default {
|
|
|
340
343
|
<h3>
|
|
341
344
|
{{ isJob || isCronJob ? t('workload.detailTop.runs') :t('workload.detailTop.pods') }}
|
|
342
345
|
</h3>
|
|
343
|
-
<div
|
|
346
|
+
<div
|
|
347
|
+
v-if="value.pods || value.jobGauges"
|
|
348
|
+
class="gauges mb-20"
|
|
349
|
+
:class="{'gauges__pods': !!value.pods}"
|
|
350
|
+
>
|
|
344
351
|
<template v-if="value.jobGauges">
|
|
345
352
|
<CountGauge
|
|
346
353
|
v-for="(group, key) in value.jobGauges"
|
|
@@ -364,8 +371,16 @@ export default {
|
|
|
364
371
|
/>
|
|
365
372
|
</template>
|
|
366
373
|
</div>
|
|
367
|
-
<ResourceTabs
|
|
368
|
-
|
|
374
|
+
<ResourceTabs
|
|
375
|
+
:value="value"
|
|
376
|
+
:always-show-events="true"
|
|
377
|
+
>
|
|
378
|
+
<Tab
|
|
379
|
+
v-if="isCronJob"
|
|
380
|
+
name="jobs"
|
|
381
|
+
:label="t('tableHeaders.jobs')"
|
|
382
|
+
:weight="4"
|
|
383
|
+
>
|
|
369
384
|
<SortableTable
|
|
370
385
|
:rows="value.jobs"
|
|
371
386
|
:headers="jobHeaders"
|
|
@@ -375,7 +390,12 @@ export default {
|
|
|
375
390
|
:search="false"
|
|
376
391
|
/>
|
|
377
392
|
</Tab>
|
|
378
|
-
<Tab
|
|
393
|
+
<Tab
|
|
394
|
+
v-else
|
|
395
|
+
name="pods"
|
|
396
|
+
:label="t('tableHeaders.pods')"
|
|
397
|
+
:weight="4"
|
|
398
|
+
>
|
|
379
399
|
<SortableTable
|
|
380
400
|
v-if="value.pods"
|
|
381
401
|
:rows="value.pods"
|
|
@@ -386,7 +406,12 @@ export default {
|
|
|
386
406
|
:search="false"
|
|
387
407
|
/>
|
|
388
408
|
</Tab>
|
|
389
|
-
<Tab
|
|
409
|
+
<Tab
|
|
410
|
+
v-if="showMetrics"
|
|
411
|
+
:label="t('workload.container.titles.metrics')"
|
|
412
|
+
name="workload-metrics"
|
|
413
|
+
:weight="3"
|
|
414
|
+
>
|
|
390
415
|
<template #default="props">
|
|
391
416
|
<DashboardMetrics
|
|
392
417
|
v-if="props.active"
|
|
@@ -397,19 +422,41 @@ export default {
|
|
|
397
422
|
/>
|
|
398
423
|
</template>
|
|
399
424
|
</Tab>
|
|
400
|
-
<Tab
|
|
425
|
+
<Tab
|
|
426
|
+
v-if="v1MonitoringUrl"
|
|
427
|
+
name="v1Metrics"
|
|
428
|
+
:label="t('node.detail.tab.metrics')"
|
|
429
|
+
:weight="10"
|
|
430
|
+
>
|
|
401
431
|
<div id="ember-anchor">
|
|
402
|
-
<EmberPage
|
|
432
|
+
<EmberPage
|
|
433
|
+
inline="ember-anchor"
|
|
434
|
+
:src="v1MonitoringUrl"
|
|
435
|
+
/>
|
|
403
436
|
</div>
|
|
404
437
|
</Tab>
|
|
405
|
-
<Tab
|
|
406
|
-
|
|
438
|
+
<Tab
|
|
439
|
+
v-if="!isJob && !isCronJob"
|
|
440
|
+
name="services"
|
|
441
|
+
:label="t('workload.detail.services')"
|
|
442
|
+
:weight="3"
|
|
443
|
+
>
|
|
444
|
+
<p
|
|
445
|
+
v-if="!serviceSchema"
|
|
446
|
+
class="caption"
|
|
447
|
+
>
|
|
407
448
|
{{ t('workload.detail.cannotViewServices') }}
|
|
408
449
|
</p>
|
|
409
|
-
<p
|
|
450
|
+
<p
|
|
451
|
+
v-else-if="matchingServices.length === 0"
|
|
452
|
+
class="caption"
|
|
453
|
+
>
|
|
410
454
|
{{ t('workload.detail.cannotFindServices') }}
|
|
411
455
|
</p>
|
|
412
|
-
<p
|
|
456
|
+
<p
|
|
457
|
+
v-else
|
|
458
|
+
class="caption"
|
|
459
|
+
>
|
|
413
460
|
{{ t('workload.detail.serviceListCaption') }}
|
|
414
461
|
</p>
|
|
415
462
|
<SortableTable
|
|
@@ -423,17 +470,34 @@ export default {
|
|
|
423
470
|
:table-actions="false"
|
|
424
471
|
/>
|
|
425
472
|
</Tab>
|
|
426
|
-
<Tab
|
|
427
|
-
|
|
473
|
+
<Tab
|
|
474
|
+
v-if="!isJob && !isCronJob"
|
|
475
|
+
name="ingresses"
|
|
476
|
+
:label="t('workload.detail.ingresses')"
|
|
477
|
+
:weight="2"
|
|
478
|
+
>
|
|
479
|
+
<p
|
|
480
|
+
v-if="!serviceSchema"
|
|
481
|
+
class="caption"
|
|
482
|
+
>
|
|
428
483
|
{{ t('workload.detail.cannotViewIngressesBecauseCannotViewServices') }}
|
|
429
484
|
</p>
|
|
430
|
-
<p
|
|
485
|
+
<p
|
|
486
|
+
v-else-if="!ingressSchema"
|
|
487
|
+
class="caption"
|
|
488
|
+
>
|
|
431
489
|
{{ t('workload.detail.cannotViewIngresses') }}
|
|
432
490
|
</p>
|
|
433
|
-
<p
|
|
491
|
+
<p
|
|
492
|
+
v-else-if="matchingIngresses.length === 0"
|
|
493
|
+
class="caption"
|
|
494
|
+
>
|
|
434
495
|
{{ t('workload.detail.cannotFindIngresses') }}
|
|
435
496
|
</p>
|
|
436
|
-
<p
|
|
497
|
+
<p
|
|
498
|
+
v-else
|
|
499
|
+
class="caption"
|
|
500
|
+
>
|
|
437
501
|
{{ t('workload.detail.ingressListCaption') }}
|
|
438
502
|
</p>
|
|
439
503
|
<SortableTable
|
|
@@ -39,15 +39,34 @@ export default {
|
|
|
39
39
|
</script>
|
|
40
40
|
|
|
41
41
|
<template>
|
|
42
|
-
<Card
|
|
43
|
-
|
|
42
|
+
<Card
|
|
43
|
+
class="prompt-rotate"
|
|
44
|
+
:show-highlight-border="false"
|
|
45
|
+
>
|
|
46
|
+
<h4
|
|
47
|
+
slot="title"
|
|
48
|
+
class="text-default-text"
|
|
49
|
+
v-html="t('addClusterMemberDialog.title')"
|
|
50
|
+
/>
|
|
44
51
|
|
|
45
|
-
<div
|
|
46
|
-
|
|
52
|
+
<div
|
|
53
|
+
slot="body"
|
|
54
|
+
class="pl-10 pr-10"
|
|
55
|
+
>
|
|
56
|
+
<ClusterPermissionsEditor
|
|
57
|
+
v-model="bindings"
|
|
58
|
+
:use-two-columns-for-custom="true"
|
|
59
|
+
/>
|
|
47
60
|
</div>
|
|
48
61
|
|
|
49
|
-
<div
|
|
50
|
-
|
|
62
|
+
<div
|
|
63
|
+
slot="actions"
|
|
64
|
+
class="buttons"
|
|
65
|
+
>
|
|
66
|
+
<button
|
|
67
|
+
class="btn role-secondary mr-10"
|
|
68
|
+
@click="close"
|
|
69
|
+
>
|
|
51
70
|
{{ t('generic.cancel') }}
|
|
52
71
|
</button>
|
|
53
72
|
|
|
@@ -115,22 +115,40 @@ export default {
|
|
|
115
115
|
</script>
|
|
116
116
|
|
|
117
117
|
<template>
|
|
118
|
-
<Card
|
|
119
|
-
|
|
118
|
+
<Card
|
|
119
|
+
class="prompt-badge"
|
|
120
|
+
:show-highlight-border="false"
|
|
121
|
+
>
|
|
122
|
+
<h4
|
|
123
|
+
slot="title"
|
|
124
|
+
class="text-default-text"
|
|
125
|
+
>
|
|
120
126
|
{{ t('clusterBadge.modal.title') }}
|
|
121
127
|
</h4>
|
|
122
128
|
|
|
123
|
-
<div
|
|
129
|
+
<div
|
|
130
|
+
slot="body"
|
|
131
|
+
class="pl-10 pr-10 cluster-badge-body"
|
|
132
|
+
>
|
|
124
133
|
<div>{{ t('clusterBadge.modal.previewTitle') }}</div>
|
|
125
134
|
|
|
126
135
|
<div class="mt-10 pl-20 row preview-row">
|
|
127
136
|
<div class="badge-preview col span-12">
|
|
128
|
-
<ClusterProviderIcon
|
|
129
|
-
|
|
137
|
+
<ClusterProviderIcon
|
|
138
|
+
v-if="useCustomBadge"
|
|
139
|
+
:cluster="previewCluster"
|
|
140
|
+
/>
|
|
141
|
+
<ClusterProviderIcon
|
|
142
|
+
v-else
|
|
143
|
+
:cluster="currentCluster"
|
|
144
|
+
/>
|
|
130
145
|
<div class="cluster-name">
|
|
131
146
|
{{ currentCluster.nameDisplay }}
|
|
132
147
|
</div>
|
|
133
|
-
<ClusterBadge
|
|
148
|
+
<ClusterBadge
|
|
149
|
+
v-if="useCustomBadge"
|
|
150
|
+
:cluster="previewCluster"
|
|
151
|
+
/>
|
|
134
152
|
</div>
|
|
135
153
|
</div>
|
|
136
154
|
|
|
@@ -194,13 +212,28 @@ export default {
|
|
|
194
212
|
</div>
|
|
195
213
|
</div>
|
|
196
214
|
|
|
197
|
-
<div
|
|
198
|
-
|
|
215
|
+
<div
|
|
216
|
+
slot="actions"
|
|
217
|
+
class="bottom"
|
|
218
|
+
>
|
|
219
|
+
<Banner
|
|
220
|
+
v-for="(err, i) in errors"
|
|
221
|
+
:key="i"
|
|
222
|
+
color="error"
|
|
223
|
+
:label="err"
|
|
224
|
+
/>
|
|
199
225
|
<div class="buttons">
|
|
200
|
-
<button
|
|
226
|
+
<button
|
|
227
|
+
class="btn role-secondary mr-10"
|
|
228
|
+
@click="close"
|
|
229
|
+
>
|
|
201
230
|
{{ t('generic.cancel') }}
|
|
202
231
|
</button>
|
|
203
|
-
<AsyncButton
|
|
232
|
+
<AsyncButton
|
|
233
|
+
:action-label="t('clusterBadge.modal.buttonAction')"
|
|
234
|
+
:disabled="!canSubmit"
|
|
235
|
+
@click="apply"
|
|
236
|
+
/>
|
|
204
237
|
</div>
|
|
205
238
|
</div>
|
|
206
239
|
</Card>
|
|
@@ -76,15 +76,35 @@ export default {
|
|
|
76
76
|
</script>
|
|
77
77
|
|
|
78
78
|
<template>
|
|
79
|
-
<Card
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
<Card
|
|
80
|
+
class="prompt-rotate"
|
|
81
|
+
:show-highlight-border="false"
|
|
82
|
+
:sticky="true"
|
|
83
|
+
>
|
|
84
|
+
<h4
|
|
85
|
+
slot="title"
|
|
86
|
+
class="text-default-text"
|
|
87
|
+
v-html="t('addProjectMemberDialog.title')"
|
|
88
|
+
/>
|
|
89
|
+
|
|
90
|
+
<div
|
|
91
|
+
slot="body"
|
|
92
|
+
class="pl-10 pr-10"
|
|
93
|
+
>
|
|
94
|
+
<ProjectMemberEditor
|
|
95
|
+
v-model="member"
|
|
96
|
+
:use-two-columns-for-custom="true"
|
|
97
|
+
/>
|
|
84
98
|
</div>
|
|
85
99
|
|
|
86
|
-
<div
|
|
87
|
-
|
|
100
|
+
<div
|
|
101
|
+
slot="actions"
|
|
102
|
+
class="buttons"
|
|
103
|
+
>
|
|
104
|
+
<button
|
|
105
|
+
class="btn role-secondary mr-10"
|
|
106
|
+
@click="close"
|
|
107
|
+
>
|
|
88
108
|
{{ t('generic.cancel') }}
|
|
89
109
|
</button>
|
|
90
110
|
|
|
@@ -45,8 +45,14 @@ export default {
|
|
|
45
45
|
</script>
|
|
46
46
|
|
|
47
47
|
<template>
|
|
48
|
-
<Card
|
|
49
|
-
|
|
48
|
+
<Card
|
|
49
|
+
class="addon-config-confirmation"
|
|
50
|
+
:show-highlight-border="false"
|
|
51
|
+
>
|
|
52
|
+
<h4
|
|
53
|
+
slot="title"
|
|
54
|
+
class="text-default-text"
|
|
55
|
+
>
|
|
50
56
|
{{ t('addonConfigConfirmation.title') }}
|
|
51
57
|
</h4>
|
|
52
58
|
|
|
@@ -56,8 +62,15 @@ export default {
|
|
|
56
62
|
</slot>
|
|
57
63
|
</template>
|
|
58
64
|
|
|
59
|
-
<div
|
|
60
|
-
|
|
65
|
+
<div
|
|
66
|
+
slot="actions"
|
|
67
|
+
class="bottom"
|
|
68
|
+
>
|
|
69
|
+
<button
|
|
70
|
+
type="button"
|
|
71
|
+
class="btn role-secondary mr-10"
|
|
72
|
+
@click="close"
|
|
73
|
+
>
|
|
61
74
|
{{ t('generic.cancel') }}
|
|
62
75
|
</button>
|
|
63
76
|
<AsyncButton
|
|
@@ -61,12 +61,22 @@ export default {
|
|
|
61
61
|
</script>
|
|
62
62
|
|
|
63
63
|
<template>
|
|
64
|
-
<Card
|
|
65
|
-
|
|
64
|
+
<Card
|
|
65
|
+
class="prompt-restore"
|
|
66
|
+
:show-highlight-border="false"
|
|
67
|
+
>
|
|
68
|
+
<h4
|
|
69
|
+
slot="title"
|
|
70
|
+
class="text-default-text"
|
|
71
|
+
v-html="title"
|
|
72
|
+
/>
|
|
66
73
|
|
|
67
74
|
<template slot="body">
|
|
68
75
|
<slot name="body">
|
|
69
|
-
<div
|
|
76
|
+
<div
|
|
77
|
+
class="pl-10 pr-10"
|
|
78
|
+
style="min-height: 50px;"
|
|
79
|
+
>
|
|
70
80
|
<div class="row">
|
|
71
81
|
{{ body }}
|
|
72
82
|
</div>
|
|
@@ -80,10 +90,21 @@ export default {
|
|
|
80
90
|
</slot>
|
|
81
91
|
</template>
|
|
82
92
|
|
|
83
|
-
<div
|
|
84
|
-
|
|
93
|
+
<div
|
|
94
|
+
slot="actions"
|
|
95
|
+
class="bottom"
|
|
96
|
+
>
|
|
97
|
+
<Banner
|
|
98
|
+
v-for="(err, i) in errors"
|
|
99
|
+
:key="i"
|
|
100
|
+
color="error"
|
|
101
|
+
:label="err"
|
|
102
|
+
/>
|
|
85
103
|
<div class="buttons">
|
|
86
|
-
<button
|
|
104
|
+
<button
|
|
105
|
+
class="btn role-secondary mr-10"
|
|
106
|
+
@click="close"
|
|
107
|
+
>
|
|
87
108
|
{{ t('generic.cancel') }}
|
|
88
109
|
</button>
|
|
89
110
|
|
package/dialog/DrainNode.vue
CHANGED
|
@@ -130,8 +130,14 @@ export default {
|
|
|
130
130
|
</script>
|
|
131
131
|
|
|
132
132
|
<template>
|
|
133
|
-
<Card
|
|
134
|
-
|
|
133
|
+
<Card
|
|
134
|
+
class="prompt-rotate"
|
|
135
|
+
:show-highlight-border="false"
|
|
136
|
+
>
|
|
137
|
+
<h4
|
|
138
|
+
slot="title"
|
|
139
|
+
class="text-default-text"
|
|
140
|
+
>
|
|
135
141
|
<template v-if="kubeNodes.length > 1">
|
|
136
142
|
{{ t('drainNode.titleMultiple', { count: kubeNodes.length }) }}
|
|
137
143
|
</template>
|
|
@@ -140,7 +146,10 @@ export default {
|
|
|
140
146
|
</template>
|
|
141
147
|
</h4>
|
|
142
148
|
|
|
143
|
-
<div
|
|
149
|
+
<div
|
|
150
|
+
slot="body"
|
|
151
|
+
class="pl-10 pr-10"
|
|
152
|
+
>
|
|
144
153
|
<div>
|
|
145
154
|
<RadioGroup
|
|
146
155
|
v-model="body.deleteLocalData"
|
|
@@ -153,12 +162,23 @@ export default {
|
|
|
153
162
|
<h5>{{ t('drainNode.deleteLocalData') }}</h5>
|
|
154
163
|
</template>
|
|
155
164
|
</RadioGroup>
|
|
156
|
-
<RadioGroup
|
|
165
|
+
<RadioGroup
|
|
166
|
+
v-model="body.force"
|
|
167
|
+
name="force"
|
|
168
|
+
:options="radioOptions"
|
|
169
|
+
:row="true"
|
|
170
|
+
class="mb-15"
|
|
171
|
+
>
|
|
157
172
|
<template #label>
|
|
158
173
|
<h5>{{ t('drainNode.force') }}</h5>
|
|
159
174
|
</template>
|
|
160
175
|
</RadioGroup>
|
|
161
|
-
<RadioGroup
|
|
176
|
+
<RadioGroup
|
|
177
|
+
v-model="gracePeriod"
|
|
178
|
+
name="gracePeriod"
|
|
179
|
+
:options="gracePeriodOptions"
|
|
180
|
+
class="mb-15"
|
|
181
|
+
>
|
|
162
182
|
<template #label>
|
|
163
183
|
<h5>{{ t('drainNode.gracePeriod.title') }}</h5>
|
|
164
184
|
</template>
|
|
@@ -172,7 +192,12 @@ export default {
|
|
|
172
192
|
:placeholder="t('drainNode.gracePeriod.placeholder')"
|
|
173
193
|
class="mb-10"
|
|
174
194
|
/>
|
|
175
|
-
<RadioGroup
|
|
195
|
+
<RadioGroup
|
|
196
|
+
v-model="timeout"
|
|
197
|
+
name="timeout"
|
|
198
|
+
:options="timeoutOptions"
|
|
199
|
+
class="mb-15"
|
|
200
|
+
>
|
|
176
201
|
<template #label>
|
|
177
202
|
<h5>{{ t('drainNode.timeout.title') }}</h5>
|
|
178
203
|
</template>
|
|
@@ -187,19 +212,29 @@ export default {
|
|
|
187
212
|
:placeholder="t('drainNode.timeout.placeholder')"
|
|
188
213
|
/>
|
|
189
214
|
</div>
|
|
190
|
-
<Banner
|
|
215
|
+
<Banner
|
|
216
|
+
v-for="(err, i) in errors"
|
|
217
|
+
:key="i"
|
|
218
|
+
color="error"
|
|
219
|
+
:label="err"
|
|
220
|
+
/>
|
|
191
221
|
</div>
|
|
192
222
|
|
|
193
|
-
<div
|
|
194
|
-
|
|
223
|
+
<div
|
|
224
|
+
slot="actions"
|
|
225
|
+
class="buttons"
|
|
226
|
+
>
|
|
227
|
+
<button
|
|
228
|
+
class="btn role-secondary mr-10"
|
|
229
|
+
@click="close"
|
|
230
|
+
>
|
|
195
231
|
{{ t('generic.cancel') }}
|
|
196
232
|
</button>
|
|
197
233
|
|
|
198
234
|
<AsyncButton
|
|
199
235
|
mode="drain"
|
|
200
236
|
@click="apply"
|
|
201
|
-
|
|
202
|
-
</AsyncButton>
|
|
237
|
+
/>
|
|
203
238
|
</div>
|
|
204
239
|
</Card>
|
|
205
240
|
</template>
|
|
@@ -70,31 +70,58 @@ export default {
|
|
|
70
70
|
</script>
|
|
71
71
|
|
|
72
72
|
<template>
|
|
73
|
-
<Card
|
|
74
|
-
|
|
73
|
+
<Card
|
|
74
|
+
class="prompt-restore"
|
|
75
|
+
:show-highlight-border="false"
|
|
76
|
+
>
|
|
77
|
+
<h4
|
|
78
|
+
slot="title"
|
|
79
|
+
class="text-default-text"
|
|
80
|
+
>
|
|
75
81
|
{{ t('promptForceRemove.modalTitle') }}
|
|
76
82
|
</h4>
|
|
77
|
-
<div
|
|
83
|
+
<div
|
|
84
|
+
slot="body"
|
|
85
|
+
class="pl-10 pr-10"
|
|
86
|
+
>
|
|
78
87
|
<span
|
|
79
88
|
v-html="t('promptForceRemove.removeWarning', { nameToMatch }, true)"
|
|
80
|
-
|
|
89
|
+
/>
|
|
81
90
|
<div class="mt-10 mb-10">
|
|
82
91
|
{{ t('promptForceRemove.confirmName') }}
|
|
83
92
|
</div>
|
|
84
93
|
<div class="mb-10">
|
|
85
94
|
<CopyToClipboardText :text="nameToMatch" />
|
|
86
95
|
</div>
|
|
87
|
-
<input
|
|
96
|
+
<input
|
|
97
|
+
id="confirm"
|
|
98
|
+
v-model="confirmName"
|
|
99
|
+
type="text"
|
|
100
|
+
>
|
|
88
101
|
<div class="text-info mt-20">
|
|
89
102
|
{{ protip }}
|
|
90
103
|
</div>
|
|
91
|
-
<Banner
|
|
104
|
+
<Banner
|
|
105
|
+
v-for="(error, i) in errors"
|
|
106
|
+
:key="i"
|
|
107
|
+
class=""
|
|
108
|
+
color="error"
|
|
109
|
+
:label="error"
|
|
110
|
+
/>
|
|
92
111
|
</div>
|
|
93
112
|
<template #actions>
|
|
94
|
-
<button
|
|
113
|
+
<button
|
|
114
|
+
class="btn role-secondary mr-10"
|
|
115
|
+
@click="close"
|
|
116
|
+
>
|
|
95
117
|
{{ t('generic.cancel') }}
|
|
96
118
|
</button>
|
|
97
|
-
<AsyncButton
|
|
119
|
+
<AsyncButton
|
|
120
|
+
mode="delete"
|
|
121
|
+
class="btn bg-error ml-10"
|
|
122
|
+
:disabled="deleteDisabled"
|
|
123
|
+
@click="remove"
|
|
124
|
+
/>
|
|
98
125
|
</template>
|
|
99
126
|
</Card>
|
|
100
127
|
</template>
|
package/dialog/GenericPrompt.vue
CHANGED
|
@@ -57,20 +57,41 @@ export default {
|
|
|
57
57
|
</script>
|
|
58
58
|
|
|
59
59
|
<template>
|
|
60
|
-
<Card
|
|
61
|
-
|
|
60
|
+
<Card
|
|
61
|
+
class="prompt-restore"
|
|
62
|
+
:show-highlight-border="false"
|
|
63
|
+
>
|
|
64
|
+
<h4
|
|
65
|
+
slot="title"
|
|
66
|
+
class="text-default-text"
|
|
67
|
+
v-html="title"
|
|
68
|
+
/>
|
|
62
69
|
|
|
63
70
|
<template slot="body">
|
|
64
71
|
<slot name="body">
|
|
65
|
-
<div
|
|
66
|
-
|
|
72
|
+
<div
|
|
73
|
+
class="pl-10 pr-10"
|
|
74
|
+
style="min-height: 50px; display: flex;"
|
|
75
|
+
v-html="body"
|
|
76
|
+
/>
|
|
67
77
|
</slot>
|
|
68
78
|
</template>
|
|
69
79
|
|
|
70
|
-
<div
|
|
71
|
-
|
|
80
|
+
<div
|
|
81
|
+
slot="actions"
|
|
82
|
+
class="bottom"
|
|
83
|
+
>
|
|
84
|
+
<Banner
|
|
85
|
+
v-for="(err, i) in errors"
|
|
86
|
+
:key="i"
|
|
87
|
+
color="error"
|
|
88
|
+
:label="err"
|
|
89
|
+
/>
|
|
72
90
|
<div class="buttons">
|
|
73
|
-
<button
|
|
91
|
+
<button
|
|
92
|
+
class="btn role-secondary mr-10"
|
|
93
|
+
@click="close"
|
|
94
|
+
>
|
|
74
95
|
{{ t('generic.cancel') }}
|
|
75
96
|
</button>
|
|
76
97
|
|