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
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
<div>
|
|
131
131
|
<div class="row">
|
|
132
132
|
<div class="col span-12">
|
|
133
|
-
<h3
|
|
133
|
+
<h3>目标</h3>
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
136
136
|
<div class="row mb-20">
|
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
<LabeledInput
|
|
148
148
|
v-model:value="value.http_config.proxy_url"
|
|
149
149
|
:mode="mode"
|
|
150
|
-
label="
|
|
150
|
+
label="代理地址"
|
|
151
151
|
placeholder="e.g. http://my-proxy/"
|
|
152
152
|
/>
|
|
153
153
|
</div>
|
|
@@ -156,12 +156,12 @@ export default {
|
|
|
156
156
|
<Checkbox
|
|
157
157
|
v-model:value="value.send_resolved"
|
|
158
158
|
:mode="mode"
|
|
159
|
-
label="
|
|
159
|
+
label="启用发送已解决的警报"
|
|
160
160
|
/>
|
|
161
161
|
</div>
|
|
162
162
|
<div class="row">
|
|
163
163
|
<div class="col span-12">
|
|
164
|
-
<h3
|
|
164
|
+
<h3>响应者</h3>
|
|
165
165
|
<ArrayList
|
|
166
166
|
v-model:value="responders"
|
|
167
167
|
:mode="mode"
|
|
@@ -174,18 +174,18 @@ export default {
|
|
|
174
174
|
class="row"
|
|
175
175
|
:class="{'mb-15': isView, 'mb-10': !isView}"
|
|
176
176
|
>
|
|
177
|
-
<div class="col
|
|
178
|
-
<span class="text-label"
|
|
177
|
+
<div class="col" style="width:400px">
|
|
178
|
+
<span class="text-label">类型</span>
|
|
179
179
|
</div>
|
|
180
|
-
<div class="col
|
|
181
|
-
<span class="text-label"
|
|
180
|
+
<div class="col send-to ml-10" style="flex: 1;">
|
|
181
|
+
<span class="text-label">发送至</span>
|
|
182
182
|
</div>
|
|
183
183
|
</div>
|
|
184
184
|
</div>
|
|
185
185
|
</template>
|
|
186
186
|
<template v-slot:columns="scope">
|
|
187
187
|
<div class="row responder">
|
|
188
|
-
<div
|
|
188
|
+
<div style="width:400px">
|
|
189
189
|
<span v-if="isView">{{ typeLabel(scope.row.value.type) }}</span>
|
|
190
190
|
<Select
|
|
191
191
|
v-else
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
194
194
|
:options="TYPES"
|
|
195
195
|
/>
|
|
196
196
|
</div>
|
|
197
|
-
<div class="
|
|
197
|
+
<div class="target-container ml-10" style="flex: 1;">
|
|
198
198
|
<span v-if="isView">{{ targetLabel(scope.row.value.target) }}: {{ scope.row.value.value }}</span>
|
|
199
199
|
<InputWithSelect
|
|
200
200
|
v-else
|
|
@@ -56,7 +56,7 @@ export default {
|
|
|
56
56
|
<div>
|
|
57
57
|
<div class="row">
|
|
58
58
|
<div class="col span-12">
|
|
59
|
-
<h3
|
|
59
|
+
<h3>目标</h3>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
62
62
|
<div class="row mb-20">
|
|
@@ -65,14 +65,14 @@ export default {
|
|
|
65
65
|
v-model:value="integrationType"
|
|
66
66
|
:options="integrationTypeOptions"
|
|
67
67
|
:mode="mode"
|
|
68
|
-
label="
|
|
68
|
+
label="整合型"
|
|
69
69
|
/>
|
|
70
70
|
</div>
|
|
71
71
|
<div class="col span-6">
|
|
72
72
|
<LabeledInput
|
|
73
73
|
v-model:value="value[integrationMapping[integrationType]]"
|
|
74
74
|
:mode="mode"
|
|
75
|
-
label="
|
|
75
|
+
label="默认集成密钥"
|
|
76
76
|
/>
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
@@ -81,7 +81,7 @@ export default {
|
|
|
81
81
|
<LabeledInput
|
|
82
82
|
v-model:value="value.http_config.proxy_url"
|
|
83
83
|
:mode="mode"
|
|
84
|
-
label="
|
|
84
|
+
label="代理地址"
|
|
85
85
|
placeholder="e.g. http://my-proxy/"
|
|
86
86
|
/>
|
|
87
87
|
</div>
|
|
@@ -90,7 +90,7 @@ export default {
|
|
|
90
90
|
<Checkbox
|
|
91
91
|
v-model:value="value.send_resolved"
|
|
92
92
|
:mode="mode"
|
|
93
|
-
label="
|
|
93
|
+
label="启用发送已解决的警报"
|
|
94
94
|
/>
|
|
95
95
|
</div>
|
|
96
96
|
</div>
|
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
<div>
|
|
41
41
|
<div class="row">
|
|
42
42
|
<div class="col span-12">
|
|
43
|
-
<h3
|
|
43
|
+
<h3>目标</h3>
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="row mb-20">
|
|
@@ -64,7 +64,7 @@ export default {
|
|
|
64
64
|
<LabeledInput
|
|
65
65
|
v-model:value="value.channel"
|
|
66
66
|
:mode="mode"
|
|
67
|
-
label="
|
|
67
|
+
label="默认频道"
|
|
68
68
|
placeholder="e.g. #example"
|
|
69
69
|
/>
|
|
70
70
|
</div>
|
|
@@ -72,7 +72,7 @@ export default {
|
|
|
72
72
|
<LabeledInput
|
|
73
73
|
v-model:value="value.http_config.proxy_url"
|
|
74
74
|
:mode="mode"
|
|
75
|
-
label="
|
|
75
|
+
label="代理地址"
|
|
76
76
|
placeholder="e.g. http://my-proxy/"
|
|
77
77
|
/>
|
|
78
78
|
</div>
|
|
@@ -81,7 +81,7 @@ export default {
|
|
|
81
81
|
<Checkbox
|
|
82
82
|
v-model:value="value.send_resolved"
|
|
83
83
|
:mode="mode"
|
|
84
|
-
label="
|
|
84
|
+
label="启用发送已解决的警报"
|
|
85
85
|
/>
|
|
86
86
|
</div>
|
|
87
87
|
</div>
|
package/edit/namespace.vue
CHANGED
|
@@ -184,11 +184,10 @@ export default {
|
|
|
184
184
|
:value="value"
|
|
185
185
|
:namespaced="false"
|
|
186
186
|
:mode="mode"
|
|
187
|
-
:extra-columns="['project-col']"
|
|
188
187
|
>
|
|
189
188
|
<template
|
|
190
189
|
v-if="flatView && isCreate"
|
|
191
|
-
#
|
|
190
|
+
#customize
|
|
192
191
|
>
|
|
193
192
|
<LabeledSelect
|
|
194
193
|
v-model:value="projectName"
|
|
@@ -89,10 +89,10 @@ export default {
|
|
|
89
89
|
|
|
90
90
|
<template>
|
|
91
91
|
<div
|
|
92
|
-
class="cert row"
|
|
92
|
+
class="cert row mb-10"
|
|
93
93
|
@update:value="update"
|
|
94
94
|
>
|
|
95
|
-
<div
|
|
95
|
+
<div>
|
|
96
96
|
<LabeledSelect
|
|
97
97
|
v-model:value="secretVal"
|
|
98
98
|
class="secret-name"
|
|
@@ -107,7 +107,9 @@ export default {
|
|
|
107
107
|
@update:value="onSecretInput"
|
|
108
108
|
/>
|
|
109
109
|
</div>
|
|
110
|
-
|
|
110
|
+
</div>
|
|
111
|
+
<div class="row ingressBox">
|
|
112
|
+
<div style="padding-left: 160px;">
|
|
111
113
|
<ArrayList
|
|
112
114
|
:value="hosts"
|
|
113
115
|
:add-label="t('ingress.certificates.addHost')"
|
|
@@ -127,6 +129,13 @@ export default {
|
|
|
127
129
|
position: absolute;
|
|
128
130
|
}
|
|
129
131
|
|
|
132
|
+
.ingressBox
|
|
133
|
+
:deep() .box {
|
|
134
|
+
border: 0px solid var(--tabbed-border);
|
|
135
|
+
>.remove {
|
|
136
|
+
top: 1px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
130
139
|
.cert {
|
|
131
140
|
position: relative;
|
|
132
141
|
|
|
@@ -135,8 +144,8 @@ export default {
|
|
|
135
144
|
}
|
|
136
145
|
|
|
137
146
|
&:not(:last-of-type) {
|
|
138
|
-
padding-bottom: 10px;
|
|
139
|
-
margin-bottom: 30px;
|
|
147
|
+
// padding-bottom: 10px;
|
|
148
|
+
// margin-bottom: 30px;
|
|
140
149
|
}
|
|
141
150
|
}
|
|
142
151
|
</style>
|
|
@@ -96,7 +96,7 @@ export default {
|
|
|
96
96
|
v-if="serviceName || !isView"
|
|
97
97
|
class="row"
|
|
98
98
|
>
|
|
99
|
-
<div class="col span-
|
|
99
|
+
<div class="col span-6">
|
|
100
100
|
<LabeledSelect
|
|
101
101
|
v-model:value="serviceName"
|
|
102
102
|
:taggable="true"
|
|
@@ -111,7 +111,7 @@ export default {
|
|
|
111
111
|
/>
|
|
112
112
|
</div>
|
|
113
113
|
<div
|
|
114
|
-
class="col span-
|
|
114
|
+
class="col span-6"
|
|
115
115
|
:style="{'margin-right': '0px'}"
|
|
116
116
|
>
|
|
117
117
|
<LabeledInput
|
|
@@ -107,10 +107,10 @@ export default {
|
|
|
107
107
|
|
|
108
108
|
<template>
|
|
109
109
|
<div class="rule">
|
|
110
|
-
<div class="row
|
|
110
|
+
<div class="row">
|
|
111
111
|
<div
|
|
112
112
|
id="host"
|
|
113
|
-
class="col
|
|
113
|
+
class="col"
|
|
114
114
|
>
|
|
115
115
|
<LabeledInput
|
|
116
116
|
ref="host"
|
|
@@ -121,12 +121,8 @@ export default {
|
|
|
121
121
|
@update:value="update"
|
|
122
122
|
/>
|
|
123
123
|
</div>
|
|
124
|
-
<div
|
|
125
|
-
id="spacer"
|
|
126
|
-
class="col span-5"
|
|
127
|
-
/>
|
|
128
124
|
</div>
|
|
129
|
-
<div class="rule-path-headings row">
|
|
125
|
+
<!-- <div class="rule-path-headings row">
|
|
130
126
|
<div
|
|
131
127
|
class="col"
|
|
132
128
|
:class="{'span-6': ingress.showPathType, 'span-4': !ingress.showPathType}"
|
|
@@ -134,20 +130,18 @@ export default {
|
|
|
134
130
|
<label>{{ t("ingress.rules.path.label") }}</label>
|
|
135
131
|
</div>
|
|
136
132
|
<div
|
|
137
|
-
class="col"
|
|
138
133
|
:class="{'span-3': ingress.showPathType, 'span-4': !ingress.showPathType}"
|
|
139
134
|
>
|
|
140
135
|
<label>{{ t("ingress.rules.target.label") }}</label>
|
|
141
136
|
</div>
|
|
142
137
|
<div
|
|
143
|
-
class="col"
|
|
144
138
|
:class="{'span-2': ingress.showPathType, 'span-3': !ingress.showPathType}"
|
|
145
139
|
:style="{ 'margin-right': '0px' }"
|
|
146
140
|
>
|
|
147
141
|
<label>{{ t("ingress.rules.port.label") }}</label>
|
|
148
142
|
</div>
|
|
149
143
|
<div class="col" />
|
|
150
|
-
</div>
|
|
144
|
+
</div> -->
|
|
151
145
|
<template
|
|
152
146
|
v-for="(path, i) in paths"
|
|
153
147
|
:key="path.id"
|
|
@@ -155,7 +149,7 @@ export default {
|
|
|
155
149
|
<RulePath
|
|
156
150
|
ref="paths"
|
|
157
151
|
v-model:value="paths[i]"
|
|
158
|
-
class="row
|
|
152
|
+
class="row"
|
|
159
153
|
:rule-mode="ruleMode"
|
|
160
154
|
:service-targets="serviceTargets"
|
|
161
155
|
:ingress="ingress"
|
|
@@ -107,118 +107,127 @@ export default {
|
|
|
107
107
|
};
|
|
108
108
|
</script>
|
|
109
109
|
<template>
|
|
110
|
-
<div class="rule-path
|
|
111
|
-
<div
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<InputWithSelect
|
|
116
|
-
ref="first"
|
|
117
|
-
class="path-type"
|
|
118
|
-
:options="pathTypes"
|
|
119
|
-
:placeholder="t('ingress.rules.path.placeholder', undefined, true)"
|
|
120
|
-
:select-value="value.pathType"
|
|
121
|
-
:text-value="value.path"
|
|
122
|
-
:searchable="false"
|
|
123
|
-
:text-rules="rules.path"
|
|
124
|
-
@update:value="queueUpdatePathTypeAndPath"
|
|
125
|
-
/>
|
|
126
|
-
</div>
|
|
127
|
-
<div
|
|
128
|
-
v-else
|
|
129
|
-
class="col span-4"
|
|
130
|
-
>
|
|
131
|
-
<input
|
|
132
|
-
ref="first"
|
|
133
|
-
v-model="path"
|
|
134
|
-
:placeholder="t('ingress.rules.path.placeholder', undefined, true)"
|
|
135
|
-
@input="queueUpdate"
|
|
110
|
+
<div class="rule-path" style="display: block;">
|
|
111
|
+
<div class="row">
|
|
112
|
+
<button
|
|
113
|
+
class="btn btn-sm role-link remove"
|
|
114
|
+
@click="remove"
|
|
136
115
|
>
|
|
116
|
+
{{ t('ingress.rules.removePath') }}
|
|
117
|
+
</button>
|
|
118
|
+
</div>
|
|
119
|
+
<div class="flex col">
|
|
120
|
+
<div class="label">{{ t("ingress.rules.target.label") }}</div>
|
|
121
|
+
<div class="service" style="width: 400px;">
|
|
122
|
+
<Select
|
|
123
|
+
v-model:value="serviceName"
|
|
124
|
+
:options="serviceTargets"
|
|
125
|
+
:status="serviceTargetStatus"
|
|
126
|
+
:taggable="true"
|
|
127
|
+
:searchable="true"
|
|
128
|
+
:tooltip="serviceTargetTooltip"
|
|
129
|
+
:hover-tooltip="true"
|
|
130
|
+
@update:value="servicePort = ''; queueUpdate();"
|
|
131
|
+
/>
|
|
132
|
+
</div>
|
|
137
133
|
</div>
|
|
138
|
-
<div
|
|
139
|
-
class="
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
134
|
+
<div class="flex col">
|
|
135
|
+
<div class="label">{{ t("ingress.rules.port.label") }}</div>
|
|
136
|
+
<div>
|
|
137
|
+
<LabeledInput
|
|
138
|
+
v-if="portOptions.length === 0"
|
|
139
|
+
v-model:value="servicePort"
|
|
140
|
+
class="fullHeightInput"
|
|
141
|
+
:placeholder="t('ingress.rules.port.placeholder')"
|
|
142
|
+
:rules="rules.port"
|
|
143
|
+
@update:value="queueUpdate"
|
|
144
|
+
/>
|
|
145
|
+
<Select
|
|
146
|
+
v-else
|
|
147
|
+
v-model:value="servicePort"
|
|
148
|
+
:options="portOptions"
|
|
149
|
+
:placeholder="t('ingress.rules.port.placeholder')"
|
|
150
|
+
:rules="rules.port"
|
|
151
|
+
@update:value="queueUpdate"
|
|
152
|
+
/>
|
|
153
|
+
</div>
|
|
152
154
|
</div>
|
|
153
|
-
<div
|
|
154
|
-
class="
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
155
|
+
<div class="flex" :style="{marginBottom: !ingress.showPathType ? '24px': '' }">
|
|
156
|
+
<div class="label">
|
|
157
|
+
<div style="padding-bottom: 43px;" v-if="ingress.showPathType">
|
|
158
|
+
匹配模式
|
|
159
|
+
</div>
|
|
160
|
+
<div :style="{paddingBottom: ingress.showPathType ? '15px' : ''}">
|
|
161
|
+
{{ t("ingress.rules.path.label") }}
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
<div
|
|
165
|
+
v-if="ingress.showPathType"
|
|
166
|
+
class="path_row"
|
|
167
|
+
>
|
|
168
|
+
<InputWithSelect
|
|
169
|
+
ref="first"
|
|
170
|
+
class="path-type"
|
|
171
|
+
:options="pathTypes"
|
|
172
|
+
:placeholder="t('ingress.rules.path.placeholder', undefined, true)"
|
|
173
|
+
:select-value="value.pathType"
|
|
174
|
+
:text-value="value.path"
|
|
175
|
+
:searchable="false"
|
|
176
|
+
:text-rules="rules.path"
|
|
177
|
+
@update:value="queueUpdatePathTypeAndPath"
|
|
178
|
+
/>
|
|
179
|
+
</div>
|
|
180
|
+
<div v-else class="path_row2">
|
|
181
|
+
<input
|
|
182
|
+
ref="first"
|
|
183
|
+
v-model="path"
|
|
184
|
+
:placeholder="t('ingress.rules.path.placeholder', undefined, true)"
|
|
185
|
+
@input="queueUpdate"
|
|
186
|
+
>
|
|
187
|
+
</div>
|
|
174
188
|
</div>
|
|
175
|
-
<button
|
|
176
|
-
class="btn btn-sm role-link col"
|
|
177
|
-
@click="remove"
|
|
178
|
-
>
|
|
179
|
-
{{ t('ingress.rules.removePath') }}
|
|
180
|
-
</button>
|
|
181
189
|
</div>
|
|
182
190
|
</template>
|
|
183
191
|
<style lang="scss" scoped>
|
|
184
192
|
// TODO #11952: Correct deep statement
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
height: 100%;
|
|
190
|
-
|
|
191
|
-
input.no-label {
|
|
192
|
-
height: calc($row-height - 2px);
|
|
193
|
-
padding: 10px;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
:deep(.col), INPUT {
|
|
198
|
-
height: $row-height;
|
|
193
|
+
::v-deep .input-container{
|
|
194
|
+
display: flex !important;
|
|
195
|
+
.unlabeled-select{
|
|
196
|
+
height: 34px !important;
|
|
199
197
|
}
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
.in-input.unlabeled-select{
|
|
199
|
+
margin-right: -1px;
|
|
200
|
+
margin-bottom: 24px;
|
|
201
|
+
width: 400px;
|
|
202
202
|
}
|
|
203
|
+
}
|
|
203
204
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
.flex{
|
|
206
|
+
display: flex;
|
|
207
|
+
align-items: center;
|
|
207
208
|
|
|
208
|
-
|
|
209
|
-
|
|
209
|
+
.label{
|
|
210
|
+
min-width: 160px;
|
|
210
211
|
}
|
|
212
|
+
}
|
|
211
213
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
padding-top: 6px;
|
|
214
|
+
::v-deep .path_row{
|
|
215
|
+
width: 800px;
|
|
216
|
+
.input-container{
|
|
217
|
+
flex-direction: column;
|
|
217
218
|
}
|
|
218
219
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
min-width: 200px;
|
|
220
|
+
.labeled-container{
|
|
221
|
+
width: 0px !important;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
+
|
|
225
|
+
.path_row2{
|
|
226
|
+
width: 400px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.remove{
|
|
230
|
+
padding: 0px;
|
|
231
|
+
min-width: auto;
|
|
232
|
+
}
|
|
224
233
|
</style>
|
|
@@ -40,8 +40,8 @@ export default {
|
|
|
40
40
|
|
|
41
41
|
<template>
|
|
42
42
|
<div class="rule">
|
|
43
|
-
<div class="row
|
|
44
|
-
<div class="
|
|
43
|
+
<div class="row">
|
|
44
|
+
<div class="span-12">
|
|
45
45
|
<h2>
|
|
46
46
|
{{ t(`networkpolicy.${type}.ruleLabel`) }}
|
|
47
47
|
<i
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
</ArrayListGrouped>
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
|
-
<div class="row
|
|
71
|
+
<div class="row">
|
|
72
72
|
<div class="col span-12">
|
|
73
73
|
<h2>
|
|
74
74
|
{{ t('networkpolicy.rules.ports.label') }}
|
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
|
|
27
27
|
<template>
|
|
28
28
|
<div class="row">
|
|
29
|
-
<div class="col
|
|
29
|
+
<div class="col">
|
|
30
30
|
<LabeledInput
|
|
31
31
|
v-model:value.number="value.port"
|
|
32
32
|
:mode="mode"
|
|
@@ -37,7 +37,9 @@ export default {
|
|
|
37
37
|
:label="t('networkpolicy.rules.ports.port.label')"
|
|
38
38
|
/>
|
|
39
39
|
</div>
|
|
40
|
-
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row">
|
|
42
|
+
<div class="col">
|
|
41
43
|
<LabeledSelect
|
|
42
44
|
v-model:value="value.protocol"
|
|
43
45
|
:mode="mode"
|
|
@@ -221,8 +221,8 @@ export default {
|
|
|
221
221
|
|
|
222
222
|
<template>
|
|
223
223
|
<div class="rule">
|
|
224
|
-
<div class="row
|
|
225
|
-
<div class="col
|
|
224
|
+
<div class="row">
|
|
225
|
+
<div class="col">
|
|
226
226
|
<LabeledSelect
|
|
227
227
|
v-model:value="targetType"
|
|
228
228
|
data-testid="policy-rule-target-type-labeled-select"
|
|
@@ -236,7 +236,7 @@ export default {
|
|
|
236
236
|
</div>
|
|
237
237
|
<div v-if="targetType === TARGET_OPTIONS.IP_BLOCK">
|
|
238
238
|
<div class="row">
|
|
239
|
-
<div class="col
|
|
239
|
+
<div class="col">
|
|
240
240
|
<LabeledInput
|
|
241
241
|
v-model:value="value[TARGET_OPTIONS.IP_BLOCK].cidr"
|
|
242
242
|
data-testid="labeled-input-ip-block-selector"
|
|
@@ -250,14 +250,15 @@ export default {
|
|
|
250
250
|
v-if="invalidCidr"
|
|
251
251
|
class="row"
|
|
252
252
|
>
|
|
253
|
-
<div class="col
|
|
253
|
+
<div class="col">
|
|
254
254
|
<Banner color="error">
|
|
255
255
|
<t k="networkpolicy.rules.ipBlock.invalidCidr" />
|
|
256
256
|
</Banner>
|
|
257
257
|
</div>
|
|
258
258
|
</div>
|
|
259
|
-
<div class="row
|
|
260
|
-
<div class="col
|
|
259
|
+
<div class="row">
|
|
260
|
+
<div class="col" style="display: flex;">
|
|
261
|
+
<div style="min-width: 160px;"></div>
|
|
261
262
|
<ArrayList
|
|
262
263
|
v-model:value="value[TARGET_OPTIONS.IP_BLOCK].except"
|
|
263
264
|
:add-label="t('networkpolicy.rules.ipBlock.addExcept')"
|
|
@@ -281,7 +282,7 @@ export default {
|
|
|
281
282
|
</div>
|
|
282
283
|
<div v-if="targetType === TARGET_OPTIONS.POD_SELECTOR">
|
|
283
284
|
<div class="row">
|
|
284
|
-
<div class="
|
|
285
|
+
<div class="span-12">
|
|
285
286
|
<Banner color="success">
|
|
286
287
|
<span v-clean-html="t('networkpolicy.selectors.matchingPods.matchesSome', matchingPods)" />
|
|
287
288
|
</Banner>
|
|
@@ -302,7 +303,7 @@ export default {
|
|
|
302
303
|
</div>
|
|
303
304
|
<div v-if="targetType === TARGET_OPTIONS.NAMESPACE_SELECTOR">
|
|
304
305
|
<div class="row">
|
|
305
|
-
<div class="
|
|
306
|
+
<div class="span-12">
|
|
306
307
|
<Banner color="success">
|
|
307
308
|
<span
|
|
308
309
|
v-clean-html="t('networkpolicy.selectors.matchingNamespaces.matchesSome', matchingNamespaces)"
|
|
@@ -326,7 +327,7 @@ export default {
|
|
|
326
327
|
</div>
|
|
327
328
|
<div v-if="targetType === TARGET_OPTIONS.NAMESPACE_AND_POD_SELECTOR">
|
|
328
329
|
<div class="row">
|
|
329
|
-
<div class="
|
|
330
|
+
<div class="span-12">
|
|
330
331
|
<Banner color="success">
|
|
331
332
|
<span
|
|
332
333
|
v-if="!namespaceSelectorExpressions.length"
|
|
@@ -345,7 +346,7 @@ export default {
|
|
|
345
346
|
{{ t('networkpolicy.rules.namespace') }}
|
|
346
347
|
</span>
|
|
347
348
|
</div>
|
|
348
|
-
<div class="col
|
|
349
|
+
<div class="col">
|
|
349
350
|
<MatchExpressions
|
|
350
351
|
v-model:value="namespaceSelectorExpressions"
|
|
351
352
|
data-testid="match-expression-namespace-and-pod-selector-ns-rule"
|
|
@@ -364,7 +365,7 @@ export default {
|
|
|
364
365
|
{{ t('networkpolicy.rules.pod') }}
|
|
365
366
|
</span>
|
|
366
367
|
</div>
|
|
367
|
-
<div class="col
|
|
368
|
+
<div class="col">
|
|
368
369
|
<MatchExpressions
|
|
369
370
|
v-model:value="podSelectorExpressions"
|
|
370
371
|
data-testid="match-expression-namespace-and-pod-selector-pod-rule"
|
|
@@ -252,7 +252,7 @@ export default {
|
|
|
252
252
|
</div>
|
|
253
253
|
</div>
|
|
254
254
|
<div class="row">
|
|
255
|
-
<div class="
|
|
255
|
+
<div class="span-12">
|
|
256
256
|
<Banner color="success">
|
|
257
257
|
<span v-clean-html="t('networkpolicy.selectors.matchingPods.matchesSome', matchingPods)" />
|
|
258
258
|
</Banner>
|
|
@@ -298,7 +298,7 @@ export default {
|
|
|
298
298
|
:label="t('persistentVolume.customize.label')"
|
|
299
299
|
:weight="0"
|
|
300
300
|
>
|
|
301
|
-
<div class="row
|
|
301
|
+
<div class="row">
|
|
302
302
|
<div class="col span-6">
|
|
303
303
|
<h3>{{ t('persistentVolume.customize.accessModes.label') }}</h3>
|
|
304
304
|
<div>
|
|
@@ -323,6 +323,8 @@ export default {
|
|
|
323
323
|
/>
|
|
324
324
|
</div>
|
|
325
325
|
</div>
|
|
326
|
+
</div>
|
|
327
|
+
<div class="row">
|
|
326
328
|
<div class="col span-6">
|
|
327
329
|
<ArrayList
|
|
328
330
|
v-model:value="value.spec.mountOptions"
|