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 182cbbe commit 860f793
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config/operator/base/ui-extensions/serverless/details
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ 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
2 changes: 1 addition & 1 deletion config/operator/base/ui-extensions/serverless/form
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- simple: true
widget: Alert
severity: warning
alert: "'Internal Docker Registry is not recommended for production grade installations'"
alert: "'Internal Docker Registry is not a highly available registry and should be used for development purpose only'"
visibility: "$root.spec.dockerRegistry.enableInternal = true"
- path: spec.dockerRegistry.secretName
visibility: $root.spec.dockerRegistry.enableInternal != true
Expand Down

0 comments on commit 860f793

Please sign in to comment.