Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) bring UI parity for existing cloud manager items #336

Merged
merged 6 commits into from
Jul 12, 2024
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 @@ -19,7 +19,7 @@ data:
widget: Panel
source: spec.ipRange
children:
- name: name
- name: formName
source: name
widget: Labels
- name: namespace
Expand All @@ -29,7 +29,7 @@ data:
source: spec.volume
widget: Panel
children:
- name: name
- name: formName
source: name
widget: Labels
- name: labels
Expand Down Expand Up @@ -65,25 +65,28 @@ data:
simple: true
name: spec.ipRange
widget: FormGroup
required: false
children:
- path: name
name: name
name: formName
simple: true
required: true
widget: Text
inputInfo: Leave blank for auto IP Range
- path: namespace
name: namespace
simple: true
required: true
widget: Text
inputInfo: Leave blank for auto IP Range
- path: spec.volume
simple: true
name: spec.volume
widget: FormGroup
children:
- path: name
simple: true
name: name
name: formName
required: true
widget: Text
- path: labels
Expand Down Expand Up @@ -132,7 +135,7 @@ data:
status.state: State
placeholders.dropdown: Type or choose an option
ipRange: IP Range
name: Name
formName: Name
namespace: Namespace
spec.volume: Volume
labels: Labels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ data:
name: spec.cidr
widget: Text
simple: true
required: true
required: false
inputInfo: Leave blank for Auto-CIDR
general: |
resource:
kind: IpRange
Expand All @@ -41,9 +42,6 @@ data:
- source: status.cidr
name: status.cidr
sort: true
- source: metadata.namespace
name: metadata.namespace
sort: true
- source: status.state
name: status.state
sort: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ data:
- widget: Labels
source: state
name: status.state
- widget: Labels
source: opIdentifier
name: status.opIdentifier
form: |-
- path: spec.location
simple: true
Expand Down Expand Up @@ -71,11 +74,12 @@ data:
en:
spec.location: Location
spec.source.volume: Volume
spec.source.volume.name: Name
spec.source.volume.name: Volume Name
spec.source.volume.namespace: Namespace
status.state: State
configuration: Configuration
status: Status
status.opIdentifier: Operation Identifier
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,39 @@ data:
- name: spec.tier
source: tier
widget: Labels
- name: spec.ipRange
widget: Panel
source: spec
children:
- name: spec.ipRange.name
source: ipRange.name
widget: Labels
- name: spec.volume
widget: Panel
source: spec
children:
- source: volume.name
name: spec.volume.name
widget: Labels
- source: volume.labels
name: spec.volume.labels
widget: Labels
- source: volume.annotations
name: spec.volume.annotations
widget: Labels
- name: spec.volumeClaim
widget: Panel
source: spec
children:
- source: volumeClaim.name
name: spec.volumeClaim.name
widget: Labels
- source: volumeClaim.labels
name: spec.volumeClaim.labels
widget: Labels
- source: volumeClaim.annotations
name: spec.volumeClaim.annotations
widget: Labels
- name: status
widget: Panel
source: status
Expand All @@ -42,6 +75,53 @@ data:
simple: true
name: spec.tier
required: true
- path: spec.ipRange
simple: false
name: spec.ipRange
widget: FormGroup
required: false
children:
- path: name
name: spec.ipRange.name
widget: Text
required: true
- path: spec.volume
simple: false
name: spec.volume
widget: FormGroup
required: false
children:
- path: name
name: spec.volume.name
widget: Text
required: true
- path: labels
name: spec.volume.labels
required: false
widget: KeyValuePair
- path: annotations
name: spec.volume.annotations
required: false
widget: KeyValuePair
- path: spec.volumeClaim
simple: false
name: spec.volumeClaim
widget: FormGroup
required: false
children:
- path: name
name: spec.volumeClaim.name
widget: Text
required: true
- path: labels
name: spec.volumeClaim.labels
required: false
widget: KeyValuePair
- path: annotations
name: spec.volumeClaim.annotations
required: false
widget: KeyValuePair
general: |+
resource:
kind: GcpNfsVolume
Expand Down Expand Up @@ -77,9 +157,18 @@ data:
spec.fileShareName: File Share Name
spec.capacityGb: Capacity (Gb)
spec.ipRange: IP Range
spec.ipRange.name: Name
configuration: Configuration
status.state: State
status: Status
spec.volume: Volume
spec.volume.name: Name
spec.volume.labels: Labels
spec.volume.annotations: Annotations
spec.volumeClaim: Volume Claim
spec.volumeClaim.name: Name
spec.volumeClaim.labels: Labels
spec.volumeClaim.annotations: Annotations
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ data:
name: spec.cidr
widget: Text
simple: true
required: true
required: false
inputInfo: Leave blank for Auto-CIDR
general: |
resource:
kind: IpRange
Expand All @@ -41,9 +42,6 @@ data:
- source: status.cidr
name: status.cidr
sort: true
- source: metadata.namespace
name: metadata.namespace
sort: true
- source: status.state
name: status.state
sort: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data:
widget: Panel
source: spec.ipRange
children:
- name: name
- name: formName
source: name
widget: Labels
- name: namespace
Expand All @@ -29,7 +29,7 @@ data:
source: spec.volume
widget: Panel
children:
- name: name
- name: formName
source: name
widget: Labels
- name: labels
Expand Down Expand Up @@ -65,25 +65,28 @@ data:
simple: true
name: spec.ipRange
widget: FormGroup
required: false
children:
- path: name
name: name
name: formName
simple: true
required: true
widget: Text
inputInfo: Leave blank for auto IP Range
- path: namespace
name: namespace
simple: true
required: true
widget: Text
inputInfo: Leave blank for auto IP Range
- path: spec.volume
simple: true
name: spec.volume
widget: FormGroup
children:
- path: name
simple: true
name: name
name: formName
required: true
widget: Text
- path: labels
Expand Down Expand Up @@ -132,7 +135,7 @@ data:
status.state: State
placeholders.dropdown: Type or choose an option
ipRange: IP Range
name: Name
formName: Name
namespace: Namespace
spec.volume: Volume
labels: Labels
Expand Down
4 changes: 2 additions & 2 deletions config/ui-extensions/awsnfsvolumes/details
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body:
widget: Panel
source: spec.ipRange
children:
- name: name
- name: formName
source: name
widget: Labels
- name: namespace
Expand All @@ -26,7 +26,7 @@ body:
source: spec.volume
widget: Panel
children:
- name: name
- name: formName
source: name
widget: Labels
- name: labels
Expand Down
7 changes: 5 additions & 2 deletions config/ui-extensions/awsnfsvolumes/form
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,28 @@
simple: true
name: spec.ipRange
widget: FormGroup
required: false
children:
- path: name
name: name
name: formName
simple: true
required: true
widget: Text
inputInfo: Leave blank for auto IP Range
- path: namespace
name: namespace
simple: true
required: true
widget: Text
inputInfo: Leave blank for auto IP Range
- path: spec.volume
simple: true
name: spec.volume
widget: FormGroup
children:
- path: name
simple: true
name: name
name: formName
required: true
widget: Text
- path: labels
Expand Down
2 changes: 1 addition & 1 deletion config/ui-extensions/awsnfsvolumes/translations
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ en:
status.state: State
placeholders.dropdown: Type or choose an option
ipRange: IP Range
name: Name
formName: Name
namespace: Namespace
spec.volume: Volume
labels: Labels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ data:
- widget: Labels
source: state
name: status.state
- widget: Labels
source: opIdentifier
name: status.opIdentifier
form: |-
- path: spec.location
simple: true
Expand Down Expand Up @@ -71,11 +74,12 @@ data:
en:
spec.location: Location
spec.source.volume: Volume
spec.source.volume.name: Name
spec.source.volume.name: Volume Name
spec.source.volume.namespace: Namespace
status.state: State
configuration: Configuration
status: Status
status.opIdentifier: Operation Identifier
kind: ConfigMap
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions config/ui-extensions/gcpnfsvolumebackups/details
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ body:
- widget: Labels
source: state
name: status.state
- widget: Labels
source: opIdentifier
name: status.opIdentifier
5 changes: 3 additions & 2 deletions config/ui-extensions/gcpnfsvolumebackups/translations
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
en:
spec.location: Location
spec.source.volume: Volume
spec.source.volume.name: Name
spec.source.volume.name: Volume Name
spec.source.volume.namespace: Namespace
status.state: State
configuration: Configuration
status: Status
status: Status
status.opIdentifier: Operation Identifier
Loading
Loading