diff --git a/config/operator/base/ui-extensions/dockerregistry/form b/config/operator/base/ui-extensions/dockerregistry/form index 2a95dec..37836a4 100644 --- a/config/operator/base/ui-extensions/dockerregistry/form +++ b/config/operator/base/ui-extensions/dockerregistry/form @@ -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 @@ -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