diff --git a/config/operator/base/ui-extensions/serverless/details b/config/operator/base/ui-extensions/serverless/details index 393f354df..efdf0d861 100644 --- a/config/operator/base/ui-extensions/serverless/details +++ b/config/operator/base/ui-extensions/serverless/details @@ -6,6 +6,10 @@ header: positive: - 'Ready' body: + - widget: Alert + severity: warning + source: '"alert.internalregistry"' + visibility: $root.spec.dockerRegistry.enableInternal = true - name: Desired Specification widget: Panel children: @@ -53,11 +57,6 @@ body: - name: Target CPU utilisation for HPA source: spec.targetCPUUtilizationPercentage visibility: '$exists($value)' - - simple: true - widget: Alert - severity: warning - alert: "'Internal Docker Registry is not a highly available registry and should be used for development purpose only'" - visibility: "$root.spec.dockerRegistry.enableInternal = true" - name: Status widget: Panel children: diff --git a/config/operator/base/ui-extensions/serverless/form b/config/operator/base/ui-extensions/serverless/form index 2d3eb2d4c..2ea684d35 100644 --- a/config/operator/base/ui-extensions/serverless/form +++ b/config/operator/base/ui-extensions/serverless/form @@ -4,8 +4,8 @@ - simple: true widget: Alert severity: warning - alert: "'Internal Docker Registry is not a highly available registry and should be used for development purpose only'" - visibility: "$root.spec.dockerRegistry.enableInternal = true" + alert: '"alert.internalregistry"' + visibility: $root.spec.dockerRegistry.enableInternal = true - path: spec.dockerRegistry.secretName visibility: $root.spec.dockerRegistry.enableInternal != true simple: true diff --git a/config/operator/base/ui-extensions/serverless/kustomization.yaml b/config/operator/base/ui-extensions/serverless/kustomization.yaml index f3cb370f0..f1cb5ce1c 100644 --- a/config/operator/base/ui-extensions/serverless/kustomization.yaml +++ b/config/operator/base/ui-extensions/serverless/kustomization.yaml @@ -1,11 +1,12 @@ configMapGenerator: -- name: serverless.operator.kyma-project.io +- name: operator.kyma-project.io namespace: kyma-system files: - general - form - list - details + - translations options: disableNameSuffixHash: true labels: diff --git a/config/operator/base/ui-extensions/serverless/translations b/config/operator/base/ui-extensions/serverless/translations new file mode 100644 index 000000000..72944d61b --- /dev/null +++ b/config/operator/base/ui-extensions/serverless/translations @@ -0,0 +1,2 @@ +en: + alert.internalregistry: Internal Docker Registry is not a highly available registry and should be used for development purpose only \ No newline at end of file