Skip to content

Commit

Permalink
Show Warning for internal docker registry
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiatekus committed Apr 30, 2024
1 parent 860f793 commit fd6e484
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions config/operator/base/ui-extensions/serverless/details
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ body:
- name: Desired Specification
widget: Panel
children:
- 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: Docker Registry
visibility: $root.spec.dockerRegistry.enableInternal = true
source: spec.dockerRegistry.enableInternal?"INTERNAL":""
Expand Down Expand Up @@ -57,6 +53,11 @@ 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:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
configMapGenerator:
- name: operator.kyma-project.io
namespace: kube-public
- name: serverless.operator.kyma-project.io
namespace: kyma-system
files:
- general
- form
Expand Down

0 comments on commit fd6e484

Please sign in to comment.