Skip to content

Commit

Permalink
diable gateway and host fields when enabled is false
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Sep 24, 2024
1 parent cc40f1b commit 820c513
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/operator/base/ui-extensions/dockerregistry/form
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,13 @@
defaultExpanded: true
children:
- name: details.enabled
dynamicValue: "$exists(spec.externalAccess.gateway) or $exists(spec.externalAccess.host)"
path: enabled
- name: details.gateway
path: gateway
overwrite: false
visibility: "$boolean(spec.externalAccess.enabled)"
- name: details.host
path: host
overwrite: false
visibility: "$boolean(spec.externalAccess.enabled)"

0 comments on commit 820c513

Please sign in to comment.