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) UI List Parity #370

Closed
wants to merge 5 commits into from
Closed
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 @@ -15,7 +15,7 @@ data:
- name: spec.volume.name
source: volume.name
widget: Labels
- name: ipRange
- name: spec.ipRange
widget: Panel
source: spec.ipRange
children:
Expand All @@ -25,6 +25,19 @@ data:
- name: namespace
source: namespace
widget: Labels
- name: spec.volumeClaim
widget: Panel
source: spec.volumeClaim
children:
- name: spec.volumeClaim.name
source: name
widget: Labels
- name: spec.volumeClaim.labels
source: labels
widget: Labels
- name: spec.volumeClaim.annotations
source: annotations
widget: Labels
- name: volume
source: spec.volume
widget: Panel
Expand All @@ -45,7 +58,7 @@ data:
- name: status.state
source: state
widget: Labels
form: |
form: |+
- path: spec.capacity
simple: true
name: spec.capacity
Expand Down Expand Up @@ -99,6 +112,24 @@ data:
name: annotations
required: false
widget: KeyValuePair
- path: spec.volumeClaim
simple: true
name: spec.volumeClaim
widget: FormGroup
children:
- path: name
name: spec.volumeClaim.name
simple: true
widget: Text
- path: labels
name: spec.volumeClaim.labels
simple: true
widget: KeyValuePair
- path: annotations
name: spec.volumeClaim.annotations
simple: true
widget: KeyValuePair

general: |-
resource:
kind: AwsNfsVolume
Expand All @@ -124,7 +155,10 @@ data:
- source: spec.volume.name
name: spec.volume.name
sort: true
translations: |-
- source: status.state
name: status.state
sort: true
translations: |
en:
spec.capacity: Capacity
spec.performanceMode: Performance Mode
Expand All @@ -134,13 +168,16 @@ data:
status: Status
status.state: State
placeholders.dropdown: Type or choose an option
ipRange: IP Range
formName: Name
namespace: Namespace
spec.volume: Volume
labels: Labels
annotations: Annotations
spec.ipRange: IP Range
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 @@ -61,20 +61,20 @@ data:
description: >-
GcpNfsVolumeBackup is the Schema for the gcpnfsvolumebackups API
list: |-
- source: spec.location
name: spec.location
sort: true
- source: spec.source.volume.name
name: spec.source.volume.name
sort: true
- source: spec.location
name: spec.location
sort: true
- source: status.state
name: status.state
sort: true
translations: |-
en:
spec.location: Location
spec.source.volume: Volume
spec.source.volume.name: Volume Name
spec.source.volume.name: GCP NFS Volume
spec.source.volume.namespace: Namespace
status.state: State
configuration: Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@ data:
description: >-
GcpNfsVolumeRestore describes a request to restore a GCP NFS volume.
list: |-
- source: spec.destination.volume.name
name: spec.destination.volume.name
sort: true
- source: spec.destination.volume.namespace
name: spec.destination.volume.namespace
sort: true
- source: spec.source.backup.name
name: spec.source.backup.name
sort: true
- source: spec.source.backup.namespace
name: spec.source.backup.namespace
sort: true
- source: spec.destination.volume.name
name: spec.destination.volume.name
sort: true
- source: spec.destination.volume.namespace
name: spec.destination.volume.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 @@ -70,7 +70,7 @@ data:
- path: spec.location
simple: true
name: spec.location
required: true
required: false
- path: spec.tier
simple: true
name: spec.tier
Expand Down Expand Up @@ -140,6 +140,9 @@ data:
- source: spec.fileShareName
name: spec.fileShareName
sort: true
- source: status.capacityGb
name: status.capacityGb
sort: true
- source: spec.location
name: spec.location
sort: true
Expand All @@ -155,11 +158,12 @@ data:
spec.location: Location
spec.capacityGb: Capacity
spec.fileShareName: File Share Name
spec.capacityGb: Capacity (Gb)
spec.capacityGb: Requested Capacity (Gb)
spec.ipRange: IP Range
spec.ipRange.name: Name
configuration: Configuration
status.state: State
status.capacityGb: Reserved Capacity (Gb)
status: Status
spec.volume: Volume
spec.volume.name: Name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data:
- name: spec.volume.name
source: volume.name
widget: Labels
- name: ipRange
- name: spec.ipRange
widget: Panel
source: spec.ipRange
children:
Expand All @@ -25,6 +25,19 @@ data:
- name: namespace
source: namespace
widget: Labels
- name: spec.volumeClaim
widget: Panel
source: spec.volumeClaim
children:
- name: spec.volumeClaim.name
source: name
widget: Labels
- name: spec.volumeClaim.labels
source: labels
widget: Labels
- name: spec.volumeClaim.annotations
source: annotations
widget: Labels
- name: volume
source: spec.volume
widget: Panel
Expand All @@ -45,7 +58,7 @@ data:
- name: status.state
source: state
widget: Labels
form: |
form: |+
- path: spec.capacity
simple: true
name: spec.capacity
Expand Down Expand Up @@ -99,6 +112,24 @@ data:
name: annotations
required: false
widget: KeyValuePair
- path: spec.volumeClaim
simple: true
name: spec.volumeClaim
widget: FormGroup
children:
- path: name
name: spec.volumeClaim.name
simple: true
widget: Text
- path: labels
name: spec.volumeClaim.labels
simple: true
widget: KeyValuePair
- path: annotations
name: spec.volumeClaim.annotations
simple: true
widget: KeyValuePair

general: |-
resource:
kind: AwsNfsVolume
Expand All @@ -124,7 +155,10 @@ data:
- source: spec.volume.name
name: spec.volume.name
sort: true
translations: |-
- source: status.state
name: status.state
sort: true
translations: |
en:
spec.capacity: Capacity
spec.performanceMode: Performance Mode
Expand All @@ -134,13 +168,16 @@ data:
status: Status
status.state: State
placeholders.dropdown: Type or choose an option
ipRange: IP Range
formName: Name
namespace: Namespace
spec.volume: Volume
labels: Labels
annotations: Annotations
spec.ipRange: IP Range
spec.volumeClaim: Volume Claim
spec.volumeClaim.name: Name
spec.volumeClaim.labels: Labels
spec.volumeClaim.annotations: Annotations
kind: ConfigMap
metadata:
labels:
Expand Down
15 changes: 14 additions & 1 deletion config/ui-extensions/awsnfsvolumes/details
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ body:
- name: spec.volume.name
source: volume.name
widget: Labels
- name: ipRange
- name: spec.ipRange
widget: Panel
source: spec.ipRange
children:
Expand All @@ -22,6 +22,19 @@ body:
- name: namespace
source: namespace
widget: Labels
- name: spec.volumeClaim
widget: Panel
source: spec.volumeClaim
children:
- name: spec.volumeClaim.name
source: name
widget: Labels
- name: spec.volumeClaim.labels
source: labels
widget: Labels
- name: spec.volumeClaim.annotations
source: annotations
widget: Labels
- name: volume
source: spec.volume
widget: Panel
Expand Down
18 changes: 18 additions & 0 deletions config/ui-extensions/awsnfsvolumes/form
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,21 @@
name: annotations
required: false
widget: KeyValuePair
- path: spec.volumeClaim
simple: true
name: spec.volumeClaim
widget: FormGroup
children:
- path: name
name: spec.volumeClaim.name
simple: true
widget: Text
- path: labels
name: spec.volumeClaim.labels
simple: true
widget: KeyValuePair
- path: annotations
name: spec.volumeClaim.annotations
simple: true
widget: KeyValuePair

3 changes: 3 additions & 0 deletions config/ui-extensions/awsnfsvolumes/list
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
sort: true
- source: spec.volume.name
name: spec.volume.name
sort: true
- source: status.state
name: status.state
sort: true
7 changes: 5 additions & 2 deletions config/ui-extensions/awsnfsvolumes/translations
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ en:
status: Status
status.state: State
placeholders.dropdown: Type or choose an option
ipRange: IP Range
formName: Name
namespace: Namespace
spec.volume: Volume
labels: Labels
annotations: Annotations
spec.ipRange: IP Range
spec.ipRange: IP Range
spec.volumeClaim: Volume Claim
spec.volumeClaim.name: Name
spec.volumeClaim.labels: Labels
spec.volumeClaim.annotations: Annotations
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ data:
description: >-
GcpNfsVolumeBackup is the Schema for the gcpnfsvolumebackups API
list: |-
- source: spec.location
name: spec.location
sort: true
- source: spec.source.volume.name
name: spec.source.volume.name
sort: true
- source: spec.location
name: spec.location
sort: true
- source: status.state
name: status.state
sort: true
translations: |-
en:
spec.location: Location
spec.source.volume: Volume
spec.source.volume.name: Volume Name
spec.source.volume.name: GCP NFS Volume
spec.source.volume.namespace: Namespace
status.state: State
configuration: Configuration
Expand Down
6 changes: 3 additions & 3 deletions config/ui-extensions/gcpnfsvolumebackups/list
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- source: spec.location
name: spec.location
sort: true
- source: spec.source.volume.name
name: spec.source.volume.name
sort: true
- source: spec.location
name: spec.location
sort: true
- source: status.state
name: status.state
sort: true
2 changes: 1 addition & 1 deletion config/ui-extensions/gcpnfsvolumebackups/translations
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
en:
spec.location: Location
spec.source.volume: Volume
spec.source.volume.name: Volume Name
spec.source.volume.name: GCP NFS Volume
spec.source.volume.namespace: Namespace
status.state: State
configuration: Configuration
Expand Down
Loading
Loading