Cody Jackson
4893a97668
Switched to modifying this.value directly
...
CruResource needs to take the modified value in
order to display the appropriate yaml.
Also the Output and ClusterOutput spec has a
type of `.spec` so I had to put an exception in
create-yaml.
rancher/dashboard#1420
rancher/dashboard#1421
2020-09-29 13:47:57 -07:00
Westly Wright
75953fd893
Do not process always add for array types create yaml
...
rancher/dashboard#1008
2020-09-23 10:23:45 -07:00
Nancy Butler
a4f847bc67
create-yaml error
2020-09-21 14:57:34 -07:00
Vincent Fiduccia
5fbd9526f5
Fleet ClusterGroups
2020-09-10 03:00:18 -07:00
Cody Jackson
fb3c440d04
Fixing opa constraint bitrot issues
...
There's been significant changes to a number of our base components that didn't get carried over to constraints since it's an exceptional type.
- This migrated over to cru-resource
- Updated all of the helper components to handle the lack of tables in arraylist
- Updated how create-edit-view is used
- Properly saves now
- Can edit parameters as yaml
- Can edit yaml
https://github.com/rancher/dashboard/issues/1100
https://github.com/rancher/dashboard/issues/1099
https://github.com/rancher/dashboard/issues/1011
https://github.com/rancher/dashboard/issues/622
2020-09-02 17:38:57 -07:00
Westly Wright
584fb35596
Don't loop and process always add for preview yaml
2020-08-25 09:50:51 -07:00
Westly Wright
15c36d709f
during create yaml dont parse undefinied values
...
this causes the yaml parser to blow up. I added some extra error handling and logs as well
rancher/dashboard#1008
2020-08-25 09:50:50 -07:00
Westly Wright
70e0632859
Update createYaml to use data passed in as default
2020-08-13 10:21:19 -07:00
Nancy Butler
a26f61b904
use js-yaml parsing and resource proxy obj for yaml edit/clone
...
map _type->type in create-yaml
use link for yaml instead of parsing JSON
2020-05-14 12:52:01 -07:00
Nancy Butler
2ecc94b9e2
.
2020-05-14 12:51:28 -07:00
Vincent Fiduccia
2237bef8ef
Form components
2019-09-24 00:17:02 -07:00
Vincent Fiduccia
f3d824a9fd
Yaml create
2019-08-28 23:16:46 -07:00