@rancher/shell 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/brand/csp/dark/rancher-logo.svg +148 -0
- package/assets/brand/csp/favicon.png +0 -0
- package/assets/brand/csp/metadata.json +3 -0
- package/assets/brand/csp/rancher-logo.svg +130 -0
- package/assets/styles/app.scss +2 -1
- package/assets/styles/global/_layout.scss +53 -0
- package/assets/styles/themes/_csp.scss +25 -0
- package/assets/styles/themes/_dark.scss +2 -1
- package/assets/styles/themes/_light.scss +2 -1
- package/assets/styles/vendor/vue-select.scss +0 -5
- package/assets/translations/en-us.yaml +45 -28
- package/chart/istio.vue +81 -22
- package/chart/logging/index.vue +20 -6
- package/chart/monitoring/alerting/index.vue +4 -1
- package/chart/monitoring/index.vue +41 -9
- package/chart/monitoring/prometheus/index.vue +33 -29
- package/chart/monitoring/steps/uninstall-v1.vue +8 -4
- package/chart/rancher-backup/S3.vue +43 -8
- package/chart/rancher-backup/index.vue +23 -5
- package/chart/rancher-gatekeeper.vue +10 -2
- package/cloud-credential/aws.vue +8 -2
- package/cloud-credential/digitalocean.vue +4 -1
- package/cloud-credential/gcp.vue +9 -2
- package/cloud-credential/generic.vue +6 -1
- package/cloud-credential/harvester.vue +4 -1
- package/cloud-credential/linode.vue +4 -1
- package/cloud-credential/s3.vue +4 -1
- package/components/.DS_Store +0 -0
- package/components/ActionDropdown.vue +4 -1
- package/components/ActionMenu.vue +17 -4
- package/components/AdvancedSection.vue +6 -1
- package/components/Alert.vue +5 -1
- package/components/AssignTo.vue +24 -6
- package/components/AsyncButton.vue +10 -0
- package/components/AwsComplianceBanner.vue +4 -1
- package/components/BackLink.vue +5 -1
- package/components/BannerGraphic.vue +16 -4
- package/components/BrandImage.vue +4 -1
- package/components/ButtonDropdown.vue +10 -3
- package/components/ButtonGroup.vue +17 -4
- package/components/Carousel.vue +26 -8
- package/components/ChartHeading.vue +5 -1
- package/components/ChartReadme.vue +17 -5
- package/components/ClusterBadge.vue +5 -1
- package/components/ClusterProviderIcon.vue +15 -3
- package/components/Collapse.vue +17 -5
- package/components/CollapsibleCard.vue +10 -4
- package/components/CommunityLinks.vue +32 -9
- package/components/CompoundStatusBadge.vue +4 -1
- package/components/ContainerResourceLimit.vue +12 -3
- package/components/CopyToClipboardText.vue +10 -2
- package/components/CountBox.vue +13 -3
- package/components/CountGauge.vue +28 -5
- package/components/CruResource.vue +88 -23
- package/components/CruResourceFooter.vue +1 -1
- package/components/DashboardMetrics.vue +12 -3
- package/components/DashboardOptions.vue +14 -3
- package/components/DetailText.vue +28 -6
- package/components/DetailTop.vue +57 -12
- package/components/Dialog.vue +17 -5
- package/components/EmberPage.vue +23 -5
- package/components/EmberPageView.vue +4 -1
- package/components/EtcdInfoBanner.vue +5 -1
- package/components/ExplorerMembers.vue +7 -9
- package/components/ExplorerProjectsNamespaces.vue +42 -10
- package/components/FileDiff.vue +5 -1
- package/components/FixedBanner.vue +27 -7
- package/components/Flag.vue +8 -2
- package/components/Glance.vue +11 -2
- package/components/GlobalRoleBindings.vue +24 -5
- package/components/GradientBox.vue +5 -1
- package/components/GrafanaDashboard.vue +19 -5
- package/components/GrowlManager.vue +27 -6
- package/components/HardwareResourceGauge.vue +8 -2
- package/components/HarvesterServiceAddOnConfig.vue +4 -1
- package/components/IconMessage.vue +8 -2
- package/components/Import.vue +37 -8
- package/components/IndentedPanel.vue +4 -1
- package/components/InfoBox.vue +8 -2
- package/components/KeyValueView.vue +29 -7
- package/components/LandingPagePreference.vue +13 -2
- package/components/LazyImage.vue +5 -1
- package/components/Loading.vue +13 -3
- package/components/LocaleSelector.vue +10 -2
- package/components/Markdown.vue +5 -1
- package/components/MessageLink.vue +19 -4
- package/components/ModalWithCard.vue +24 -8
- package/components/MoveModal.vue +35 -7
- package/components/PercentageBar.vue +9 -2
- package/components/ProgressBarMulti.vue +4 -1
- package/components/PromptChangePassword.vue +17 -4
- package/components/PromptModal.vue +7 -1
- package/components/PromptRemove.vue +31 -10
- package/components/PromptRestore.vue +35 -10
- package/components/Questions/Array.vue +4 -1
- package/components/Questions/Boolean.vue +4 -1
- package/components/Questions/Enum.vue +4 -1
- package/components/Questions/Float.vue +4 -1
- package/components/Questions/Int.vue +4 -1
- package/components/Questions/QuestionMap.vue +4 -1
- package/components/Questions/Reference.vue +8 -2
- package/components/Questions/String.vue +4 -1
- package/components/Questions/index.vue +10 -2
- package/components/Random.vue +11 -3
- package/components/RelatedResources.vue +8 -2
- package/components/RelatedWorkloadsTable.vue +5 -1
- package/components/ResourceCancelModal.vue +15 -3
- package/components/ResourceDetail/Masthead.vue +31 -7
- package/components/ResourceList/Masthead.vue +6 -4
- package/components/ResourceList/ResourceLoadingIndicator.vue +8 -2
- package/components/ResourceList/index.vue +11 -8
- package/components/ResourceSummary.vue +13 -3
- package/components/ResourceTable.vue +59 -11
- package/components/ResourceYaml.vue +8 -2
- package/components/RoleBindings.vue +20 -3
- package/components/SelectIconGrid.vue +29 -7
- package/components/SimpleBox.vue +14 -3
- package/components/SingleClusterInfo.vue +40 -9
- package/components/SortableTable/THead.vue +29 -8
- package/components/SortableTable/filtering.js +7 -0
- package/components/SortableTable/index.vue +204 -45
- package/components/Tabbed/Tab.vue +9 -2
- package/components/Tabbed/index.vue +32 -7
- package/components/TableSparkLine.vue +4 -1
- package/components/Tip.vue +4 -1
- package/components/Wizard.vue +105 -23
- package/components/YamlEditor.vue +5 -1
- package/components/__tests__/.DS_Store +0 -0
- package/components/auth/AllowedPrincipals.vue +21 -5
- package/components/auth/AuthBanner.vue +21 -5
- package/components/auth/AzureWarning.vue +5 -1
- package/components/auth/Principal.vue +37 -9
- package/components/auth/RoleDetailEdit.vue +34 -10
- package/components/auth/SelectPrincipal.vue +20 -3
- package/components/auth/login/github.vue +5 -1
- package/components/auth/login/ldap.vue +10 -2
- package/components/auth/login/oauth.vue +6 -1
- package/components/auth/login/oidc.vue +6 -1
- package/components/auth/login/saml.vue +6 -1
- package/components/fleet/FleetBundles.vue +9 -2
- package/components/fleet/FleetClusters.vue +29 -6
- package/components/fleet/FleetIntro.vue +5 -2
- package/components/fleet/FleetRepos.vue +23 -4
- package/components/fleet/FleetStatus.vue +16 -4
- package/components/fleet/FleetSummary.vue +10 -2
- package/components/fleet/ForceDirectedTreeChart/index.vue +5 -3
- package/components/fleet/ResourcesSummary.vue +5 -1
- package/components/form/ArrayList.vue +31 -8
- package/components/form/ArrayListGrouped.vue +9 -3
- package/components/form/ArrayListSelect.vue +6 -1
- package/components/form/BannerSettings.vue +8 -2
- package/components/form/ChangePassword.vue +50 -10
- package/components/form/ColorInput.vue +28 -5
- package/components/form/Command.vue +5 -2
- package/components/form/EnvVars.vue +4 -1
- package/components/form/Error.vue +10 -2
- package/components/form/FileImageSelector.vue +1 -1
- package/components/form/FileSelector.vue +8 -2
- package/components/form/Footer.vue +14 -4
- package/components/form/GithubPicker.vue +16 -9
- package/components/form/HookOption.vue +5 -1
- package/components/form/InputWithSelect.vue +1 -1
- package/components/form/KeyValue.vue +81 -19
- package/components/form/LabeledSelect.vue +55 -8
- package/components/form/Labels.vue +1 -1
- package/components/form/LifecycleHooks.vue +10 -2
- package/components/form/MatchExpressions.vue +11 -3
- package/components/form/Members/ClusterPermissionsEditor.vue +21 -4
- package/components/form/Members/MembershipEditor.vue +11 -2
- package/components/form/NameNsDescription.vue +16 -10
- package/components/form/Networking.vue +3 -3
- package/components/form/NodeAffinity.vue +4 -1
- package/components/form/NodeScheduling.vue +5 -1
- package/components/form/Password.vue +32 -7
- package/components/form/PlusMinus.vue +18 -3
- package/components/form/PodAffinity.vue +12 -5
- package/components/form/PodSecurity.vue +20 -4
- package/components/form/Ports.vue +37 -11
- package/components/form/Probe.vue +18 -4
- package/components/form/ProjectMemberEditor.vue +24 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +4 -1
- package/components/form/ResourceQuota/Project.vue +7 -1
- package/components/form/ResourceQuota/ProjectRow.vue +11 -2
- package/components/form/ResourceSelector.vue +145 -0
- package/components/form/ResourceTabs/index.vue +38 -7
- package/components/form/RuleSelector.vue +15 -4
- package/components/form/SecretSelector.vue +4 -1
- package/components/form/Security.vue +2 -2
- package/components/form/Select.vue +8 -3
- package/components/form/SelectOrCreateAuthSecret.vue +43 -9
- package/components/form/ServiceNameSelect.vue +2 -2
- package/components/form/ServicePorts.vue +58 -17
- package/components/form/Tolerations.vue +34 -7
- package/components/form/ValueFromResource.vue +10 -2
- package/components/form/WorkloadPorts.vue +36 -8
- package/components/form/__tests__/MatchExpressions.test.ts +1 -2
- package/components/formatter/AppSummaryGraph.vue +24 -6
- package/components/formatter/BadgeStateFormatter.vue +4 -1
- package/components/formatter/Checked.vue +4 -1
- package/components/formatter/ClusterLink.vue +4 -1
- package/components/formatter/Date.vue +1 -1
- package/components/formatter/DelayedValue.vue +4 -1
- package/components/formatter/Endpoints.vue +5 -1
- package/components/formatter/ExternalLink.vue +5 -1
- package/components/formatter/FleetSummaryGraph.vue +20 -5
- package/components/formatter/IconText.vue +4 -1
- package/components/formatter/ImagePercentageBar.vue +5 -1
- package/components/formatter/IngressFullPath.vue +6 -1
- package/components/formatter/IngressTarget.vue +22 -5
- package/components/formatter/InternalExternalIP.vue +12 -2
- package/components/formatter/KeyValue.vue +5 -1
- package/components/formatter/Link.vue +30 -6
- package/components/formatter/LinkDetail.vue +4 -1
- package/components/formatter/LinkDetailImage.vue +1 -1
- package/components/formatter/ListLink.vue +10 -2
- package/components/formatter/ListLinkDetail.vue +6 -1
- package/components/formatter/LiveDate.vue +13 -3
- package/components/formatter/LiveExpiryDate.vue +18 -4
- package/components/formatter/LivePodRestarts.vue +4 -1
- package/components/formatter/MachineSummaryGraph.vue +25 -6
- package/components/formatter/Number.vue +4 -1
- package/components/formatter/PodsUsage.vue +4 -1
- package/components/formatter/Principal.vue +5 -1
- package/components/formatter/PrincipalGroupBindings.vue +4 -1
- package/components/formatter/ReceiverIcons.vue +9 -3
- package/components/formatter/RunBookLink.vue +6 -1
- package/components/formatter/Scale.vue +45 -10
- package/components/formatter/ScanResult.vue +4 -1
- package/components/formatter/SecretData.vue +5 -2
- package/components/formatter/SecretType.vue +4 -1
- package/components/formatter/ServiceTargets.vue +16 -4
- package/components/formatter/Shortened.vue +8 -2
- package/components/formatter/VirtualServiceGateways.vue +8 -2
- package/components/formatter/Weight.vue +19 -4
- package/components/formatter/WorkloadDetailEndpoints.vue +5 -1
- package/components/formatter/WorkloadHealthScale.vue +42 -8
- package/components/graph/AspectPreserver.vue +14 -3
- package/components/graph/Bar.vue +14 -3
- package/components/graph/Circle.vue +36 -7
- package/components/graph/HalfCircle.vue +6 -1
- package/components/graph/LinePlot.vue +3 -6
- package/components/graph/ProgressArc.vue +8 -2
- package/components/nav/GlobalLoading.vue +4 -1
- package/components/nav/Group.vue +39 -9
- package/components/nav/Header.vue +154 -37
- package/components/nav/Jump.vue +6 -2
- package/components/nav/NamespaceFilter.vue +112 -24
- package/components/nav/TopLevelMenu.vue +108 -24
- package/components/nav/Type.vue +18 -4
- package/components/nav/WindowManager/ChartReadme.vue +4 -1
- package/components/nav/WindowManager/ContainerLogs.vue +92 -19
- package/components/nav/WindowManager/ContainerShell.vue +26 -6
- package/components/nav/WindowManager/Window.vue +8 -2
- package/components/nav/WindowManager/index.vue +17 -4
- package/config/labels-annotations.js +5 -42
- package/config/private-label.js +5 -2
- package/config/product/explorer.js +8 -2
- package/config/roles.ts +2 -1
- package/config/{settings.js → settings.ts} +33 -50
- package/config/types.js +2 -0
- package/content/docs/en-us/getting-started.md +3 -3
- package/content/docs/en-us/whats-new.md +9 -123
- package/core/plugins.js +11 -8
- package/creators/app/{files/.eslintignore → .eslintignore} +0 -0
- package/creators/app/{files/.eslintrc.js → .eslintrc.js} +0 -0
- package/creators/app/{files/.vscode → .vscode}/settings.json +0 -0
- package/creators/app/{files/babel.config.js → babel.config.js} +0 -0
- package/creators/app/init +17 -16
- package/creators/app/{files/nuxt.config.js → nuxt.config.js} +0 -0
- package/creators/app/package.json +1 -7
- package/creators/app/{files/tsconfig.json → tsconfig.json} +1 -2
- package/creators/pkg/{files/babel.config.js → babel.config.js} +0 -0
- package/creators/pkg/{files/index.ts → index.ts} +0 -0
- package/creators/pkg/init +1 -1
- package/creators/pkg/nuxt.config.js +6 -0
- package/creators/pkg/package-lock.json +37 -0
- package/creators/pkg/package.json +1 -1
- package/creators/pkg/{files/tsconfig.json → tsconfig.json} +12 -13
- package/creators/pkg/{files/vue.config.js → vue.config.js} +0 -0
- package/detail/autoscaling.horizontalpodautoscaler/index.vue +12 -3
- package/detail/catalog.cattle.io.app.vue +41 -8
- package/detail/catalog.cattle.io.clusterrepo.vue +4 -1
- package/detail/cis.cattle.io.clusterscan.vue +23 -5
- package/detail/configmap.vue +18 -4
- package/detail/constraints.gatekeeper.sh.constraint.vue +4 -1
- package/detail/fleet.cattle.io.cluster.vue +14 -3
- package/detail/fleet.cattle.io.clustergroup.vue +9 -2
- package/detail/fleet.cattle.io.gitrepo.vue +16 -3
- package/detail/harvesterhci.io.management.cluster.vue +5 -1
- package/detail/helm.cattle.io.projecthelmchart.vue +49 -13
- package/detail/management.cattle.io.fleetworkspace.vue +19 -4
- package/detail/management.cattle.io.roletemplate.vue +4 -1
- package/detail/management.cattle.io.user.vue +26 -5
- package/detail/namespace.vue +6 -4
- package/detail/networking.k8s.io.ingress.vue +16 -3
- package/detail/node.vue +83 -18
- package/detail/pod.vue +27 -5
- package/detail/provisioning.cattle.io.cluster.vue +195 -43
- package/detail/secret.vue +78 -19
- package/detail/service.vue +9 -2
- package/detail/workload/index.vue +81 -17
- package/dialog/AddClusterMemberDialog.vue +25 -6
- package/dialog/AddCustomBadgeDialog.vue +43 -10
- package/dialog/AddProjectMemberDialog.vue +27 -7
- package/dialog/AddonConfigConfirmationDialog.vue +17 -4
- package/dialog/DiagnosticTimingsDialog.vue +27 -6
- package/dialog/DrainNode.vue +46 -11
- package/dialog/ForceMachineRemoveDialog.vue +35 -8
- package/dialog/GenericPrompt.vue +28 -7
- package/dialog/RollbackWorkloadDialog.vue +45 -11
- package/dialog/RotateCertificatesDialog.vue +31 -6
- package/dialog/RotateEncryptionKeyDialog.vue +41 -10
- package/dialog/SaveAsRKETemplateDialog.vue +31 -7
- package/dialog/ScaleMachineDownDialog.vue +13 -3
- package/edit/__tests__/management.cattle.io.setting.test.ts +87 -0
- package/edit/auth/azuread.vue +20 -6
- package/edit/auth/github.vue +52 -11
- package/edit/auth/googleoauth.vue +81 -17
- package/edit/auth/ldap/config.vue +164 -31
- package/edit/auth/ldap/index.vue +29 -7
- package/edit/auth/oidc.vue +36 -8
- package/edit/auth/saml.vue +57 -12
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +9 -2
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +23 -6
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +8 -2
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +16 -4
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +13 -3
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +9 -2
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +6 -1
- package/edit/catalog.cattle.io.clusterrepo.vue +15 -3
- package/edit/cis.cattle.io.clusterscan.vue +53 -11
- package/edit/cis.cattle.io.clusterscanbenchmark.vue +15 -3
- package/edit/cis.cattle.io.clusterscanprofile.vue +13 -3
- package/edit/configmap.vue +5 -1
- package/edit/constraints.gatekeeper.sh.constraint/index.vue +40 -9
- package/edit/fleet.cattle.io.cluster.vue +6 -2
- package/edit/fleet.cattle.io.clustergroup.vue +12 -3
- package/edit/fleet.cattle.io.gitrepo.vue +25 -5
- package/edit/group.principal.vue +6 -1
- package/edit/harvesterhci.io.management.cluster.vue +22 -5
- package/edit/k8s.cni.cncf.io.networkattachmentdefinition.vue +11 -2
- package/edit/logging-flow/Match.vue +2 -2
- package/edit/logging-flow/index.vue +67 -14
- package/edit/logging.banzaicloud.io.output/index.vue +37 -8
- package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +7 -2
- package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +19 -4
- package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +24 -4
- package/edit/logging.banzaicloud.io.output/providers/datadog.vue +20 -5
- package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +21 -5
- package/edit/logging.banzaicloud.io.output/providers/file.vue +6 -1
- package/edit/logging.banzaicloud.io.output/providers/forward.vue +8 -3
- package/edit/logging.banzaicloud.io.output/providers/gcs.vue +25 -5
- package/edit/logging.banzaicloud.io.output/providers/gelf.vue +46 -8
- package/edit/logging.banzaicloud.io.output/providers/kafka.vue +26 -6
- package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +7 -2
- package/edit/logging.banzaicloud.io.output/providers/logdna.vue +20 -4
- package/edit/logging.banzaicloud.io.output/providers/logz.vue +8 -3
- package/edit/logging.banzaicloud.io.output/providers/loki.vue +34 -8
- package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +1 -1
- package/edit/logging.banzaicloud.io.output/providers/s3.vue +25 -5
- package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +33 -7
- package/edit/logging.banzaicloud.io.output/providers/syslog.vue +57 -12
- package/edit/management.cattle.io.clusterroletemplatebinding.vue +10 -2
- package/edit/management.cattle.io.fleetworkspace.vue +17 -4
- package/edit/management.cattle.io.project.vue +7 -1
- package/edit/management.cattle.io.roletemplate.vue +4 -1
- package/edit/management.cattle.io.setting.vue +71 -30
- package/edit/management.cattle.io.user.vue +4 -1
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +24 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/index.vue +24 -5
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +29 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/tls.vue +12 -3
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +50 -9
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +31 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +29 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +8 -2
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +36 -7
- package/edit/monitoring.coreos.com.prometheusrule/AlertingRule.vue +24 -6
- package/edit/monitoring.coreos.com.prometheusrule/GroupRules.vue +16 -6
- package/edit/monitoring.coreos.com.prometheusrule/index.vue +10 -2
- package/edit/monitoring.coreos.com.receiver/auth.vue +36 -7
- package/edit/monitoring.coreos.com.receiver/index.vue +53 -11
- package/edit/monitoring.coreos.com.receiver/tls.vue +22 -4
- package/edit/monitoring.coreos.com.receiver/types/email.vue +48 -8
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +32 -6
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +22 -4
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +4 -1
- package/edit/monitoring.coreos.com.receiver/types/webhook.banner.vue +5 -1
- package/edit/monitoring.coreos.com.receiver/types/webhook.vue +31 -6
- package/edit/monitoring.coreos.com.route.vue +71 -15
- package/edit/namespace.vue +35 -7
- package/edit/networking.istio.io.destinationrule/LoadBalancer.vue +12 -3
- package/edit/networking.istio.io.destinationrule/index.vue +5 -3
- package/edit/networking.k8s.io.ingress/Certificate.vue +10 -2
- package/edit/networking.k8s.io.ingress/Certificates.vue +6 -1
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +16 -4
- package/edit/networking.k8s.io.ingress/Rule.vue +21 -5
- package/edit/networking.k8s.io.ingress/RulePath.vue +27 -6
- package/edit/networking.k8s.io.ingress/Rules.vue +7 -1
- package/edit/networking.k8s.io.ingress/index.vue +52 -9
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +20 -4
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +8 -2
- package/edit/networking.k8s.io.networkpolicy/index.vue +36 -8
- package/edit/node.vue +13 -3
- package/edit/persistentvolume/index.vue +48 -8
- package/edit/persistentvolume/plugins/awsElasticBlockStore.vue +19 -3
- package/edit/persistentvolume/plugins/azureDisk.vue +20 -3
- package/edit/persistentvolume/plugins/azureFile.vue +18 -3
- package/edit/persistentvolume/plugins/cephfs.vue +35 -6
- package/edit/persistentvolume/plugins/cinder.vue +24 -4
- package/edit/persistentvolume/plugins/csi.vue +72 -12
- package/edit/persistentvolume/plugins/fc.vue +23 -4
- package/edit/persistentvolume/plugins/flexVolume.vue +30 -5
- package/edit/persistentvolume/plugins/flocker.vue +12 -2
- package/edit/persistentvolume/plugins/gcePersistentDisk.vue +19 -3
- package/edit/persistentvolume/plugins/glusterfs.vue +12 -2
- package/edit/persistentvolume/plugins/hostPath.vue +12 -2
- package/edit/persistentvolume/plugins/iscsi.vue +54 -9
- package/edit/persistentvolume/plugins/local.vue +6 -1
- package/edit/persistentvolume/plugins/longhorn.vue +13 -2
- package/edit/persistentvolume/plugins/nfs.vue +12 -2
- package/edit/persistentvolume/plugins/photonPersistentDisk.vue +12 -2
- package/edit/persistentvolume/plugins/portworxVolume.vue +12 -2
- package/edit/persistentvolume/plugins/quobyte.vue +24 -4
- package/edit/persistentvolume/plugins/rbd.vue +47 -8
- package/edit/persistentvolume/plugins/scaleIO.vue +54 -9
- package/edit/persistentvolume/plugins/storageos.vue +30 -5
- package/edit/persistentvolume/plugins/vsphereVolume.vue +24 -4
- package/edit/persistentvolumeclaim.vue +69 -15
- package/edit/policy.poddisruptionbudget.vue +149 -0
- package/edit/provisioning.cattle.io.cluster/ACE.vue +6 -1
- package/edit/provisioning.cattle.io.cluster/AgentEnv.vue +4 -1
- package/edit/provisioning.cattle.io.cluster/CustomCommand.vue +61 -15
- package/edit/provisioning.cattle.io.cluster/DrainOptions.vue +24 -4
- package/edit/provisioning.cattle.io.cluster/Labels.vue +4 -1
- package/edit/provisioning.cattle.io.cluster/MachinePool.vue +31 -8
- package/edit/provisioning.cattle.io.cluster/RegistryConfigs.vue +16 -3
- package/edit/provisioning.cattle.io.cluster/RegistryMirrors.vue +4 -1
- package/edit/provisioning.cattle.io.cluster/S3Config.vue +35 -6
- package/edit/provisioning.cattle.io.cluster/SelectCredential.vue +21 -5
- package/edit/provisioning.cattle.io.cluster/import.vue +23 -5
- package/edit/provisioning.cattle.io.cluster/index.vue +9 -0
- package/edit/provisioning.cattle.io.cluster/rke2.vue +203 -64
- package/edit/resources.cattle.io.backup.vue +42 -8
- package/edit/resources.cattle.io.restore.vue +53 -11
- package/edit/secret/basic.vue +12 -2
- package/edit/secret/index.vue +29 -7
- package/edit/secret/registry.vue +22 -4
- package/edit/secret/ssh.vue +10 -2
- package/edit/secret/tls.vue +10 -2
- package/edit/service.vue +12 -3
- package/edit/serviceaccount.vue +6 -3
- package/edit/storage.k8s.io.storageclass/index.vue +15 -3
- package/edit/storage.k8s.io.storageclass/provisioners/custom.vue +6 -1
- package/edit/storage.k8s.io.storageclass/provisioners/driver.longhorn.io.vue +6 -1
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +20 -3
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/azure-disk.vue +12 -2
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/azure-file.vue +18 -3
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/cinder.vue +13 -2
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +14 -2
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/glusterfs.vue +54 -9
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/portworx-volume.vue +42 -7
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/quobyte.vue +48 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/rbd.vue +66 -11
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/scaleio.vue +48 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/storageos.vue +30 -5
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +36 -6
- package/edit/token.vue +48 -10
- package/edit/workload/Job.vue +20 -5
- package/edit/workload/Upgrading.vue +28 -7
- package/edit/workload/index.vue +244 -48
- package/edit/workload/storage/azureDisk.vue +5 -1
- package/edit/workload/storage/azureFile.vue +5 -1
- package/edit/workload/storage/csi/driver.longhorn.io.vue +6 -1
- package/edit/workload/storage/csi/index.vue +9 -2
- package/edit/workload/storage/ephemeralVolume/index.vue +38 -8
- package/edit/workload/storage/gcePersistentDisk.vue +10 -2
- package/edit/workload/storage/hostPath.vue +18 -3
- package/edit/workload/storage/persistentVolumeClaim/index.vue +4 -1
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +26 -5
- package/edit/workload/storage/vsphereVolume.vue +10 -2
- package/layouts/blank.vue +1 -1
- package/layouts/default.vue +60 -65
- package/layouts/error.vue +25 -5
- package/layouts/home.vue +17 -4
- package/layouts/plain.vue +13 -3
- package/layouts/unauthenticated.vue +1 -1
- package/list/catalog.cattle.io.app.vue +15 -2
- package/list/catalog.cattle.io.clusterrepo.vue +5 -0
- package/list/cis.cattle.io.clusterscan.vue +6 -0
- package/list/fleet.cattle.io.bundle.vue +14 -2
- package/list/fleet.cattle.io.cluster.vue +10 -1
- package/list/fleet.cattle.io.clustergroup.vue +14 -2
- package/list/fleet.cattle.io.clusterregistrationtoken.vue +11 -3
- package/list/fleet.cattle.io.gitrepo.vue +6 -0
- package/list/group.principal.vue +11 -1
- package/list/harvesterhci.io.management.cluster.vue +25 -6
- package/list/helm.cattle.io.projecthelmchart.vue +23 -5
- package/list/logging.banzaicloud.io.clusterflow.vue +11 -1
- package/list/logging.banzaicloud.io.flow.vue +11 -1
- package/list/management.cattle.io.cluster.vue +12 -1
- package/list/management.cattle.io.feature.vue +71 -15
- package/list/management.cattle.io.setting.vue +44 -10
- package/list/management.cattle.io.user.vue +12 -1
- package/list/monitoring.coreos.com.alertmanagerconfig.vue +6 -0
- package/list/namespace.vue +8 -0
- package/list/node.vue +14 -2
- package/list/persistentvolume.vue +13 -1
- package/list/persistentvolumeclaim.vue +6 -0
- package/list/provisioning.cattle.io.cluster.vue +23 -4
- package/list/service.vue +6 -0
- package/list/ui.cattle.io.navlink.vue +20 -3
- package/list/workload.vue +15 -2
- package/machine-config/amazonec2.vue +12 -3
- package/machine-config/azure.vue +16 -7
- package/machine-config/digitalocean.vue +4 -1
- package/machine-config/generic.vue +4 -1
- package/machine-config/harvester.vue +23 -6
- package/machine-config/linode.vue +4 -1
- package/machine-config/vmwarevsphere.vue +91 -21
- package/mixins/__tests__/create-edit-view.test.ts +19 -0
- package/mixins/brand.js +12 -3
- package/mixins/form-validation.js +108 -33
- package/models/clusterroletemplatebinding.js +2 -5
- package/models/management.cattle.io.cluster.js +7 -1
- package/models/secret.js +9 -1
- package/models/workload.js +3 -3
- package/nuxt.config.js +28 -10
- package/package.json +2 -2
- package/pages/about.vue +41 -9
- package/pages/account/index.vue +20 -5
- package/pages/auth/login.vue +83 -22
- package/pages/auth/logout.vue +1 -1
- package/pages/auth/setup.vue +48 -12
- package/pages/auth/verify.vue +1 -1
- package/pages/c/_cluster/_product/members/index.vue +3 -1
- package/pages/c/_cluster/_product/namespaces.vue +4 -1
- package/pages/c/_cluster/apps/charts/chart.vue +124 -27
- package/pages/c/_cluster/apps/charts/index.vue +35 -8
- package/pages/c/_cluster/apps/charts/install.vue +200 -48
- package/pages/c/_cluster/auth/config/_id.vue +4 -1
- package/pages/c/_cluster/auth/config/index.vue +6 -2
- package/pages/c/_cluster/auth/group.principal/assign-edit.vue +10 -5
- package/pages/c/_cluster/auth/roles/index.vue +33 -7
- package/pages/c/_cluster/explorer/ConfigBadge.vue +4 -1
- package/pages/c/_cluster/explorer/index.vue +109 -24
- package/pages/c/_cluster/explorer/tools/index.vue +76 -17
- package/pages/c/_cluster/explorer/tools/pages/_page.vue +4 -1
- package/pages/c/_cluster/fleet/index.vue +9 -2
- package/pages/c/_cluster/gatekeeper/index.vue +4 -1
- package/pages/c/_cluster/istio/index.vue +20 -8
- package/pages/c/_cluster/legacy/pages/_page.vue +4 -1
- package/pages/c/_cluster/legacy/project/_page.vue +4 -1
- package/pages/c/_cluster/legacy/project/index.vue +4 -1
- package/pages/c/_cluster/legacy/project/pipelines.vue +27 -5
- package/pages/c/_cluster/logging/index.vue +4 -1
- package/pages/c/_cluster/longhorn/index.vue +16 -5
- package/pages/c/_cluster/manager/cloudCredential/index.vue +15 -3
- package/pages/c/_cluster/monitoring/alertmanagerconfig/_alertmanagerconfigid/receiver.vue +1 -1
- package/pages/c/_cluster/monitoring/index.vue +14 -5
- package/pages/c/_cluster/monitoring/monitor/index.vue +24 -6
- package/pages/c/_cluster/monitoring/route-receiver/index.vue +25 -6
- package/pages/c/_cluster/neuvector/index.vue +16 -5
- package/pages/c/_cluster/settings/DefaultLinksEditor.vue +25 -7
- package/pages/c/_cluster/settings/banners.vue +10 -2
- package/pages/c/_cluster/settings/brand.vue +75 -17
- package/pages/c/_cluster/settings/links.vue +16 -4
- package/pages/c/_cluster/settings/performance.vue +22 -5
- package/pages/c/_cluster/uiplugins/DeveloperInstallDialog.vue +19 -4
- package/pages/c/_cluster/uiplugins/InstallDialog.vue +14 -3
- package/pages/c/_cluster/uiplugins/PluginInfoPanel.vue +54 -12
- package/pages/c/_cluster/uiplugins/RemoveUIPlugins.vue +18 -4
- package/pages/c/_cluster/uiplugins/SetupUIPlugins.vue +14 -3
- package/pages/c/_cluster/uiplugins/UninstallDialog.vue +9 -2
- package/pages/c/_cluster/uiplugins/index.vue +149 -34
- package/pages/diagnostic.vue +14 -5
- package/pages/docs/_doc.vue +22 -5
- package/pages/fail-whale.vue +26 -6
- package/pages/home.vue +54 -14
- package/pages/prefs.vue +65 -22
- package/pages/rio/mesh.vue +6 -2
- package/pages/support/index.vue +35 -7
- package/plugins/steve/subscribe.js +1 -1
- package/promptRemove/management.cattle.io.globalrole.vue +9 -3
- package/promptRemove/management.cattle.io.project.vue +14 -5
- package/promptRemove/management.cattle.io.roletemplate.vue +9 -3
- package/promptRemove/pod.vue +15 -3
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +1 -0
- package/rancher-components/StringList/StringList.test.ts +80 -0
- package/rancher-components/StringList/StringList.vue +593 -0
- package/rancher-components/StringList/index.ts +1 -0
- package/scripts/publish-shell.sh +5 -38
- package/scripts/test-plugins-build.sh +5 -9
- package/store/prefs.js +1 -1
- package/types/form.ts +1 -0
- package/types/generic.ts +2 -0
- package/types/t.ts +1 -0
- package/types/userPreferences.d.ts +14 -0
- package/utils/array.ts +21 -0
- package/utils/favicon.js +2 -0
- package/utils/settings.ts +50 -0
- package/utils/validators/formRules/__tests__/index.test.ts +22 -1
- package/utils/validators/formRules/index.ts +68 -43
- package/creators/update/init +0 -54
- package/creators/update/package.json +0 -20
- package/creators/update/upgrade +0 -56
- package/scripts/record-deps.js +0 -37
- package/scripts/typegen.sh +0 -84
- package/types/shell/index.d.ts +0 -3046
- package/types/vue-shim.d +0 -20
|
@@ -219,8 +219,14 @@ export default {
|
|
|
219
219
|
<template>
|
|
220
220
|
<div>
|
|
221
221
|
<!--workload spec.upgradeStrategy -->
|
|
222
|
-
<div
|
|
223
|
-
|
|
222
|
+
<div
|
|
223
|
+
v-if="strategyOptions && !noDeploymentSpec"
|
|
224
|
+
class="row mb-20"
|
|
225
|
+
>
|
|
226
|
+
<div
|
|
227
|
+
class="col"
|
|
228
|
+
data-testid="input-policy-strategy"
|
|
229
|
+
>
|
|
224
230
|
<RadioGroup
|
|
225
231
|
v-model="strategy"
|
|
226
232
|
name="strategy"
|
|
@@ -231,8 +237,14 @@ export default {
|
|
|
231
237
|
/>
|
|
232
238
|
</div>
|
|
233
239
|
</div>
|
|
234
|
-
<div
|
|
235
|
-
|
|
240
|
+
<div
|
|
241
|
+
v-if="isStatefulSet && !noDeploymentSpec"
|
|
242
|
+
class="row mb-20"
|
|
243
|
+
>
|
|
244
|
+
<div
|
|
245
|
+
class="col span-6"
|
|
246
|
+
data-testid="input-policy-pod"
|
|
247
|
+
>
|
|
236
248
|
<RadioGroup
|
|
237
249
|
v-model="podManagementPolicy"
|
|
238
250
|
name="podManagement"
|
|
@@ -249,7 +261,10 @@ export default {
|
|
|
249
261
|
class="row mb-20"
|
|
250
262
|
data-testid="input-policy-surge"
|
|
251
263
|
>
|
|
252
|
-
<div
|
|
264
|
+
<div
|
|
265
|
+
v-if="isDeployment"
|
|
266
|
+
class="col span-6"
|
|
267
|
+
>
|
|
253
268
|
<InputWithSelect
|
|
254
269
|
:text-value="maxSurge"
|
|
255
270
|
:select-before-text="false"
|
|
@@ -280,7 +295,10 @@ export default {
|
|
|
280
295
|
</template>
|
|
281
296
|
|
|
282
297
|
<!-- workload spec -->
|
|
283
|
-
<div
|
|
298
|
+
<div
|
|
299
|
+
v-if="!noDeploymentSpec"
|
|
300
|
+
class="row mb-20"
|
|
301
|
+
>
|
|
284
302
|
<div
|
|
285
303
|
v-if="!isStatefulSet"
|
|
286
304
|
class="col span-6"
|
|
@@ -330,7 +348,10 @@ export default {
|
|
|
330
348
|
</div>
|
|
331
349
|
|
|
332
350
|
<!-- pod spec -->
|
|
333
|
-
<div
|
|
351
|
+
<div
|
|
352
|
+
v-if="!noPodSpec"
|
|
353
|
+
class="row"
|
|
354
|
+
>
|
|
334
355
|
<div
|
|
335
356
|
class="col span-6"
|
|
336
357
|
data-testid="input-policy-termination"
|
package/edit/workload/index.vue
CHANGED
|
@@ -35,7 +35,10 @@ export default {
|
|
|
35
35
|
|
|
36
36
|
<template>
|
|
37
37
|
<Loading v-if="$fetchState.pending" />
|
|
38
|
-
<form
|
|
38
|
+
<form
|
|
39
|
+
v-else
|
|
40
|
+
class="filled-height"
|
|
41
|
+
>
|
|
39
42
|
<CruResource
|
|
40
43
|
:validation-passed="fvFormIsValid"
|
|
41
44
|
:selected-subtype="type"
|
|
@@ -58,8 +61,14 @@ export default {
|
|
|
58
61
|
@change="name=value.metadata.name"
|
|
59
62
|
@isNamespaceNew="isNamespaceNew = $event"
|
|
60
63
|
/>
|
|
61
|
-
<div
|
|
62
|
-
|
|
64
|
+
<div
|
|
65
|
+
v-if="isCronJob || isReplicable || isStatefulSet || containerOptions.length > 1"
|
|
66
|
+
class="row mb-20"
|
|
67
|
+
>
|
|
68
|
+
<div
|
|
69
|
+
v-if="isCronJob"
|
|
70
|
+
class="col span-3"
|
|
71
|
+
>
|
|
63
72
|
<LabeledInput
|
|
64
73
|
v-model="spec.schedule"
|
|
65
74
|
type="cron"
|
|
@@ -70,7 +79,10 @@ export default {
|
|
|
70
79
|
placeholder="0 * * * *"
|
|
71
80
|
/>
|
|
72
81
|
</div>
|
|
73
|
-
<div
|
|
82
|
+
<div
|
|
83
|
+
v-if="isReplicable"
|
|
84
|
+
class="col span-3"
|
|
85
|
+
>
|
|
74
86
|
<LabeledInput
|
|
75
87
|
v-model.number="spec.replicas"
|
|
76
88
|
type="number"
|
|
@@ -80,7 +92,10 @@ export default {
|
|
|
80
92
|
:label="t('workload.replicas')"
|
|
81
93
|
/>
|
|
82
94
|
</div>
|
|
83
|
-
<div
|
|
95
|
+
<div
|
|
96
|
+
v-if="isStatefulSet"
|
|
97
|
+
class="col span-3"
|
|
98
|
+
>
|
|
84
99
|
<LabeledSelect
|
|
85
100
|
v-model="spec.serviceName"
|
|
86
101
|
option-label="metadata.name"
|
|
@@ -92,7 +107,13 @@ export default {
|
|
|
92
107
|
/>
|
|
93
108
|
</div>
|
|
94
109
|
</div>
|
|
95
|
-
<Tabbed
|
|
110
|
+
<Tabbed
|
|
111
|
+
class="deployment-tabs"
|
|
112
|
+
:show-tabs-add-remove="true"
|
|
113
|
+
:default-tab="defaultTab"
|
|
114
|
+
:flat="true"
|
|
115
|
+
@changed="changed"
|
|
116
|
+
>
|
|
96
117
|
<Tab
|
|
97
118
|
v-for="(tab, i) in allContainers"
|
|
98
119
|
:key="i"
|
|
@@ -101,17 +122,40 @@ export default {
|
|
|
101
122
|
:weight="tab.weight"
|
|
102
123
|
:error="!!tab.error"
|
|
103
124
|
>
|
|
104
|
-
<Tabbed
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
125
|
+
<Tabbed
|
|
126
|
+
:side-tabs="true"
|
|
127
|
+
:weight="99"
|
|
128
|
+
>
|
|
129
|
+
<Tab
|
|
130
|
+
:label="t('workload.container.titles.general')"
|
|
131
|
+
name="general"
|
|
132
|
+
:weight="tabWeightMap['general']"
|
|
133
|
+
:error="tabErrors.general"
|
|
134
|
+
>
|
|
135
|
+
<template
|
|
136
|
+
#tab-header-right
|
|
137
|
+
class="tab-content-controls"
|
|
138
|
+
>
|
|
139
|
+
<button
|
|
140
|
+
v-if="allContainers.length > 1 && !isView"
|
|
141
|
+
type="button"
|
|
142
|
+
class="btn-sm role-link"
|
|
143
|
+
@click="removeContainer(tab)"
|
|
144
|
+
>
|
|
108
145
|
{{ t('workload.container.removeContainer') }}
|
|
109
146
|
</button>
|
|
110
147
|
</template>
|
|
111
148
|
<div>
|
|
112
|
-
<div
|
|
149
|
+
<div
|
|
150
|
+
:style="{'align-items':'center'}"
|
|
151
|
+
class="row mb-20"
|
|
152
|
+
>
|
|
113
153
|
<div class="col span-6">
|
|
114
|
-
<LabeledInput
|
|
154
|
+
<LabeledInput
|
|
155
|
+
v-model="allContainers[i].name"
|
|
156
|
+
:mode="mode"
|
|
157
|
+
:label="t('workload.container.containerName')"
|
|
158
|
+
/>
|
|
115
159
|
</div>
|
|
116
160
|
<div class="col span-6">
|
|
117
161
|
<RadioGroup
|
|
@@ -164,7 +208,12 @@ export default {
|
|
|
164
208
|
<div>
|
|
165
209
|
<h3>{{ t('workload.container.titles.ports') }}</h3>
|
|
166
210
|
<div class="row">
|
|
167
|
-
<WorkloadPorts
|
|
211
|
+
<WorkloadPorts
|
|
212
|
+
v-model="allContainers[i].ports"
|
|
213
|
+
:name="value.metadata.name"
|
|
214
|
+
:services="servicesOwned"
|
|
215
|
+
:mode="mode"
|
|
216
|
+
/>
|
|
168
217
|
</div>
|
|
169
218
|
</div>
|
|
170
219
|
<div class="spacer" />
|
|
@@ -191,21 +240,52 @@ export default {
|
|
|
191
240
|
<div class="spacer" />
|
|
192
241
|
<div>
|
|
193
242
|
<h3>{{ t('workload.container.titles.lifecycle') }}</h3>
|
|
194
|
-
<LifecycleHooks
|
|
243
|
+
<LifecycleHooks
|
|
244
|
+
v-model="allContainers[i].lifecycle"
|
|
245
|
+
:mode="mode"
|
|
246
|
+
/>
|
|
195
247
|
</div>
|
|
196
248
|
</Tab>
|
|
197
|
-
<Tab
|
|
249
|
+
<Tab
|
|
250
|
+
:label="t('workload.container.titles.resources')"
|
|
251
|
+
name="resources"
|
|
252
|
+
:weight="tabWeightMap['resources']"
|
|
253
|
+
>
|
|
198
254
|
<!-- Resources and Limitations -->
|
|
199
|
-
<ContainerResourceLimit
|
|
255
|
+
<ContainerResourceLimit
|
|
256
|
+
v-model="flatResources"
|
|
257
|
+
:mode="mode"
|
|
258
|
+
:show-tip="false"
|
|
259
|
+
/>
|
|
200
260
|
</Tab>
|
|
201
261
|
|
|
202
|
-
<Tab
|
|
203
|
-
|
|
262
|
+
<Tab
|
|
263
|
+
v-if="!isInitContainer"
|
|
264
|
+
:label="t('workload.container.titles.healthCheck')"
|
|
265
|
+
name="healthCheck"
|
|
266
|
+
:weight="tabWeightMap['healthCheck']"
|
|
267
|
+
>
|
|
268
|
+
<HealthCheck
|
|
269
|
+
:value="allContainers[i]"
|
|
270
|
+
:mode="mode"
|
|
271
|
+
@input="Object.assign(allContainers[i], $event)"
|
|
272
|
+
/>
|
|
204
273
|
</Tab>
|
|
205
|
-
<Tab
|
|
206
|
-
|
|
274
|
+
<Tab
|
|
275
|
+
:label="t('workload.container.titles.securityContext')"
|
|
276
|
+
name="securityContext"
|
|
277
|
+
:weight="tabWeightMap['securityContext']"
|
|
278
|
+
>
|
|
279
|
+
<Security
|
|
280
|
+
v-model="allContainers[i].securityContext"
|
|
281
|
+
:mode="mode"
|
|
282
|
+
/>
|
|
207
283
|
</Tab>
|
|
208
|
-
<Tab
|
|
284
|
+
<Tab
|
|
285
|
+
:label="t('workload.storage.title')"
|
|
286
|
+
name="storage"
|
|
287
|
+
:weight="tabWeightMap['storage']"
|
|
288
|
+
>
|
|
209
289
|
<ContainerMountPaths
|
|
210
290
|
v-model="podTemplateSpec"
|
|
211
291
|
:namespace="value.metadata.namespace"
|
|
@@ -220,20 +300,55 @@ export default {
|
|
|
220
300
|
</Tab>
|
|
221
301
|
</Tabbed>
|
|
222
302
|
</Tab>
|
|
223
|
-
<Tab
|
|
303
|
+
<Tab
|
|
304
|
+
v-if="!isPod"
|
|
305
|
+
:label="nameDisplayFor(type)"
|
|
306
|
+
:name="nameDisplayFor(type)"
|
|
307
|
+
:weight="99"
|
|
308
|
+
>
|
|
224
309
|
<Tabbed :side-tabs="true">
|
|
225
|
-
<Tab
|
|
226
|
-
|
|
310
|
+
<Tab
|
|
311
|
+
name="labels"
|
|
312
|
+
label-key="generic.labelsAndAnnotations"
|
|
313
|
+
:weight="tabWeightMap['labels']"
|
|
314
|
+
>
|
|
315
|
+
<Labels
|
|
316
|
+
v-model="value"
|
|
317
|
+
:mode="mode"
|
|
318
|
+
/>
|
|
227
319
|
</Tab>
|
|
228
|
-
<Tab
|
|
229
|
-
|
|
230
|
-
|
|
320
|
+
<Tab
|
|
321
|
+
:label="t('workload.container.titles.upgrading')"
|
|
322
|
+
name="upgrading"
|
|
323
|
+
:weight="tabWeightMap['upgrading']"
|
|
324
|
+
>
|
|
325
|
+
<Job
|
|
326
|
+
v-if="isJob || isCronJob"
|
|
327
|
+
v-model="spec"
|
|
328
|
+
:mode="mode"
|
|
329
|
+
:type="type"
|
|
330
|
+
/>
|
|
331
|
+
<Upgrading
|
|
332
|
+
v-else
|
|
333
|
+
v-model="spec"
|
|
334
|
+
:mode="mode"
|
|
335
|
+
:type="type"
|
|
336
|
+
:no-pod-spec="true"
|
|
337
|
+
/>
|
|
231
338
|
</Tab>
|
|
232
339
|
</Tabbed>
|
|
233
340
|
</Tab>
|
|
234
|
-
<Tab
|
|
341
|
+
<Tab
|
|
342
|
+
:label="t('workload.tabs.labels.pod')"
|
|
343
|
+
:name="'pod'"
|
|
344
|
+
:weight="98"
|
|
345
|
+
>
|
|
235
346
|
<Tabbed :side-tabs="true">
|
|
236
|
-
<Tab
|
|
347
|
+
<Tab
|
|
348
|
+
:label="t('workload.storage.title')"
|
|
349
|
+
name="storage"
|
|
350
|
+
:weight="tabWeightMap['storage']"
|
|
351
|
+
>
|
|
237
352
|
<Storage
|
|
238
353
|
v-model="podTemplateSpec"
|
|
239
354
|
:namespace="value.metadata.namespace"
|
|
@@ -247,14 +362,21 @@ export default {
|
|
|
247
362
|
@removePvcForm="clearPvcFormState"
|
|
248
363
|
/>
|
|
249
364
|
</Tab>
|
|
250
|
-
<Tab
|
|
365
|
+
<Tab
|
|
366
|
+
:label="t('workload.container.titles.resources')"
|
|
367
|
+
name="resources"
|
|
368
|
+
:weight="tabWeightMap['resources']"
|
|
369
|
+
>
|
|
251
370
|
<template>
|
|
252
371
|
<div>
|
|
253
372
|
<h3 class="mb-10">
|
|
254
373
|
<t k="workload.scheduling.titles.tolerations" />
|
|
255
374
|
</h3>
|
|
256
375
|
<div class="row">
|
|
257
|
-
<Tolerations
|
|
376
|
+
<Tolerations
|
|
377
|
+
v-model="podTemplateSpec.tolerations"
|
|
378
|
+
:mode="mode"
|
|
379
|
+
/>
|
|
258
380
|
</div>
|
|
259
381
|
</div>
|
|
260
382
|
|
|
@@ -265,42 +387,111 @@ export default {
|
|
|
265
387
|
</h3>
|
|
266
388
|
<div class="row">
|
|
267
389
|
<div class="col span-6">
|
|
268
|
-
<LabeledInput
|
|
390
|
+
<LabeledInput
|
|
391
|
+
v-model.number="podTemplateSpec.priority"
|
|
392
|
+
:mode="mode"
|
|
393
|
+
:label="t('workload.scheduling.priority.priority')"
|
|
394
|
+
/>
|
|
269
395
|
</div>
|
|
270
396
|
<div class="col span-6">
|
|
271
|
-
<LabeledInput
|
|
397
|
+
<LabeledInput
|
|
398
|
+
v-model="podTemplateSpec.priorityClassName"
|
|
399
|
+
:mode="mode"
|
|
400
|
+
:label="t('workload.scheduling.priority.className')"
|
|
401
|
+
/>
|
|
272
402
|
</div>
|
|
273
403
|
</div>
|
|
274
404
|
</div>
|
|
275
405
|
</template>
|
|
276
406
|
</Tab>
|
|
277
|
-
<Tab
|
|
278
|
-
|
|
407
|
+
<Tab
|
|
408
|
+
:label="t('workload.container.titles.podScheduling')"
|
|
409
|
+
name="podScheduling"
|
|
410
|
+
:weight="tabWeightMap['podScheduling']"
|
|
411
|
+
>
|
|
412
|
+
<PodAffinity
|
|
413
|
+
:mode="mode"
|
|
414
|
+
:value="podTemplateSpec"
|
|
415
|
+
:nodes="allNodeObjects"
|
|
416
|
+
:loading="isLoadingSecondaryResources"
|
|
417
|
+
/>
|
|
279
418
|
</Tab>
|
|
280
|
-
<Tab
|
|
281
|
-
|
|
419
|
+
<Tab
|
|
420
|
+
:label="t('workload.container.titles.nodeScheduling')"
|
|
421
|
+
name="nodeScheduling"
|
|
422
|
+
:weight="tabWeightMap['nodeScheduling']"
|
|
423
|
+
>
|
|
424
|
+
<NodeScheduling
|
|
425
|
+
:mode="mode"
|
|
426
|
+
:value="podTemplateSpec"
|
|
427
|
+
:nodes="allNodes"
|
|
428
|
+
:loading="isLoadingSecondaryResources"
|
|
429
|
+
/>
|
|
282
430
|
</Tab>
|
|
283
|
-
<Tab
|
|
284
|
-
|
|
285
|
-
|
|
431
|
+
<Tab
|
|
432
|
+
:label="t('workload.container.titles.upgrading')"
|
|
433
|
+
name="upgrading"
|
|
434
|
+
:weight="tabWeightMap['upgrading']"
|
|
435
|
+
>
|
|
436
|
+
<Job
|
|
437
|
+
v-if="isJob || isCronJob"
|
|
438
|
+
v-model="spec"
|
|
439
|
+
:mode="mode"
|
|
440
|
+
:type="type"
|
|
441
|
+
/>
|
|
442
|
+
<Upgrading
|
|
443
|
+
v-else
|
|
444
|
+
v-model="spec"
|
|
445
|
+
:mode="mode"
|
|
446
|
+
:type="type"
|
|
447
|
+
:no-deployment-spec="true"
|
|
448
|
+
/>
|
|
286
449
|
</Tab>
|
|
287
|
-
<Tab
|
|
450
|
+
<Tab
|
|
451
|
+
:label="t('workload.container.titles.securityContext')"
|
|
452
|
+
name="securityContext"
|
|
453
|
+
:weight="tabWeightMap['securityContext']"
|
|
454
|
+
>
|
|
288
455
|
<div>
|
|
289
456
|
<h3>{{ t('workload.container.security.podFsGroup') }}</h3>
|
|
290
457
|
<div class="row">
|
|
291
458
|
<div class="col span-6">
|
|
292
|
-
<LabeledInput
|
|
459
|
+
<LabeledInput
|
|
460
|
+
v-model.number="podFsGroup"
|
|
461
|
+
type="number"
|
|
462
|
+
:mode="mode"
|
|
463
|
+
:label="t('workload.container.security.fsGroup')"
|
|
464
|
+
/>
|
|
293
465
|
</div>
|
|
294
466
|
</div>
|
|
295
467
|
</div>
|
|
296
468
|
</Tab>
|
|
297
|
-
<Tab
|
|
298
|
-
|
|
469
|
+
<Tab
|
|
470
|
+
:label="t('workload.container.titles.networking')"
|
|
471
|
+
name="networking"
|
|
472
|
+
:weight="tabWeightMap['networking']"
|
|
473
|
+
>
|
|
474
|
+
<Networking
|
|
475
|
+
v-model="podTemplateSpec"
|
|
476
|
+
:mode="mode"
|
|
477
|
+
/>
|
|
299
478
|
</Tab>
|
|
300
|
-
<Tab
|
|
301
|
-
|
|
479
|
+
<Tab
|
|
480
|
+
v-if="isStatefulSet"
|
|
481
|
+
:label="t('workload.container.titles.volumeClaimTemplates')"
|
|
482
|
+
name="volumeClaimTemplates"
|
|
483
|
+
:weight="tabWeightMap['volumeClaimTemplates']"
|
|
484
|
+
>
|
|
485
|
+
<VolumeClaimTemplate
|
|
486
|
+
v-model="spec"
|
|
487
|
+
:mode="mode"
|
|
488
|
+
/>
|
|
302
489
|
</Tab>
|
|
303
|
-
<Tab
|
|
490
|
+
<Tab
|
|
491
|
+
name="labels"
|
|
492
|
+
label-key="generic.labelsAndAnnotations"
|
|
493
|
+
:weight="tabWeightMap['labels']"
|
|
494
|
+
>
|
|
304
495
|
<div>
|
|
305
496
|
<h3>{{ t('workload.container.titles.podLabels') }}</h3>
|
|
306
497
|
<div class="row mb-20">
|
|
@@ -331,7 +522,12 @@ export default {
|
|
|
331
522
|
</Tab>
|
|
332
523
|
<template #tab-row-extras>
|
|
333
524
|
<li class="tablist-controls">
|
|
334
|
-
<button
|
|
525
|
+
<button
|
|
526
|
+
v-if="!isView"
|
|
527
|
+
type="button"
|
|
528
|
+
class="btn-sm role-link"
|
|
529
|
+
@click="addContainerBtn"
|
|
530
|
+
>
|
|
335
531
|
<i class="icon icon-plus icon-lg" /> {{ t('workload.container.addContainer') }}
|
|
336
532
|
</button>
|
|
337
533
|
</li>
|
|
@@ -93,7 +93,11 @@ export default {
|
|
|
93
93
|
</div>
|
|
94
94
|
<div class="row">
|
|
95
95
|
<div class="col span-6">
|
|
96
|
-
<LabeledInput
|
|
96
|
+
<LabeledInput
|
|
97
|
+
v-model="value.azureDisk.fsType"
|
|
98
|
+
:mode="mode"
|
|
99
|
+
:label="t('workload.storage.csi.fsType')"
|
|
100
|
+
/>
|
|
97
101
|
</div>
|
|
98
102
|
</div>
|
|
99
103
|
</div>
|
|
@@ -63,7 +63,11 @@ export default {
|
|
|
63
63
|
</div>
|
|
64
64
|
<div class="row">
|
|
65
65
|
<div class="col span-6">
|
|
66
|
-
<LabeledInput
|
|
66
|
+
<LabeledInput
|
|
67
|
+
v-model="value.azureFile.fsType"
|
|
68
|
+
:mode="mode"
|
|
69
|
+
:label="t('workload.storage.csi.fsType')"
|
|
70
|
+
/>
|
|
67
71
|
</div>
|
|
68
72
|
</div>
|
|
69
73
|
</div>
|
|
@@ -35,7 +35,12 @@ export default {
|
|
|
35
35
|
<template>
|
|
36
36
|
<div class="row">
|
|
37
37
|
<div class="col span-12">
|
|
38
|
-
<KeyValue
|
|
38
|
+
<KeyValue
|
|
39
|
+
v-model="value"
|
|
40
|
+
:mode="mode"
|
|
41
|
+
:as-map="true"
|
|
42
|
+
@input="$emit('input', value)"
|
|
43
|
+
/>
|
|
39
44
|
</div>
|
|
40
45
|
</div>
|
|
41
46
|
</template>
|
|
@@ -79,8 +79,15 @@ export default {
|
|
|
79
79
|
/>
|
|
80
80
|
</div>
|
|
81
81
|
</div>
|
|
82
|
-
<div
|
|
83
|
-
|
|
82
|
+
<div
|
|
83
|
+
v-if="driverComponent"
|
|
84
|
+
class="mb-10"
|
|
85
|
+
>
|
|
86
|
+
<component
|
|
87
|
+
:is="driverComponent"
|
|
88
|
+
v-model="value.csi.volumeAttributes"
|
|
89
|
+
:mode="mode"
|
|
90
|
+
/>
|
|
84
91
|
</div>
|
|
85
92
|
</div>
|
|
86
93
|
</div>
|
|
@@ -48,29 +48,59 @@ export default {
|
|
|
48
48
|
|
|
49
49
|
<template>
|
|
50
50
|
<div>
|
|
51
|
-
<button
|
|
51
|
+
<button
|
|
52
|
+
v-if="mode!=='view'"
|
|
53
|
+
type="button"
|
|
54
|
+
class="role-link btn btn-lg remove-vol"
|
|
55
|
+
@click="$emit('remove')"
|
|
56
|
+
>
|
|
52
57
|
<i class="icon icon-2x icon-x" />
|
|
53
58
|
</button>
|
|
54
59
|
<div>
|
|
55
60
|
<h3>{{ t('workload.storage.subtypes.csi') }}</h3>
|
|
56
61
|
<div class="row mb-10">
|
|
57
62
|
<div class="col span-6">
|
|
58
|
-
<LabeledSelect
|
|
63
|
+
<LabeledSelect
|
|
64
|
+
v-model="value.csi.driver"
|
|
65
|
+
:mode="mode"
|
|
66
|
+
:label="t('workload.storage.driver')"
|
|
67
|
+
:options="driverOpts"
|
|
68
|
+
:get-option-label="opt=>t(`workload.storage.csi.drivers.'${opt}'`)"
|
|
69
|
+
/>
|
|
59
70
|
</div>
|
|
60
71
|
</div>
|
|
61
|
-
<div
|
|
62
|
-
|
|
72
|
+
<div
|
|
73
|
+
v-if="value.csi.driver && driverComponent"
|
|
74
|
+
class="mb-10"
|
|
75
|
+
>
|
|
76
|
+
<component
|
|
77
|
+
:is="driverComponent"
|
|
78
|
+
:value="value.csi.volumeAttributes"
|
|
79
|
+
:mode="mode"
|
|
80
|
+
/>
|
|
63
81
|
</div>
|
|
64
82
|
<div class="row">
|
|
65
83
|
<div class="col span-6">
|
|
66
|
-
<LabeledInput
|
|
84
|
+
<LabeledInput
|
|
85
|
+
v-model="value.csi.fsType"
|
|
86
|
+
:mode="mode"
|
|
87
|
+
:label="t('workload.storage.csi.fsType')"
|
|
88
|
+
/>
|
|
67
89
|
</div>
|
|
68
90
|
<div class="col span-6">
|
|
69
|
-
<Checkbox
|
|
91
|
+
<Checkbox
|
|
92
|
+
v-model="value.csi.readOnly"
|
|
93
|
+
:mode="mode"
|
|
94
|
+
:label="t('workload.storage.readOnly')"
|
|
95
|
+
/>
|
|
70
96
|
</div>
|
|
71
97
|
</div>
|
|
72
98
|
</div>
|
|
73
|
-
<div class="spacer"
|
|
74
|
-
<Mount
|
|
99
|
+
<div class="spacer" />
|
|
100
|
+
<Mount
|
|
101
|
+
:pod-spec="podSpec"
|
|
102
|
+
:name="value.name"
|
|
103
|
+
:mode="mode"
|
|
104
|
+
/>
|
|
75
105
|
</div>
|
|
76
106
|
</template>
|
|
@@ -53,12 +53,20 @@ export default {
|
|
|
53
53
|
/>
|
|
54
54
|
</div>
|
|
55
55
|
<div class="col span-6">
|
|
56
|
-
<LabeledInput
|
|
56
|
+
<LabeledInput
|
|
57
|
+
v-model.number="value.gcePersistentDisk.partition"
|
|
58
|
+
:mode="mode"
|
|
59
|
+
:label="t('workload.storage.csi.partition')"
|
|
60
|
+
/>
|
|
57
61
|
</div>
|
|
58
62
|
</div>
|
|
59
63
|
<div class="row">
|
|
60
64
|
<div class="col span-6">
|
|
61
|
-
<LabeledInput
|
|
65
|
+
<LabeledInput
|
|
66
|
+
v-model="value.gcePersistentDisk.fsType"
|
|
67
|
+
:mode="mode"
|
|
68
|
+
:label="t('workload.storage.csi.fsType')"
|
|
69
|
+
/>
|
|
62
70
|
</div>
|
|
63
71
|
</div>
|
|
64
72
|
</div>
|