dashboard-shell-shell 3.0.5-test.6 → 3.0.5-test.61
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/favicon.png +0 -0
- package/assets/brand/harvester/favicon.png +0 -0
- package/assets/brand/suse/favicon.png +0 -0
- package/assets/icons/demo.css +539 -0
- package/assets/icons/demo.css:Zone.Identifier +0 -0
- package/assets/icons/demo_index.html +1131 -0
- package/assets/icons/demo_index.html:Zone.Identifier +0 -0
- package/assets/icons/iconfont.css +219 -0
- package/assets/icons/iconfont.css:Zone.Identifier +0 -0
- package/assets/icons/iconfont.js +1 -0
- package/assets/icons/iconfont.js:Zone.Identifier +0 -0
- package/assets/icons/iconfont.json +324 -0
- package/assets/icons/iconfont.json:Zone.Identifier +0 -0
- package/assets/icons/iconfont.ttf +0 -0
- package/assets/icons/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff +0 -0
- package/assets/icons/iconfont.woff2 +0 -0
- package/assets/icons/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff:Zone.Identifier +0 -0
- package/assets/iconsNew/demo.css +539 -0
- package/assets/iconsNew/demo.css:Zone.Identifier +0 -0
- package/assets/iconsNew/demo_index.html +303 -0
- package/assets/iconsNew/demo_index.html:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.css +43 -0
- package/assets/iconsNew/iconfont.css:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.js +1 -0
- package/assets/iconsNew/iconfont.js:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.json +44 -0
- package/assets/iconsNew/iconfont.json:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.ttf +0 -0
- package/assets/iconsNew/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.woff +0 -0
- package/assets/iconsNew/iconfont.woff2 +0 -0
- package/assets/iconsNew/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.woff:Zone.Identifier +0 -0
- package/assets/images/API.svg +3 -0
- package/assets/images/action.svg +6 -0
- package/assets/images/login/password.svg +20 -0
- package/assets/images/login/user.svg +6 -0
- package/assets/images/login-bg.png +0 -0
- package/assets/images/login-left.png +0 -0
- package/assets/images/login-logo.svg +44 -0
- package/assets/images/logo.png +0 -0
- package/assets/images/logo.svg +47 -0
- package/assets/images/pl/dark/logo.png +0 -0
- package/assets/images/pl/half-logo.svg +2 -23
- package/assets/images/pl/harvester.png +0 -0
- package/assets/images/pl/logo.png +0 -0
- package/assets/images/promp-yellow.svg +5 -0
- package/assets/images/user.png +0 -0
- package/assets/styles/all.scss +83 -0
- package/assets/styles/app.scss +5 -0
- package/assets/styles/base/_basic.scss +2 -2
- package/assets/styles/base/_helpers.scss +1 -1
- package/assets/styles/base/_mixins.scss +1 -1
- package/assets/styles/base/_typography.scss +2 -1
- package/assets/styles/base/_variables.scss +14 -7
- package/assets/styles/fonts/_icons.scss +3 -2
- package/assets/styles/global/_button.scss +44 -26
- package/assets/styles/global/_columns.scss +3 -1
- package/assets/styles/global/_form.scss +46 -13
- package/assets/styles/global/_labeled-input.scss +54 -26
- package/assets/styles/global/_layout.scss +8 -3
- package/assets/styles/global/_select.scss +25 -17
- package/assets/styles/global/_table.scss +7 -1
- package/assets/styles/global/_tooltip.scss +60 -8
- package/assets/styles/themes/_dark.scss +3 -0
- package/assets/styles/themes/_light.scss +69 -46
- package/assets/styles/vendor/vue-select.scss +24 -10
- package/assets/translations/en-us.yaml +92 -4
- package/assets/translations/zh-hans.yaml +668 -206
- package/components/ActionDropdown.vue +2 -1
- package/components/ActionMenu.vue +2 -2
- package/components/ActionMenuShell.vue +2 -0
- package/components/AppModal.vue +46 -5
- package/components/BrandImage.vue +1 -0
- package/components/ButtonDropdown.vue +28 -4
- package/components/ButtonMultiAction.vue +1 -0
- package/components/ClusterIconMenu.vue +2 -2
- package/components/CodeMirror.vue +26 -10
- package/components/ConsumptionGauge.vue +24 -5
- package/components/ContainerResourceLimit.vue +2 -2
- package/components/CopyToClipboard.vue +15 -0
- package/components/CruResource.vue +12 -10
- package/components/CruResourceFooter.vue +2 -2
- package/components/DashboardOptions.vue +29 -17
- package/components/DotState.vue +84 -0
- package/components/Drawer/Chrome.vue +2 -2
- package/components/Drawer/ResourceDetailDrawer/ConfigTab.vue +30 -27
- package/components/Drawer/ResourceDetailDrawer/YamlTab.vue +1 -1
- package/components/Drawer/ResourceDetailDrawer/index.vue +5 -4
- package/components/ExplorerMembers.vue +28 -4
- package/components/ExplorerProjectsNamespaces.vue +19 -5
- package/components/GlobalRoleBindings.vue +23 -4
- package/components/GrafanaDashboard.vue +4 -4
- package/components/GrowlManager.vue +3 -1
- package/components/HardwareResourceGauge.vue +39 -3
- package/components/IndentedPanel.vue +4 -10
- package/components/InfoBox.vue +3 -3
- package/components/InputOrDisplay.vue +28 -2
- package/components/LabelValue.vue +20 -1
- package/components/ModalWithCard.vue +12 -3
- package/components/PodSecurityAdmission.vue +2 -2
- package/components/PromptModal.vue +1 -1
- package/components/PromptRemove.vue +53 -12
- package/components/RelatedResources.vue +3 -0
- package/components/Resource/Detail/Metadata/IdentifyingInformation/index.vue +1 -3
- package/components/Resource/Detail/Metadata/KeyValue.vue +8 -4
- package/components/Resource/Detail/Metadata/index.vue +3 -1
- package/components/Resource/Detail/TitleBar/Title.vue +4 -3
- package/components/Resource/Detail/TitleBar/Top.vue +2 -0
- package/components/Resource/Detail/TitleBar/composables.ts +16 -1
- package/components/Resource/Detail/TitleBar/index.vue +125 -27
- package/components/ResourceDetail/Masthead/index.vue +1 -1
- package/components/ResourceDetail/Masthead/latest.vue +1 -1
- package/components/ResourceDetail/Masthead/legacy.vue +183 -39
- package/components/ResourceDetail/legacy.vue +47 -29
- package/components/ResourceList/Masthead.vue +222 -54
- package/components/ResourceList/ResourceLoadingIndicator.vue +5 -2
- package/components/ResourceTable.vue +40 -2
- package/components/SideNav.vue +74 -20
- package/components/SingleClusterInfo.vue +2 -1
- package/components/SortableTable/THead.vue +79 -4
- package/components/SortableTable/index.vue +1053 -464
- package/components/SortableTable/paging.js +26 -16
- package/components/SortableTable/selection.js +2 -2
- package/components/Tabbed/Tab.vue +3 -3
- package/components/Tabbed/index.vue +53 -30
- package/components/YamlEditor.vue +0 -1
- package/components/auth/Principal.vue +51 -19
- package/components/auth/RoleDetailEdit.vue +69 -14
- package/components/auth/SelectPrincipal.vue +1 -0
- package/components/breadcrumb/index.vue +119 -0
- package/components/form/ArrayList.vue +177 -152
- package/components/form/ArrayListGrouped.vue +13 -3
- package/components/form/ArrayListSelect.vue +1 -1
- package/components/form/BannerSettings.vue +64 -59
- package/components/form/ChangePassword.vue +5 -5
- package/components/form/ClusterAppearance.vue +4 -3
- package/components/form/ColorInput.vue +32 -8
- package/components/form/Command.vue +4 -5
- package/components/form/Conditions.vue +15 -1
- package/components/form/Footer.vue +12 -8
- package/components/form/HealthCheck.vue +0 -2
- package/components/form/HookOption.vue +87 -58
- package/components/form/InputWithSelect.vue +8 -4
- package/components/form/KeyValue.vue +66 -8
- package/components/form/LabeledSelect.vue +216 -242
- package/components/form/Labels.vue +4 -4
- package/components/form/MatchExpressions.vue +28 -11
- package/components/form/Members/ClusterMembershipEditor.vue +1 -1
- package/components/form/Members/ClusterPermissionsEditor.vue +61 -43
- package/components/form/Members/MembershipEditor.vue +4 -4
- package/components/form/Members/ProjectMembershipEditor.vue +1 -1
- package/components/form/NameNsDescription.vue +62 -22
- package/components/form/Networking.vue +6 -9
- package/components/form/NodeAffinity.vue +29 -28
- package/components/form/Password.vue +16 -7
- package/components/form/PodAffinity.vue +24 -25
- package/components/form/Probe.vue +15 -11
- package/components/form/ProjectMemberEditor.vue +66 -48
- package/components/form/ResourceQuota/Namespace.vue +4 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +26 -23
- package/components/form/ResourceQuota/Project.vue +4 -4
- package/components/form/ResourceQuota/ProjectRow.vue +38 -35
- package/components/form/ResourceSelector.vue +1 -1
- package/components/form/SecretSelector.vue +24 -23
- package/components/form/Security.vue +1 -3
- package/components/form/Select.vue +12 -3
- package/components/form/ServiceNameSelect.vue +2 -5
- package/components/form/ServicePorts.vue +149 -75
- package/components/form/SimpleSecretSelector.vue +29 -9
- package/components/form/Taints.vue +2 -1
- package/components/form/Tolerations.vue +13 -9
- package/components/form/UnitInput.vue +8 -3
- package/components/form/ValueFromResource.vue +110 -96
- package/components/form/WorkloadPorts.vue +143 -123
- package/components/formatter/BadgeStateFormatter.vue +8 -5
- package/components/formatter/LiveDate.vue +3 -3
- package/components/formatter/WorkloadHealthScale.vue +4 -3
- package/components/nav/Favorite.vue +5 -1
- package/components/nav/Group.vue +139 -99
- package/components/nav/Header.vue +138 -164
- package/components/nav/HeaderPageActionMenu.vue +1 -0
- package/components/nav/NamespaceFilter.vue +34 -36
- package/components/nav/TopLevelMenu.vue +62 -25
- package/components/nav/Type.vue +73 -43
- package/composables/useClickOutside.ts +1 -1
- package/config/menuRouteMap.js +10 -0
- package/config/private-label.js +14 -11
- package/config/product/auth.js +17 -7
- package/config/product/explorer.js +32 -10
- package/config/product/manager.js +28 -17
- package/config/product/settings.js +19 -9
- package/config/product/uiplugins.js +13 -10
- package/config/router/navigation-guards/index.js +61 -3
- package/config/settings.ts +28 -0
- package/config/table-headers.js +3 -2
- package/detail/node.vue +28 -23
- package/dialog/AddCustomBadgeDialog.vue +17 -9
- package/dialog/ForceMachineRemoveDialog.vue +2 -2
- package/dialog/RollbackWorkloadDialog.vue +1 -1
- package/dialog/ScalePoolDownDialog.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +9 -6
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +3 -1
- package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +7 -5
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +5 -3
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +2 -2
- package/edit/configmap.vue +4 -0
- package/edit/logging-flow/index.vue +1 -2
- package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +19 -19
- package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/datadog.vue +19 -19
- package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/forward.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/gcs.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/gelf.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/kafka.vue +10 -10
- package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +8 -8
- package/edit/logging.banzaicloud.io.output/providers/logdna.vue +17 -17
- package/edit/logging.banzaicloud.io.output/providers/logz.vue +7 -7
- package/edit/logging.banzaicloud.io.output/providers/loki.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/opensearch.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/redis.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/s3.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +13 -13
- package/edit/logging.banzaicloud.io.output/providers/sumologic.vue +2 -2
- package/edit/logging.banzaicloud.io.output/providers/syslog.vue +54 -54
- package/edit/management.cattle.io.user.vue +17 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +19 -19
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +50 -26
- package/edit/monitoring.coreos.com.alertmanagerconfig/routeConfig.vue +36 -12
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/dingding.vue +32 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/message.vue +52 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/snmp.vue +45 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +1 -1
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/work.vue +31 -0
- package/edit/monitoring.coreos.com.receiver/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +5 -5
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +4 -4
- package/edit/namespace.vue +1 -2
- package/edit/networking.k8s.io.ingress/Certificate.vue +14 -5
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +2 -2
- package/edit/networking.k8s.io.ingress/Rule.vue +5 -11
- package/edit/networking.k8s.io.ingress/RulePath.vue +105 -96
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +3 -3
- package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +4 -2
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +12 -11
- package/edit/networking.k8s.io.networkpolicy/index.vue +1 -1
- package/edit/persistentvolume/index.vue +3 -1
- package/edit/persistentvolumeclaim.vue +2 -0
- package/edit/provisioning.cattle.io.cluster/tabs/Basics.vue +1 -1
- package/edit/secret/index.vue +2 -2
- package/edit/service.vue +4 -1
- package/edit/storage.k8s.io.storageclass/index.vue +10 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +34 -27
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +15 -13
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +41 -39
- package/edit/token.vue +31 -12
- package/edit/workload/Job.vue +31 -34
- package/edit/workload/Upgrading.vue +5 -5
- package/edit/workload/index.vue +22 -18
- package/edit/workload/storage/Mount.vue +1 -0
- package/edit/workload/storage/awsElasticBlockStore.vue +9 -7
- package/edit/workload/storage/azureDisk.vue +14 -10
- package/edit/workload/storage/azureFile.vue +9 -7
- package/edit/workload/storage/csi/index.vue +6 -9
- package/edit/workload/storage/emptyDir.vue +7 -5
- package/edit/workload/storage/gcePersistentDisk.vue +9 -7
- package/edit/workload/storage/hostPath.vue +7 -5
- package/edit/workload/storage/nfs.vue +8 -6
- package/edit/workload/storage/persistentVolumeClaim/index.vue +12 -10
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +20 -15
- package/edit/workload/storage/secret.vue +9 -6
- package/edit/workload/storage/vsphereVolume.vue +11 -7
- package/initialize/app-extended.js +7 -1
- package/list/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +8 -6
- package/list/management.cattle.io.setting.vue +22 -13
- package/list/management.cattle.io.user.vue +7 -3
- package/list/namespace.vue +3 -0
- package/list/provisioning.cattle.io.cluster.vue +6 -7
- package/mixins/brand.js +17 -0
- package/mixins/create-edit-view/impl.js +10 -0
- package/models/provisioning.cattle.io.cluster.js +19 -18
- package/models/workload.js +2 -2
- package/package.json +1 -1
- package/pages/account/index.vue +93 -58
- package/pages/account/pri.vue +229 -0
- package/pages/auth/login.vue +216 -51
- package/pages/auth/setup.vue +175 -33
- package/pages/c/_cluster/_product/namespaces.vue +5 -5
- package/pages/c/_cluster/auth/roles/index.vue +83 -8
- package/pages/c/_cluster/explorer/ConfigBadge.vue +1 -1
- package/pages/c/_cluster/explorer/index.vue +2 -1
- package/pages/c/_cluster/explorer/tools/index.vue +6 -6
- package/pages/c/_cluster/monitoring/monitor/index.vue +2 -2
- package/pages/c/_cluster/settings/banners.vue +174 -102
- package/pages/c/_cluster/settings/brand.vue +350 -302
- package/pages/c/_cluster/settings/performance.vue +61 -38
- package/pages/home.vue +119 -37
- package/pages/prefs.vue +27 -25
- package/pkg/tsconfig.json +9 -9
- package/pkg/vue.config.js +1 -1
- package/plugins/dashboard-store/actions.js +1 -1
- package/plugins/dashboard-store/resource-class.js +28 -27
- package/promptRemove/mixin/roleDeletionCheck.js +2 -2
- package/public/index.html +4 -4
- package/rancher-components/BadgeState/BadgeState.vue +38 -55
- package/rancher-components/Banner/Banner.vue +25 -9
- package/rancher-components/Card/Card.vue +7 -8
- package/rancher-components/Form/Checkbox/Checkbox.vue +4 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +42 -3
- package/rancher-components/Form/Radio/RadioButton.vue +35 -11
- package/rancher-components/Form/Radio/RadioGroup.vue +22 -6
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +3 -3
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +1 -0
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +41 -4
- package/rancher-components/RcDropdown/RcDropdown.vue +35 -7
- package/rancher-components/RcDropdown/RcDropdownItem.vue +2 -2
- package/rancher-components/RcDropdown/RcDropdownMenu.vue +12 -6
- package/rancher-components/RcDropdown/types.ts +1 -0
- package/rancher-components/StringList/StringList.vue +1 -1
- package/scripts/build-pkg.sh +18 -23
- package/scripts/publish-shell.sh +1 -1
- package/static/favicon.ico +0 -0
- package/static/favicon.png +0 -0
- package/static/loading-indicator.html +3 -3
- package/store/i18n.js +6 -2
- package/store/modal.ts +3 -3
- package/store/prefs.js +11 -4
- package/store/type-map.js +30 -2
- package/types/shell/index.d.ts +86 -97
- package/utils/error.js +109 -8
- package/utils/errorTranslate.json +1740 -0
- package/utils/errorTranslateNew.json +39 -0
- package/utils/roleFiltering.js +33 -0
- package/utils/router.js +21 -0
- package/utils/select.js +26 -3
- package/utils/string.js +8 -5
- package/utils/title.ts +1 -1
- package/vue.config.js +1 -1
|
@@ -160,7 +160,7 @@ export default {
|
|
|
160
160
|
<div class="row">
|
|
161
161
|
<div
|
|
162
162
|
data-testid="input-probe-kind"
|
|
163
|
-
class="
|
|
163
|
+
class="span-9-of-23"
|
|
164
164
|
>
|
|
165
165
|
<LabeledSelect
|
|
166
166
|
v-model:value="kind"
|
|
@@ -240,7 +240,7 @@ export default {
|
|
|
240
240
|
</div>
|
|
241
241
|
</div>
|
|
242
242
|
|
|
243
|
-
<div class="
|
|
243
|
+
<div class="span-1-of-13">
|
|
244
244
|
<hr
|
|
245
245
|
v-if="kind && kind!=='none'"
|
|
246
246
|
:style="{'position':'relative', 'margin':'0px'}"
|
|
@@ -252,12 +252,12 @@ export default {
|
|
|
252
252
|
<!-- none -->
|
|
253
253
|
<div
|
|
254
254
|
v-if="!isNone"
|
|
255
|
-
class="
|
|
255
|
+
class="span-11-of-23 ml-30"
|
|
256
256
|
>
|
|
257
257
|
<div class="row">
|
|
258
258
|
<div
|
|
259
259
|
data-testid="input-probe-periodSeconds"
|
|
260
|
-
class="col
|
|
260
|
+
class="col"
|
|
261
261
|
>
|
|
262
262
|
<UnitInput
|
|
263
263
|
v-model:value="probe.periodSeconds"
|
|
@@ -269,9 +269,12 @@ export default {
|
|
|
269
269
|
@update:value="update"
|
|
270
270
|
/>
|
|
271
271
|
</div>
|
|
272
|
+
</div>
|
|
273
|
+
|
|
274
|
+
<div class="row">
|
|
272
275
|
<div
|
|
273
276
|
data-testid="input-probe-initialDelaySeconds"
|
|
274
|
-
class="col
|
|
277
|
+
class="col"
|
|
275
278
|
>
|
|
276
279
|
<UnitInput
|
|
277
280
|
v-model:value="probe.initialDelaySeconds"
|
|
@@ -283,9 +286,11 @@ export default {
|
|
|
283
286
|
@update:value="update"
|
|
284
287
|
/>
|
|
285
288
|
</div>
|
|
289
|
+
</div>
|
|
290
|
+
<div class="row">
|
|
286
291
|
<div
|
|
287
292
|
data-testid="input-probe-timeoutSeconds"
|
|
288
|
-
class="col
|
|
293
|
+
class="col"
|
|
289
294
|
>
|
|
290
295
|
<UnitInput
|
|
291
296
|
v-model:value="probe.timeoutSeconds"
|
|
@@ -299,12 +304,10 @@ export default {
|
|
|
299
304
|
</div>
|
|
300
305
|
</div>
|
|
301
306
|
|
|
302
|
-
<div class="spacer-small" />
|
|
303
|
-
|
|
304
307
|
<div class="row">
|
|
305
308
|
<div
|
|
306
309
|
data-testid="input-probe-successThreshold"
|
|
307
|
-
class="col
|
|
310
|
+
class="col"
|
|
308
311
|
>
|
|
309
312
|
<LabeledInput
|
|
310
313
|
v-model:value.number="probe.successThreshold"
|
|
@@ -316,9 +319,11 @@ export default {
|
|
|
316
319
|
@update:value="update"
|
|
317
320
|
/>
|
|
318
321
|
</div>
|
|
322
|
+
</div>
|
|
323
|
+
<div class="row">
|
|
319
324
|
<div
|
|
320
325
|
data-testid="input-probe-failureThreshold"
|
|
321
|
-
class="col
|
|
326
|
+
class="col"
|
|
322
327
|
>
|
|
323
328
|
<LabeledInput
|
|
324
329
|
v-model:value.number="probe.failureThreshold"
|
|
@@ -333,7 +338,6 @@ export default {
|
|
|
333
338
|
</div>
|
|
334
339
|
|
|
335
340
|
<template v-if="kind === 'HTTP' || kind === 'HTTPS'">
|
|
336
|
-
<div class="spacer-small" />
|
|
337
341
|
|
|
338
342
|
<div class="row">
|
|
339
343
|
<div class="col span-12">
|
|
@@ -166,29 +166,44 @@ export default {
|
|
|
166
166
|
value: this.purifyOption(role.id),
|
|
167
167
|
}));
|
|
168
168
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
169
|
+
let optionList = [{
|
|
170
|
+
label: this.t('members.clusterPermissions.project-tenant.label'),
|
|
171
|
+
description: this.t('members.clusterPermissions.project-tenant.description'),
|
|
172
|
+
value: 'project-tenant'
|
|
173
|
+
}];
|
|
174
|
+
|
|
175
|
+
if (sessionStorage.getItem('TOPLEVELPERMISSIONS') === 'superadmin') {
|
|
176
|
+
optionList = [
|
|
177
|
+
{
|
|
178
|
+
label: this.t('members.clusterPermissions.project-tenant.label'),
|
|
179
|
+
description: this.t('members.clusterPermissions.project-tenant.description'),
|
|
180
|
+
value: 'project-tenant'
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
label: this.t('projectMembers.projectPermissions.owner.label'),
|
|
184
|
+
description: this.t('projectMembers.projectPermissions.owner.description'),
|
|
185
|
+
value: 'owner'
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
label: this.t('projectMembers.projectPermissions.member.label'),
|
|
189
|
+
description: this.t('projectMembers.projectPermissions.member.description'),
|
|
190
|
+
value: 'member'
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
label: this.t('projectMembers.projectPermissions.readOnly.label'),
|
|
194
|
+
description: this.t('projectMembers.projectPermissions.readOnly.description'),
|
|
195
|
+
value: 'read-only'
|
|
196
|
+
},
|
|
197
|
+
...customRoles,
|
|
198
|
+
{
|
|
199
|
+
label: this.t('projectMembers.projectPermissions.custom.label'),
|
|
200
|
+
description: this.t('projectMembers.projectPermissions.custom.description'),
|
|
201
|
+
value: 'custom'
|
|
202
|
+
}
|
|
203
|
+
];
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
return optionList
|
|
192
207
|
},
|
|
193
208
|
customPermissionsUpdate() {
|
|
194
209
|
return this.customPermissions.reduce((acc, customPermissionsItem) => {
|
|
@@ -284,33 +299,36 @@ export default {
|
|
|
284
299
|
</div>
|
|
285
300
|
</template>
|
|
286
301
|
<template v-slot:body>
|
|
287
|
-
<
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
class="custom-permissions ml-20 mt-10"
|
|
296
|
-
:class="{'two-column': useTwoColumnsForCustom}"
|
|
297
|
-
>
|
|
302
|
+
<div style="max-height: 250px; overflow: auto;">
|
|
303
|
+
<RadioGroup
|
|
304
|
+
v-model:value="value.permissionGroup"
|
|
305
|
+
data-testid="permission-options"
|
|
306
|
+
:options="options"
|
|
307
|
+
:flexDirection="'column'"
|
|
308
|
+
name="permission-group"
|
|
309
|
+
/>
|
|
298
310
|
<div
|
|
299
|
-
v-
|
|
300
|
-
|
|
311
|
+
v-if="value.permissionGroup === 'custom'"
|
|
312
|
+
class="custom-permissions ml-20 mt-10"
|
|
313
|
+
:class="{'two-column': useTwoColumnsForCustom}"
|
|
301
314
|
>
|
|
302
|
-
<
|
|
303
|
-
v-
|
|
304
|
-
:
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
315
|
+
<div
|
|
316
|
+
v-for="(permission, i) in customPermissionsUpdate"
|
|
317
|
+
:key="i"
|
|
318
|
+
>
|
|
319
|
+
<Checkbox
|
|
320
|
+
v-model:value="permission.value"
|
|
321
|
+
:data-testid="`custom-permission-${i}`"
|
|
322
|
+
:disabled="permission.locked"
|
|
323
|
+
class="mb-5"
|
|
324
|
+
:label="permission.label"
|
|
325
|
+
/>
|
|
326
|
+
<i
|
|
327
|
+
v-if="permission.locked"
|
|
328
|
+
v-clean-tooltip="permission.tooltip"
|
|
329
|
+
class="icon icon-lock icon-fw"
|
|
330
|
+
/>
|
|
331
|
+
</div>
|
|
314
332
|
</div>
|
|
315
333
|
</div>
|
|
316
334
|
</template>
|
|
@@ -72,13 +72,13 @@ export default {
|
|
|
72
72
|
<template>
|
|
73
73
|
<div>
|
|
74
74
|
<div class="headers mb-10">
|
|
75
|
-
<div
|
|
75
|
+
<div style="width: 450px;">
|
|
76
76
|
<label>{{ t('resourceQuota.headers.resourceType') }}</label>
|
|
77
77
|
</div>
|
|
78
|
-
<div
|
|
78
|
+
<div style="width: 450px;">
|
|
79
79
|
<label>{{ t('resourceQuota.headers.projectResourceAvailability') }}</label>
|
|
80
80
|
</div>
|
|
81
|
-
<div
|
|
81
|
+
<div style="width: 450px;">
|
|
82
82
|
<label>{{ t('resourceQuota.headers.limit') }}</label>
|
|
83
83
|
</div>
|
|
84
84
|
</div>
|
|
@@ -101,7 +101,7 @@ export default {
|
|
|
101
101
|
.headers {
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-direction: row;
|
|
104
|
-
justify-content:
|
|
104
|
+
justify-content: left;
|
|
105
105
|
align-items: center;
|
|
106
106
|
border-bottom: 1px solid var(--border);
|
|
107
107
|
height: 30px;
|
|
@@ -173,16 +173,17 @@ export default {
|
|
|
173
173
|
<template>
|
|
174
174
|
<div
|
|
175
175
|
v-if="typeOption"
|
|
176
|
-
class="
|
|
176
|
+
class="rowNew"
|
|
177
177
|
>
|
|
178
|
-
<
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
178
|
+
<div style="width: 450px;">
|
|
179
|
+
<Select
|
|
180
|
+
:mode="mode"
|
|
181
|
+
:value="type"
|
|
182
|
+
:disabled="true"
|
|
183
|
+
:options="types"
|
|
184
|
+
/>
|
|
185
|
+
</div>
|
|
186
|
+
<div style="width: 450px;" class="resource-availability">
|
|
186
187
|
<PercentageBar
|
|
187
188
|
v-clean-tooltip="tooltip"
|
|
188
189
|
class="percentage-bar"
|
|
@@ -191,16 +192,18 @@ export default {
|
|
|
191
192
|
:color-stops="{'100': '--primary'}"
|
|
192
193
|
/>
|
|
193
194
|
</div>
|
|
194
|
-
<
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
195
|
+
<div style="width: 450px;">
|
|
196
|
+
<UnitInput
|
|
197
|
+
:value="value.limit[type]"
|
|
198
|
+
:mode="mode"
|
|
199
|
+
:placeholder="typeOption.placeholder"
|
|
200
|
+
:increment="typeOption.increment"
|
|
201
|
+
:input-exponent="typeOption.inputExponent"
|
|
202
|
+
:base-unit="typeOption.baseUnit"
|
|
203
|
+
:output-modifier="true"
|
|
204
|
+
@update:value="update"
|
|
205
|
+
/>
|
|
206
|
+
</div>
|
|
204
207
|
</div>
|
|
205
208
|
</template>
|
|
206
209
|
|
|
@@ -208,13 +211,13 @@ export default {
|
|
|
208
211
|
.resource-availability {
|
|
209
212
|
align-self: center;
|
|
210
213
|
}
|
|
211
|
-
.
|
|
214
|
+
.rowNew {
|
|
215
|
+
margin-bottom: 10px;
|
|
212
216
|
display: flex;
|
|
213
|
-
|
|
214
|
-
justify-content: space-evenly;
|
|
217
|
+
justify-content: left;
|
|
215
218
|
|
|
216
219
|
& > * {
|
|
217
|
-
width:
|
|
220
|
+
width: 400px;
|
|
218
221
|
}
|
|
219
222
|
}
|
|
220
223
|
</style>
|
|
@@ -57,14 +57,14 @@ export default {
|
|
|
57
57
|
</script>
|
|
58
58
|
<template>
|
|
59
59
|
<div>
|
|
60
|
-
<div class="headers mb-10">
|
|
61
|
-
<div
|
|
60
|
+
<div style="justify-content: left;" class="headers mb-10">
|
|
61
|
+
<div style="width: 450px;">
|
|
62
62
|
<label>{{ t('resourceQuota.headers.resourceType') }}</label>
|
|
63
63
|
</div>
|
|
64
|
-
<div
|
|
64
|
+
<div style="width: 450px;">
|
|
65
65
|
<label>{{ t('resourceQuota.headers.projectLimit') }}</label>
|
|
66
66
|
</div>
|
|
67
|
-
<div
|
|
67
|
+
<div style="width: 450px;">
|
|
68
68
|
<label>{{ t('resourceQuota.headers.namespaceDefaultLimit') }}</label>
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
@@ -70,46 +70,49 @@ export default {
|
|
|
70
70
|
<template>
|
|
71
71
|
<div
|
|
72
72
|
v-if="typeOption"
|
|
73
|
-
class="
|
|
73
|
+
class="rowNew"
|
|
74
74
|
>
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
75
|
+
<div style="width: 450px;">
|
|
76
|
+
<Select
|
|
77
|
+
:value="type"
|
|
78
|
+
:mode="mode"
|
|
79
|
+
:options="types"
|
|
80
|
+
data-testid="projectrow-type-input"
|
|
81
|
+
@update:value="updateType($event)"
|
|
82
|
+
/>
|
|
83
|
+
</div>
|
|
84
|
+
<div style="width: 450px;">
|
|
85
|
+
<UnitInput
|
|
86
|
+
:value="resourceQuotaLimit[type]"
|
|
87
|
+
:mode="mode"
|
|
88
|
+
:placeholder="typeOption.placeholder"
|
|
89
|
+
:increment="typeOption.increment"
|
|
90
|
+
:input-exponent="typeOption.inputExponent"
|
|
91
|
+
:base-unit="typeOption.baseUnit"
|
|
92
|
+
:output-modifier="true"
|
|
93
|
+
data-testid="projectrow-project-quota-input"
|
|
94
|
+
@update:value="updateQuotaLimit('resourceQuota', type, $event)"
|
|
95
|
+
/>
|
|
96
|
+
</div>
|
|
97
|
+
<div style="width: 450px;">
|
|
98
|
+
<UnitInput
|
|
99
|
+
:value="namespaceDefaultResourceQuotaLimit[type]"
|
|
100
|
+
:mode="mode"
|
|
101
|
+
:placeholder="typeOption.placeholder"
|
|
102
|
+
:increment="typeOption.increment"
|
|
103
|
+
:input-exponent="typeOption.inputExponent"
|
|
104
|
+
:base-unit="typeOption.baseUnit"
|
|
105
|
+
:output-modifier="true"
|
|
106
|
+
data-testid="projectrow-namespace-quota-input"
|
|
107
|
+
@update:value="updateQuotaLimit('namespaceDefaultResourceQuota', type, $event)"
|
|
108
|
+
/>
|
|
109
|
+
</div>
|
|
106
110
|
</div>
|
|
107
111
|
</template>
|
|
108
112
|
|
|
109
113
|
<style lang='scss' scoped>
|
|
110
|
-
.
|
|
114
|
+
.rowNew {
|
|
111
115
|
display: flex;
|
|
112
|
-
|
|
113
|
-
justify-content: space-evenly;
|
|
116
|
+
justify-content: left;
|
|
114
117
|
}
|
|
115
118
|
</style>
|
|
@@ -125,7 +125,7 @@ export default {
|
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
127
127
|
<div class="row">
|
|
128
|
-
<div class="
|
|
128
|
+
<div class="span-12">
|
|
129
129
|
<Banner :color="(matchingResources.none ? 'warning' : 'success')">
|
|
130
130
|
<span v-clean-html="t('generic.selectors.matchingResources.matchesSome', matchingResources)" />
|
|
131
131
|
</Banner>
|
|
@@ -210,31 +210,32 @@ export default {
|
|
|
210
210
|
<template>
|
|
211
211
|
<div
|
|
212
212
|
class="secret-selector"
|
|
213
|
-
:class="{'show-key-selector': showKeySelector}"
|
|
214
213
|
>
|
|
215
|
-
<div class="input-container">
|
|
214
|
+
<div :class="{'row': showKeySelector}" class="input-container">
|
|
216
215
|
<!-- key by namespace to ensure label select current page is recreated on ns change -->
|
|
217
|
-
<
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
216
|
+
<div :class="{'col span-6': showKeySelector}">
|
|
217
|
+
<ResourceLabeledSelect
|
|
218
|
+
:key="namespace"
|
|
219
|
+
v-model:value="name"
|
|
220
|
+
:disabled="!isView && disabled"
|
|
221
|
+
:label="secretNameLabel"
|
|
222
|
+
:mode="mode"
|
|
223
|
+
:resource-type="SECRET"
|
|
224
|
+
:in-store="inStore"
|
|
225
|
+
:paginated-resource-settings="paginateSecretsSetting"
|
|
226
|
+
:all-resources-settings="allSecretsSettings"
|
|
227
|
+
/>
|
|
228
|
+
</div>
|
|
229
|
+
<div v-if="showKeySelector" class="col span-6">
|
|
230
|
+
<LabeledSelect
|
|
231
|
+
:key="namespace"
|
|
232
|
+
v-model:value="key"
|
|
233
|
+
:disabled="isKeyDisabled"
|
|
234
|
+
:options="keys"
|
|
235
|
+
:label="keyNameLabel"
|
|
236
|
+
:mode="mode"
|
|
237
|
+
/>
|
|
238
|
+
</div>
|
|
238
239
|
</div>
|
|
239
240
|
</div>
|
|
240
241
|
</template>
|
|
@@ -157,7 +157,6 @@ export default {
|
|
|
157
157
|
</div>
|
|
158
158
|
</div>
|
|
159
159
|
</div>
|
|
160
|
-
<div class="spacer" />
|
|
161
160
|
|
|
162
161
|
<div>
|
|
163
162
|
<div class="row">
|
|
@@ -191,11 +190,10 @@ export default {
|
|
|
191
190
|
</div>
|
|
192
191
|
</div>
|
|
193
192
|
</div>
|
|
194
|
-
<div class="spacer" />
|
|
195
193
|
|
|
196
194
|
<div
|
|
197
195
|
data-testid="input-security-runAsUser"
|
|
198
|
-
class="row
|
|
196
|
+
class="row"
|
|
199
197
|
>
|
|
200
198
|
<div class="col span-6">
|
|
201
199
|
<LabeledInput
|
|
@@ -349,6 +349,9 @@ export default {
|
|
|
349
349
|
@option:selected="closeOnSelect && close"
|
|
350
350
|
@keydown.enter.stop
|
|
351
351
|
>
|
|
352
|
+
<template #no-options>
|
|
353
|
+
暂无数据
|
|
354
|
+
</template>
|
|
352
355
|
<template
|
|
353
356
|
#option="option"
|
|
354
357
|
>
|
|
@@ -388,6 +391,11 @@ export default {
|
|
|
388
391
|
<style lang="scss" scoped>
|
|
389
392
|
.unlabeled-select {
|
|
390
393
|
position: relative;
|
|
394
|
+
width: 400px;
|
|
395
|
+
|
|
396
|
+
:deep() .vs__actions:after {
|
|
397
|
+
// padding-top: 2px;
|
|
398
|
+
}
|
|
391
399
|
|
|
392
400
|
:deep() .v-select.select-input-view {
|
|
393
401
|
.vs__actions {
|
|
@@ -400,13 +408,14 @@ export default {
|
|
|
400
408
|
}
|
|
401
409
|
|
|
402
410
|
:deep() .labeled-tooltip.error .status-icon {
|
|
403
|
-
top: 7px;
|
|
404
|
-
right: 2px;
|
|
411
|
+
top: 7px !important;
|
|
412
|
+
right: 2px !important;
|
|
405
413
|
}
|
|
406
414
|
|
|
407
415
|
:deep() .vs__selected-options {
|
|
408
416
|
display: flex;
|
|
409
|
-
|
|
417
|
+
align-items: center;
|
|
418
|
+
margin: 0px;
|
|
410
419
|
|
|
411
420
|
.vs__selected {
|
|
412
421
|
width: initial;
|
|
@@ -120,11 +120,8 @@ export default {
|
|
|
120
120
|
|
|
121
121
|
<template>
|
|
122
122
|
<div>
|
|
123
|
-
<div class="
|
|
124
|
-
|
|
125
|
-
<h3 class="col span-6">
|
|
126
|
-
{{ t('workload.serviceAccountName.label') }}
|
|
127
|
-
</h3>
|
|
123
|
+
<div class="row mb-10 mt-40">
|
|
124
|
+
<h3>{{ t('workload.serviceAccountName.label') }}</h3>
|
|
128
125
|
</div>
|
|
129
126
|
<div class="row span-6">
|
|
130
127
|
<LabeledSelect
|