Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ step:
schema: params
schema: addon/properties/tasks
- type: select
customClass: mt-4
label: Encryption Secret Namespace
loader: getNamespaces
schema: encryptionSecret/properties/namespace
Expand Down Expand Up @@ -107,7 +108,9 @@ step:
name: getTargetName
watchPaths:
- schema/properties/spec/properties/target/properties/namespace
- schema/properties/spec/properties/target/properties/kind
label: Name
refresh: true
validation:
type: required
schema: schema/properties/spec/properties/target/properties/name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ step:
- type: block-layout
label: Labels & Annotations
showLabels: true
hideBlock: true
elements:
- type: object-item
label: Labels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ step:
showLabels: true
hideBlock: true
type: block-layout
- customClass: mt-20
- customClass: mt-10
label: Deletion Policy
options:
- description: options.deletionPolicy.delete.description
Expand Down
215 changes: 108 additions & 107 deletions charts/storagekubestashcom-repository-editor-options/ui/create-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,121 +2,122 @@ step:
- type: single-step-form
loader: init
elements:
- elements:
- loader: getNamespacesApi
hasGroup: isRancherManaged
label: Namespace
schema: schema/properties/metadata/properties/release/properties/namespace
type: select
- label: Repository Name
schema: schema/properties/metadata/properties/release/properties/name
type: input
type: block-layout
- loader: getNamespacesApi
hasGroup: isRancherManaged
label: Namespace
schema: schema/properties/metadata/properties/release/properties/namespace
type: select
- label: Repository Name
schema: schema/properties/metadata/properties/release/properties/name
type: input
- elements:
- type: object-item
label: Labels
schema: schema/properties/spec/properties/labels
- type: object-item
label: Annotations
schema: schema/properties/spec/properties/annotations
- label: Deletion Policy
options:
- Delete
- WipeOut
schema: schema/properties/spec/properties/deletionPolicy
label: Labels & Annotations
showLabels: true
hideBlock: true
type: block-layout
- label: Deletion Policy
customClass: mt-10
options:
- Delete
- WipeOut
schema: schema/properties/spec/properties/deletionPolicy
type: select
- elements:
- disableUnselect: true
loader: fetchNamespaces
hasGroup: isRancherManaged
label: Namespace
refresh: true
watcher:
func: onStorageRefNamespaceChange
paths:
- schema/properties/spec/properties/storageRef/properties/namespace
schema: schema/properties/spec/properties/storageRef/properties/namespace
type: select
- disableUnselect: true
loader:
name: fetchNames|storageRef
watchPaths:
- schema/properties/spec/properties/storageRef/properties/namespace
label: Name
refresh: true
schema: schema/properties/spec/properties/storageRef/properties/name
type: select
label: Storage Ref
showLabels: true
type: block-layout
- elements:
- disableUnselect: true
loader: fetchNamespaces
hasGroup: isRancherManaged
label: Namespace
refresh: true
watcher:
func: onEncryptionSecretNamespaceChange
paths:
- schema/properties/spec/properties/encryptionSecret/properties/namespace
schema: schema/properties/spec/properties/encryptionSecret/properties/namespace
type: select
- disableUnselect: true
loader:
name: fetchNames|encryptionSecret
watchPaths:
- schema/properties/spec/properties/encryptionSecret/properties/namespace
label: Name
refresh: true
schema: schema/properties/spec/properties/encryptionSecret/properties/name
type: select
label: Encryption Secret
showLabels: true
type: block-layout
- label: Path
schema: schema/properties/spec/properties/path
type: input
- elements:
- loader: getApiGroup
label: Api Group
watcher:
func: onApiGroupChange
paths:
- schema/properties/spec/properties/appRef/properties/apiGroup
schema: schema/properties/spec/properties/appRef/properties/apiGroup
type: select
- loader:
name: getKinds
watchPaths:
- schema/properties/spec/properties/appRef/properties/apiGroup
label: Kind
watcher:
func: setVersion
paths:
- schema/properties/spec/properties/appRef/properties/kind
schema: schema/properties/spec/properties/appRef/properties/kind
type: select
- loader: fetchNamespaces
hasGroup: isRancherManaged
label: Namespace
watcher:
func: onAppRefNamespaceChange
paths:
- schema/properties/spec/properties/appRef/properties/namespace
schema: schema/properties/spec/properties/appRef/properties/namespace
type: select
- loader:
name: getTargetName
watchPaths:
- schema/properties/spec/properties/appRef/properties/kind
- schema/properties/spec/properties/appRef/properties/namespace
label: Name
schema: schema/properties/spec/properties/appRef/properties/name
type: select
- elements:
- disableUnselect: true
loader: fetchNamespaces
hasGroup: isRancherManaged
label: Namespace
refresh: true
watcher:
func: onStorageRefNamespaceChange
paths:
- schema/properties/spec/properties/storageRef/properties/namespace
schema: schema/properties/spec/properties/storageRef/properties/namespace
type: select
- disableUnselect: true
loader:
name: fetchNames|storageRef
watchPaths:
- schema/properties/spec/properties/storageRef/properties/namespace
label: Name
refresh: true
schema: schema/properties/spec/properties/storageRef/properties/name
type: select
label: Storage Ref
showLabels: true
type: block-layout
- elements:
- disableUnselect: true
loader: fetchNamespaces
hasGroup: isRancherManaged
label: Namespace
refresh: true
watcher:
func: onEncryptionSecretNamespaceChange
paths:
- schema/properties/spec/properties/encryptionSecret/properties/namespace
schema: schema/properties/spec/properties/encryptionSecret/properties/namespace
type: select
- disableUnselect: true
loader:
name: fetchNames|encryptionSecret
watchPaths:
- schema/properties/spec/properties/encryptionSecret/properties/namespace
label: Name
refresh: true
schema: schema/properties/spec/properties/encryptionSecret/properties/name
type: select
label: Encryption Secret
showLabels: true
type: block-layout
- label: Path
schema: schema/properties/spec/properties/path
type: input
- elements:
- loader: getApiGroup
label: Api Group
watcher:
func: onApiGroupChange
paths:
- schema/properties/spec/properties/appRef/properties/apiGroup
schema: schema/properties/spec/properties/appRef/properties/apiGroup
type: select
- loader:
name: getKinds
watchPaths:
- schema/properties/spec/properties/appRef/properties/apiGroup
label: Kind
watcher:
func: setVersion
paths:
- schema/properties/spec/properties/appRef/properties/kind
schema: schema/properties/spec/properties/appRef/properties/kind
type: select
- loader: fetchNamespaces
hasGroup: isRancherManaged
label: Namespace
watcher:
func: onAppRefNamespaceChange
paths:
- schema/properties/spec/properties/appRef/properties/namespace
schema: schema/properties/spec/properties/appRef/properties/namespace
type: select
- loader:
name: getTargetName
watchPaths:
- schema/properties/spec/properties/appRef/properties/apiGroup
- schema/properties/spec/properties/appRef/properties/kind
- schema/properties/spec/properties/appRef/properties/namespace
label: Name
schema: schema/properties/spec/properties/appRef/properties/name
type: select
label: App Ref
showLabels: true
type: block-layout
label: App Ref
showLabels: true
type: block-layout
id: options
type: multi-step-form
Loading