Commit Graph

6 Commits

Author SHA1 Message Date
Vincent Fiduccia 96f53674d8
Upgrade jsyaml 2021-08-06 02:06:04 -07:00
Cody Jackson 9394ea05a4 Enable models to override their cleanForNew method
Constraints were failing to clone because cleanForNew didn't remove `this.constraint` which casued the save method to attempt to save the existing constraint instead of creating a new constraint.

This enables models to be able to create their own cleanForNew method to remove custom props if necessary.

rancher/dashboard#2341
2021-02-18 12:17:56 -07:00
Vincent Fiduccia 604cfccfc1
Remove the rest of resourceDetail asyncData, fetch fixes
- parentOverrides now part of type-map/configureType to set and  type-map/optionsFor to get.
- Remove asyncData from resourceDetail flow
- Rehydrate fetch() data
2020-12-02 03:31:25 -07:00
Cody Jackson 73e0a56443 Adding more polish to OPA Gatekeeper
rancher/dashboard#1773
2020-11-17 23:27:24 -07:00
Cody Jackson 80b37a78d2 Updating the look and feel of the constraint edit pages
rancher/dashboard#1773
2020-11-17 23:14:40 -07:00
Cody Jackson dcad01a17a Moving gatekeeper-constraint to be a spoofedType 2020-11-17 23:14:40 -07:00