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
5 changes: 1 addition & 4 deletions charts/kubedbcom-cassandra-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-cassandra-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -727,11 +727,6 @@ export const useFunc = (model) => {
return getValue(discriminator, '/configDatabase')
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

function clearConfiguration() {
const configOn = getValue(discriminator, '/configDatabase')

Expand Down Expand Up @@ -1168,7 +1163,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
toggleTls,
isRancherManaged,
fetchNamespaces,
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-clickhouse-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-clickhouse-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1244,11 +1244,6 @@ export const useFunc = (model) => {
return val
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

async function getReferSecrets() {
const referSecret = getValue(discriminator, '/referSecret')
if (!referSecret) {
Expand Down Expand Up @@ -1325,7 +1320,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
showAdditionalSettings,
returnFalse,
initBundle,
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-druid-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-druid-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1067,11 +1067,6 @@ export const useFunc = (model) => {
return val
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

async function getReferSecrets() {
const referSecret = getValue(discriminator, '/referSecret')
if (!referSecret) {
Expand Down Expand Up @@ -1141,7 +1136,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
showAdditionalSettings,
returnFalse,
initBundle,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-elasticsearch-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1082,11 +1082,6 @@ export const useFunc = (model) => {
return val
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

async function getReferSecrets() {
const referSecret = getValue(discriminator, '/referSecret')
if (!referSecret) {
Expand Down Expand Up @@ -1156,7 +1151,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
showAdditionalSettings,
returnFalse,
initBundle,
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-ferretdb-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-ferretdb-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1158,11 +1158,6 @@ export const useFunc = (model) => {
return val
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

async function getReferSecrets() {
const referSecret = getValue(discriminator, '/referSecret')
if (!referSecret) {
Expand Down Expand Up @@ -1264,7 +1259,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
showAdditionalSettings,
initBundle,
returnFalse,
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-hazelcast-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-hazelcast-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1316,11 +1316,6 @@ export const useFunc = (model) => {
return val
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

async function getReferSecrets() {
const referSecret = getValue(discriminator, '/referSecret')
if (!referSecret) {
Expand Down Expand Up @@ -1502,7 +1497,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
initBundle,
returnFalse,
setLimits,
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-ignite-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-ignite-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1307,11 +1307,6 @@ export const useFunc = (model) => {
return val
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

async function getReferSecrets() {
const referSecret = getValue(discriminator, '/referSecret')
if (!referSecret) {
Expand Down Expand Up @@ -1381,7 +1376,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
initBundle,
returnFalse,
setLimits,
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-kafka-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-kafka-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -989,11 +989,6 @@ export const useFunc = (model) => {
return val
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

async function getReferSecrets() {
const referSecret = getValue(discriminator, '/referSecret')
if (!referSecret) {
Expand Down Expand Up @@ -1063,7 +1058,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
showAdditionalSettings,
initBundle,
returnFalse,
Expand Down
17 changes: 0 additions & 17 deletions charts/kubedbcom-kafka-editor/ui/edit-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,6 @@ step:
func: handleUnit|autoscalingKubedbComKafkaAutoscaler/spec/storage/broker/scalingRules|scalingRules
paths:
- schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/broker/properties/scalingRules
- type: input
label: Scaling Threshold
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/broker/properties/scalingThreshold
- type: input
label: UpperBound
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/broker/properties/upperBound
Expand Down Expand Up @@ -631,10 +628,6 @@ step:
label: UsageThreshold (%)
subtitle: Set the storage usage percentage that triggers automatic expansion
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/controller/properties/usageThreshold
- type: input
label: Scaling Threshold
customClass: width-300
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/controller/properties/scalingThreshold
- type: scaling-rules
label: Scaling Rules
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/controller/properties/scalingRules
Expand All @@ -643,9 +636,6 @@ step:
func: handleUnit|autoscalingKubedbComKafkaAutoscaler/spec/storage/controller/scalingRules|scalingRules
paths:
- schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/controller/properties/scalingRules
- type: input
label: Scaling Threshold
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/controller/properties/scalingThreshold
- type: input
label: UpperBound
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/controller/properties/upperBound
Expand Down Expand Up @@ -699,10 +689,6 @@ step:
subtitle: Set the storage usage percentage that triggers automatic expansion
customClass: width-300
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/node/properties/usageThreshold
- type: input
label: Scaling Threshold
customClass: width-300
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/node/properties/scalingThreshold
- type: scaling-rules
label: Scaling Rules
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/node/properties/scalingRules
Expand All @@ -711,9 +697,6 @@ step:
func: handleUnit|autoscalingKubedbComKafkaAutoscaler/spec/storage/node/scalingRules|scalingRules
paths:
- schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/node/properties/scalingRules
- type: input
label: Scaling Threshold
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/node/properties/scalingThreshold
- type: input
label: UpperBound
schema: schema/properties/resources/properties/autoscalingKubedbComKafkaAutoscaler/properties/spec/properties/storage/properties/node/properties/upperBound
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-mariadb-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-mariadb-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -733,11 +733,6 @@ export const useFunc = (model) => {
return getValue(discriminator, '/configDatabase')
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

function clearConfiguration() {
const configOn = getValue(discriminator, '/configDatabase')

Expand Down Expand Up @@ -1421,7 +1416,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
setPointInTimeRecovery,
pointInTimeErrorCheck,
isRancherManaged,
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-memcached-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,7 @@ step:
label: password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
6 changes: 0 additions & 6 deletions charts/kubedbcom-memcached-editor-options/ui/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,11 +1022,6 @@ export const useFunc = (model) => {
return val
}

function isConfigAvailable() {
const val = getValue(model, '/spec/configuration')
return val !== ''
}

async function getReferSecrets() {
const referSecret = getValue(discriminator, '/referSecret')
if (!referSecret) {
Expand Down Expand Up @@ -1096,7 +1091,6 @@ export const useFunc = (model) => {
showSecretDropdown,
showReferSecret,
getReferSecrets,
isConfigAvailable,
updateAlertValue,
showAdditionalSettings,
initBundle,
Expand Down
5 changes: 1 addition & 4 deletions charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,7 @@ step:
label: Password
schema: schema/properties/spec/properties/authSecret/properties/password
type: input
- init:
type: func
value: isConfigAvailable
if:
- if:
type: function
name: getDefaultValue|spec/admin/customConfiguration
label: Configure Database?
Expand Down
Loading
Loading