Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ step:
name: isDbSelected
type: function
label: Plugin Name
schema: discriminator/properties/plugin-name
schema: temp/properties/plugin-name
type: input
watcher:
func: getPluginName
Expand Down
12 changes: 3 additions & 9 deletions charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ step:
name: isTlsOn
type: function
label: Do you want to access mongodb+srv style DNS?
schema: discriminator/enableHorizons
schema: temp/enableHorizons
type: switch
watcher:
func: onHorizonsChange
paths:
- discriminator/enableHorizons
- temp/enableHorizons
- if:
name: isHorizonsOn
type: function
label: Horizons count should be equal to Replica Number.
type: alert
type: info
- element:
label: Add a new horizon dns for pod
type: input
Expand Down Expand Up @@ -715,9 +715,6 @@ step:
- if:
name: isToggleOn|tls
type: function
init:
type: func
value: checkHostnameOrIP
label: Enable TLS?
schema: schema/properties/spec/properties/admin/properties/tls/properties/default
type: switch
Expand All @@ -739,9 +736,6 @@ step:
- if:
name: isToggleOn|expose
type: function
init:
type: func
value: checkHostnameOrIP
label: Expose via Gateway?
schema: schema/properties/spec/properties/admin/properties/expose/properties/enable/properties/default
type: switch
Expand Down
4 changes: 2 additions & 2 deletions charts/kubedbcom-mongodb-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ export const useFunc = (model) => {
function onHorizonsChange() {
const val = getValue(discriminator, '/enableHorizons')
if (!val) {
commit({
commit('wizard/model$update', {
path: '/spec/replicaSet/horizons',
value: [],
force: true,
Expand Down Expand Up @@ -1594,7 +1594,7 @@ export const useFunc = (model) => {

const common = getCommonPostfix(horizons)
if (!common) return 'Horizons must have a common dot (.) seperated suffix'
return true
return
}

return {
Expand Down
Loading