Commit Graph

48 Commits

Author SHA1 Message Date
Westly Wright fbb0e57505
increase timeout for Gatekeeper enable `waitForCondition`
rancher/dashboard#706
2020-05-29 14:32:04 -07:00
Vincent Fiduccia 31ea3b138e
Eslint changes new nuxt defaults want 2020-05-28 14:22:52 -07:00
Vincent Fiduccia fe42beff67
Flag component, bugs 2020-05-19 17:54:01 -07:00
Vincent Fiduccia 2ebcbfed86
Hide create buttons if user doesn't have permission 2020-05-13 17:44:43 -07:00
Westly Wright 67a1683ed5
even out gatekeeper info box
rancher/rancher#392
2020-04-28 14:50:01 -07:00
Westly Wright 406035d3d5
Remove unneeded params and fix async button enable mode 2020-04-28 11:04:05 -07:00
Westly Wright 6129ed91fc
refactor labels down to form/footer for pr feedback 2020-04-28 10:23:52 -07:00
Westly Wright 486ef7ee3d
Expose labels for create and edit buttons in form/footer 2020-04-28 10:23:52 -07:00
Westly Wright 1edfd2a006
Correctly wait for the gatekeeper app to be ready
app doesn't have a state so all the logic was a little wonky, the state must
have been removed. setup the app to watch for the deployed condition instead.
refactored the logic about sending out the emit a bit too so that the config
observer sends the event only if the wait for contidion call int he enable has
failed. it seems a little bonkers to wait 60 seconds which can happen some
times. 30 second default should be more than enough in most cases so this really
catches outside cases where clusters may be bogged down and slow.

rancher/dashboard#371 - Scenario 2
2020-04-28 10:23:52 -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
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
Westly Wright 8c0e5b184c
Remove text next to translation 2020-04-14 09:47:24 -07:00
Westly Wright e3f3427941
add missing opa translations 2020-04-13 12:44:09 -07:00
Westly Wright c9c0d67ec9
udpate version param for new name from values yaml for gatekeeper
rancher/dashboard#457
2020-04-13 12:11:36 -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
lvuch dc46e0c356 463 2020-04-01 15:32:04 -07:00
lvuch acb7ec9eae flag correction 2020-03-31 10:49:01 -07:00
Vincent Fiduccia 4469de0159
Merge branch 'master' into master 2020-03-30 22:11:55 -07:00
Vincent Fiduccia e467958a63
Bugs 2020-03-30 21:52:24 -07:00
Vincent Fiduccia 2ed9a88fd6
Update GatekeeperConfig.vue 2020-03-30 19:56:00 -07:00
Vincent Fiduccia 52171d9dfe
Update GatekeeperConfig.vue 2020-03-30 19:54:14 -07:00
lvuch f865631dce opa gatekeeper layout 2020-03-30 14:12:00 -07:00
lvuch 48a3683256 experimental flag 2020-03-30 10:55:03 -07:00
Vincent Fiduccia dca9b3e689
Bugs 2020-03-27 16:47:47 -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
lvuch 2ea96de213 392 wip 2020-03-19 14:47:48 -07:00
Westly Wright a19ec38fad
Attach gatekeeper wait for to state not condition 2020-03-18 16:13:36 -07:00
lvuch a73d4f214b 381 opa. still needs banner styles 2020-03-17 15:52:19 -07:00
Westly Wright cb5b19f79d
fix disabled state on advanced yaml button 2020-03-17 15:29:36 -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 fcbb030bad
add waitforconidtion check to gatekeeper app 2020-03-17 13:38:30 -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
Westly Wright ffc8f495e7
do not manipulate gatekeeper version array directly
rancher/dashboard#353
2020-03-12 17:26:47 -07:00
Westly Wright ee76b9b779
enable waitForState on ns check when creating new ns for gatekeeper 2020-03-12 12:12:36 -07:00
Westly Wright ab18961197
lint and remove refs to core.v1` 2020-03-11 10:23:17 -07:00
Westly Wright b54c78c048
add parsed spec info to opa gatekeeper config page 2020-03-11 10:11:14 -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
Westly Wright eeb0194ee7
Updates to get launching gatekeeper working again 2020-03-04 14:29:48 -07:00
Westly Wright 025ccc3213
Fix gatekeeper deployment to correct cluster 2020-03-04 12:23:16 -07:00
Westly Wright d9437d1383
typo 2020-03-03 16:24:55 -07:00
Westly Wright 65d658777b
Add gatekeeper logo and flavor text 2020-03-02 10:39:12 -07:00
Westly Wright 04208833cb
Add gatekeeper version to label 2020-03-02 09:42:40 -07:00
Westly Wright 531dda9375
docs 2020-02-27 15:00:45 -07:00
Westly Wright 4ce6dc15e8
updates to fit into the new side nav and get gatekeeper launching 2020-02-27 14:32:59 -07:00
Westly Wright 1aa150ef30
add logic to fetch correct url when creating a resource 2020-02-27 14:32:59 -07:00