Skip to content

Commit

Permalink
move storage type section under the storage group (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel authored Sep 26, 2024
1 parent cb891cc commit 311276a
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions config/operator/base/ui-extensions/dockerregistry/form
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
- name: details.storage.title
var: storageType
type: string
reuired: true
dynamicValue: >-
$exists(spec.storage.azure) ? 'azure' :
$exists(spec.storage.s3) ? 's3' :
$exists(spec.storage.gcs) ? 'gcs' :
$exists(spec.storage.btpObjectStore) ? 'btpObjectStore' :
$exists(spec.storage.pvc) ? 'pvc' :
'filesystem'
trigger: [storage]
enum:
- filesystem
- azure
- s3
- gcs
- btpObjectStore
- pvc
- name: details.storage.title
path: spec.storage
widget: FormGroup
Expand All @@ -26,6 +7,25 @@
storage: undefined
# dynamic
children:
- name: details.storage.type.title
var: storageType
type: string
reuired: true
dynamicValue: >-
$exists(spec.storage.azure) ? 'azure' :
$exists(spec.storage.s3) ? 's3' :
$exists(spec.storage.gcs) ? 'gcs' :
$exists(spec.storage.btpObjectStore) ? 'btpObjectStore' :
$exists(spec.storage.pvc) ? 'pvc' :
'filesystem'
trigger: [storage]
enum:
- filesystem
- azure
- s3
- gcs
- btpObjectStore
- pvc
# Azure
- name: details.storage.azureSecret
path: azure.secretName
Expand Down

0 comments on commit 311276a

Please sign in to comment.