Commit Graph

56 Commits

Author SHA1 Message Date
Vincent Fiduccia ecfecd9971
Remove Stories 2020-11-30 23:28:23 -07:00
Vincent Fiduccia 936f54da24
fetch vs asyncData, moreDetails, parentOverride, pod moredetails 2020-11-30 23:28:21 -07:00
lvuch 3894314ee3 minor tweaks 2020-11-19 13:52:06 -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
Cody Jackson 3a4a0f8189 Improving Gatekeeper navigation
- Got rid of the old template list page and just use the generic now
 - Added a new constraints/_resource/_id route so navigation will activate appropriately.

 rancher/dashboard#1529
2020-10-20 16:09:17 -07:00
Cody Jackson da672548d1 Updating Gatekeeper navigation
rancher/dashboard#1217
2020-09-28 10:45:24 -07:00
Cody Jackson 52ac1594e4 Updating the yaml location for gatekeeper templates
rancher/dashboard#1183
2020-09-15 10:32:37 -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
Vincent Fiduccia 783bb1654f
Ember login/products integration 2020-08-26 03:21:55 -07:00
Vincent Fiduccia c63f8f1a11
Move Gatekeeper components 2020-07-31 19:51:46 -07:00
Vincent Fiduccia 2a746d0503
Bugs, app detail, chart refresh, app nav 2020-07-29 23:02:57 -07:00
Cody Jackson ece87754c5 Masthead update
rancher/dashboard#817
2020-07-15 14:24:29 -07:00
Vincent Fiduccia 174b39b982
Define products 2020-07-10 11:25:45 -07:00
Vincent Fiduccia 62462734ee
Steve vs Rancher types, types.js is only for type names 2020-06-09 16:09:06 -07:00
Vincent Fiduccia d01e776e9a
Start rio cleanup 2020-05-30 03:14:01 -07:00
Vincent Fiduccia 31ea3b138e
Eslint changes new nuxt defaults want 2020-05-28 14:22:52 -07:00
Cody Jackson 4e6632096e Making a number of OPA fixes
- Constraint YAML cancel button will take you back to the constraint
page.
- Updated the mastheads of constraint and template.
- Constraint Create as Yaml now works
- Constraints and templates can be cloned now.

rancher/rancher#523
rancher/rancher#622
rancher/rancher#398
2020-05-18 18:21:26 -07:00
Vincent Fiduccia 19648c0cd3
Merge pull request #555 from codyrancher/no-console
Enabling no-console rule for eslint
2020-04-26 14:52:36 -05:00
Nancy Butler 84e79ea2b8 fix linting errors 2020-04-24 13:23:46 -07:00
Nancy Butler b8a996c43f revert NameNsDescription and filter annotations, labels in create-edit-view 2020-04-24 12:04:15 -07:00
Nancy Butler 6249c766ab placeholder visibility
secret type display in edit form

add custom secret types

description as prop in namens

secret styling

service account link in list view for service acct token secrets
2020-04-24 12:04:15 -07:00
Cody Jackson 00476e5cb9 Enabling no-console rule for eslint
This will automate checking for stray console errors so they don't need to be
checked for in PRs.
2020-04-24 10:37:10 -07:00
Vincent Fiduccia 153ac7dcda
Drop recent types 2020-04-20 14:33:41 -07:00
Cody Jackson 2cc259d241 Remove new yaml serialization
Adding serialization to the scope of the currently pr has become
slightly unwieldy. I'm going to put the serialization into a separate
pr.
2020-04-15 10:00:09 -07:00
Cody Jackson fea71ffae2 Refactored YAML editing to better support parameters
We needed a way to support arbitrarily complex parameters in both
type and nesting level. As a temporary solution I enabled the user
to toggle between a key value component and a yaml editor.

To enable this I refactored ResourceYaml into a composable YamlEditor
component that can be used elsewhere.

rancher/dashboard#388
rancher/dashboard#380
2020-04-15 09:53:24 -07:00
Vincent Fiduccia 09df5918db
Move the rest of workloads into standard _resource 2020-04-14 16:16:11 -07:00
Westly Wright e3f3427941
add missing opa translations 2020-04-13 12:44:09 -07:00
Westly Wright 63779a1d1a
Cluster dashboard overview feedback
Add exact to type (link) component

Live data format for events

Pretty cluster providers

Add ago suffix to LiveDate

tweak events headers

remove unneeded suffix

change to unhealthy nodes

only show constraints with violations on overview

ignore tern port files

overview detail gatekeeper disabled bugs

Update percentage bar to take in percentage value

tweak exponents and fix issue wiht max/min

change cluster events default sort

update comments for defaultSortby

cluster infobox feedback

Pass nodes down to InfoBoxCluster to parse only worker nodes info

fix engine config translations

node counts infobox cluster

alignment issues

review feedback

lint warnings
2020-04-02 11:17:22 -07:00
Cody Jackson 681ae70c55 Adding a messaging to constraint template deletion
We don't want the user to delete constraint templates if the templates
are being used by existing constraints. This provides a message and
disables the delete button if the user attempts to delete a template
that's currently in use.

rancher/dashboard#375
2020-03-30 14:48:07 -07:00
Vincent Fiduccia 1af317ee53
Merge pull request #440 from westlywright/opa.feedback
Handle disable at the route level and recreate a new gatekeeper app
2020-03-27 12:35:36 -07:00
Westly Wright 76efe4d9d1
remove console log 2020-03-27 11:23:29 -07:00
Westly Wright 527a64d99f
Handle disable at the route level and recreate a new gatekeeper app
so you can re-enable without having to refresh the page

rancher/dashboard#394
2020-03-27 10:51:34 -07:00
Cody Jackson be4ec21e08 Ensure a lack of annotations doesn't prevent constraints from rendering
This ensures we don't attempt to access the description annotation
from the constraints page unless the annotations are present.

rancher/dashboard#383
2020-03-27 10:00:17 -07:00
Westly Wright 6f590a17b0
update default config for gatekeeper
rancher/dashboard#406
2020-03-20 09:52:48 -07:00
Vincent Fiduccia 6b9ef6bf44
Merge pull request #407 from vincent99/master
Recent types, Import yaml
2020-03-20 03:30:38 -07:00
Vincent Fiduccia 79bdbc263b
Recent types, Import yaml 2020-03-20 03:27:10 -07:00
lvuch 2ea96de213 392 wip 2020-03-19 14:47:48 -07:00
Westly Wright def8444047
Wireup gatekeeperEnabled flag properly so states transition correct
rancher/dashboard#376
2020-03-17 15:10:45 -07:00
Westly Wright 7415731acb
Only show gatekeeper violations if gatekeeper is enabled
rancher/dashboard#366
2020-03-17 10:22:36 -07:00
Cody Jackson 7d7e3b60b7 Updated the gatekeeper constraints and templates
this should better reflect the new Mocks.

rancher/dashboard#305
2020-03-15 01:34:30 -07:00
Vincent Fiduccia ae1b77b46c
Merge pull request #359 from westlywright/opa.feedback
Opa.feedback
2020-03-12 23:40:36 -07:00
Vincent Fiduccia 1cf6374bd8
Start favorites 2020-03-12 19:59:47 -07:00
Westly Wright ffc8f495e7
do not manipulate gatekeeper version array directly
rancher/dashboard#353
2020-03-12 17:26:47 -07:00
Westly Wright 798f82e979
Fix edit issues after rebase 2020-03-11 10:11:14 -07:00
Westly Wright a2741cb37f
Refactor modes and adding edit action to Gatekeeper 2020-03-11 10:09:23 -07:00
Vincent Fiduccia eedec2a59b
Use clusterExternal for Gatekeeper 2020-03-10 13:44:33 -07:00
Vincent Fiduccia d9a8cafab5
Support nesting types for Gatekeeper 2020-03-05 17:27:50 -07:00
Westly Wright eeb0194ee7
Updates to get launching gatekeeper working again 2020-03-04 14:29:48 -07:00