This is an automated email from the ASF dual-hosted git repository.
SbloodyS pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 6a442ab673 [Improvement-18359][UI] Change the description field to
optional in k8s config (#18360)
6a442ab673 is described below
commit 6a442ab67318637d7e2135c1cfa3b7c6685104a4
Author: suyc <[email protected]>
AuthorDate: Thu Jun 18 09:41:56 2026 +0800
[Improvement-18359][UI] Change the description field to optional in k8s
config (#18360)
---
.../src/views/security/cluster-manage/components/cluster-modal.tsx | 2 +-
.../src/views/security/cluster-manage/components/use-modal.ts | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/dolphinscheduler-ui/src/views/security/cluster-manage/components/cluster-modal.tsx
b/dolphinscheduler-ui/src/views/security/cluster-manage/components/cluster-modal.tsx
index 811e82047b..56c81721e4 100644
---
a/dolphinscheduler-ui/src/views/security/cluster-manage/components/cluster-modal.tsx
+++
b/dolphinscheduler-ui/src/views/security/cluster-manage/components/cluster-modal.tsx
@@ -136,7 +136,7 @@ const ClusterModal = defineComponent({
show={this.showModalRef}
onCancel={this.cancelModal}
onConfirm={this.confirmModal}
- confirmDisabled={!this.model.name || !this.model.description}
+ confirmDisabled={!this.model.name || !this.model.k8s_config}
confirmClassName='btn-submit'
cancelClassName='btn-cancel'
confirmLoading={this.saving}
diff --git
a/dolphinscheduler-ui/src/views/security/cluster-manage/components/use-modal.ts
b/dolphinscheduler-ui/src/views/security/cluster-manage/components/use-modal.ts
index e76083e929..ba15a12dc0 100644
---
a/dolphinscheduler-ui/src/views/security/cluster-manage/components/use-modal.ts
+++
b/dolphinscheduler-ui/src/views/security/cluster-manage/components/use-modal.ts
@@ -49,12 +49,12 @@ export function useModal(
}
}
},
- description: {
+ k8s_config: {
required: true,
trigger: ['input', 'blur'],
validator() {
- if (variables.model.description === '') {
- return new Error(t('security.cluster.cluster_description_tips'))
+ if (variables.model.k8s_config === '') {
+ return new Error(t('security.cluster.cluster_config_tips'))
}
}
}