Commit Graph

158 Commits

Author SHA1 Message Date
Vincent Fiduccia 119687c842
Fix yaml edit from form 2020-12-10 00:16:39 -07:00
Nancy Butler 9c78612783 fix scan report fetching 2020-12-09 09:10:14 -07:00
Nancy Butler b0c17cb2f3 cis with less permissions 2020-12-08 16:31:49 -07:00
Nancy Butler 455f859c23 re-add lost ! 2020-12-03 16:27:42 -07:00
Nancy Butler 196674a075 allow 0 replicas
clear env var fields when type changed

fix stdin/tty in workload create

no clone job

node/pod affinity re-do
2020-12-03 16:26: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
Vincent Fiduccia 8746ab077c
Form component props standardizing 2020-12-01 01:09:24 -07:00
Vincent Fiduccia 936f54da24
fetch vs asyncData, moreDetails, parentOverride, pod moredetails 2020-11-30 23:28:21 -07:00
Vincent Fiduccia e01e75bf2f
Detail/Config/YAML toggle 2020-11-30 23:16:38 -07:00
Cody Jackson dcad01a17a Moving gatekeeper-constraint to be a spoofedType 2020-11-17 23:14:40 -07:00
n313893254 5217edd49d Update catalog chinese translation 2020-11-13 16:48:37 +08:00
Nancy Butler 2ae4685e3b simple custom validators 2020-10-29 13:44:55 -07:00
Vincent Fiduccia aa0da7758e
Merge pull request #1700 from codyrancher/alert-manager-route
Adding the route alertmanager route type
2020-10-28 15:36:20 -07:00
Vincent Fiduccia 008648b0ae
RelatedResources for Apps 2020-10-28 00:20:30 -07:00
Cody Jackson 0118e0c984 Adding the route alertmanager route type
- Extracted code that could be shared between route and receiver into an alertmanagerconfig util
- Added some more support code to allow users to dynamically add/remove uncreatableTypes

rancher/dashboard#1239
2020-10-27 16:10:01 -07:00
Vincent Fiduccia 114b08b560
Restore target mode on gitrepo edit 2020-10-05 17:33:36 -07:00
Cody Jackson 29aaa185e5 Adding validation to verify atleast one local or global output is selected
rancher/dashboard#
2020-10-02 15:06:05 -07:00
Vincent Fiduccia ce75c172c9
Assign clusters to workspace & label them 2020-10-02 02:54:01 -07:00
Vincent Fiduccia 08e451185d
Fleet list & details 2020-09-30 05:05:53 -07:00
Nancy Butler f504bf739e various workload fixes 2020-09-28 13:55:29 -07:00
Vincent Fiduccia 8eafc5f43d
Fleet states 2020-09-26 02:39:12 -07:00
Vincent Fiduccia 1814a1e3b7
Only ask the server for relationships if we don't already have it 2020-09-26 02:39:12 -07:00
Vincent Fiduccia 61b9b4b1c7
Remove consecutive action dividers 2020-09-26 02:39:12 -07:00
Vincent Fiduccia 0466c361e3
Rearrange products, fleet 2020-09-23 03:42:15 -07:00
Nancy Butler af3d6c63bf clusterscan detail fixes 2020-09-22 12:10:25 -07:00
Vincent Fiduccia 3d86690f68
Fleet 2020-09-21 03:33:07 -07:00
Vincent Fiduccia 9ad62bf02a
More fleet 2020-09-16 04:25:39 -07:00
Nancy Butler 2e1c1a76fa clusterscan detail 2020-09-15 12:52:54 -07:00
Vincent Fiduccia 6d9960bf25
GitRepo 2020-09-14 04:00:33 -07:00
Vincent Fiduccia 000ad98d30
Fix question charts saving to values (#1221) 2020-09-10 17:31:16 -07:00
Vincent Fiduccia 565520c47a
Fleet clustergroup creaet 2020-09-04 03:46:01 -07:00
Vincent Fiduccia d8b80c4f9d
Fix resource state ignoring metadata.state.error 2020-08-27 15:37:31 -07:00
Vincent Fiduccia ed0dfc7366
Useless check 2020-08-26 03:21:25 -07:00
Cody Jackson cf4794c057 Updating how we filter labels and annotations
- Replace prefix and contain lists with regex lists
- Allow each resource to override the filtering by overriding labelsToIgnoreRegexes/annotationsToIgnoreRegexes
- Hide the labels and annotations both from the view and edit of Labels and DetailTop components
- Allow users to modify filtered labels and annotations by entering them manually

rancher/dashboard#556
2020-08-20 11:47:58 -07:00
Vincent Fiduccia 89dadef222
Bugs 2020-08-11 01:39:20 -07:00
Vincent Fiduccia 2f2625a471
Start supporting multi chart install 2020-08-04 11:10:13 -07:00
Vincent Fiduccia d2858c97b7
Just the actual changes from #929 2020-07-31 20:32:47 -07:00
Vincent Fiduccia 2a746d0503
Bugs, app detail, chart refresh, app nav 2020-07-29 23:02:57 -07:00
Vincent Fiduccia bdc77008c6
App bugs 2020-07-24 00:56:50 -07:00
Vincent Fiduccia 464eac6d5c
Show helm logs after launching 2020-07-22 05:11:45 -07:00
Vincent Fiduccia d96f359aeb
More apps 2020-07-22 03:56:06 -07:00
Vincent Fiduccia 12202a0aa8
App launch wizard 2020-07-22 03:56:06 -07:00
Vincent Fiduccia 0206a088ca
More states 2020-07-22 03:55:42 -07:00
Vincent Fiduccia 3a6f3d07fc
Install Chart 2020-07-22 03:55:41 -07:00
Vincent Fiduccia d50ab5ec70
i18n support for type names, combine singular&pluralLabelFor 2020-07-22 03:55:41 -07:00
Vincent Fiduccia 5c666e4eee
Remove from store on delete that returns 204 2020-07-22 03:55:41 -07:00
Vincent Fiduccia 78430cfc00
Steve relationships, watch id/selector, start find by selector 2020-07-16 18:24:01 -07:00
Vincent Fiduccia 49447e96ff
Merge pull request #828 from codyrancher/masthead-update
Masthead update
2020-07-16 18:19:45 -07:00
Cody Jackson ece87754c5 Masthead update
rancher/dashboard#817
2020-07-15 14:24:29 -07:00
Vincent Fiduccia 75c3e9104e
More dynamic products, MCM 2020-07-15 00:11:51 -07:00
Vincent Fiduccia ba5fba343d
Product switcher 2020-07-10 11:26:00 -07:00
Vincent Fiduccia 94cb6a49d7
Use individual lodash modules 2020-07-10 11:25:45 -07:00
Westly Wright 69452c7154
review feedback 2020-06-15 11:55:16 -07:00
Westly Wright 96c951f262
Adds client side validation
Supports basic scalar types string, int, bool, array etc
Supports custom validation logic

Adds initial service validations
Adds additional error processing logic to better parse Kubernetes api errors

Fixes some minor bugs found while writing custom validtion for service

rancher/dashboard#189
2020-06-15 08:57:35 -07:00
Nancy Butler 6d352f9beb do not clean yamls for create 2020-06-09 13:27:45 -07:00
Nancy Butler 58c269ec0d pr feedback 2020-06-08 08:55:43 -07:00
Nancy Butler 30632f1eb9 pod detail 2020-06-08 08:55:43 -07:00
Vincent Fiduccia d17f79576b
Rio fixes 2020-06-04 16:06:15 -07:00
Vincent Fiduccia 03d0f8d32b
Group by ns/project labels 2020-06-02 16:10:00 -07:00
lvuch 9855f34c21 543 2020-06-01 13:15:37 -07:00
Vincent Fiduccia 2265c3f34d
LoadDeps -> fetch 2020-05-30 03:14:00 -07:00
Vincent Fiduccia 31ea3b138e
Eslint changes new nuxt defaults want 2020-05-28 14:22:52 -07:00
Nancy Butler 1bde772cf2 yaml in generic detail 2020-05-26 09:47:40 -07:00
Vincent Fiduccia d8d3f8120f
Add existing record to store on create, not on edit 2020-05-19 17:54:01 -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 603b2fcd8b
Merge pull request #654 from vincent99/master
Queue updates from subscribe and apply once per second
2020-05-14 13:36:41 -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 bdac6f07a2
Queue updates from subscribe and apply once per second 2020-05-14 12:43:48 -07:00
Nancy Butler 9e95b3b9ad fix linkFor error on create retry
add/remove resources reactively
2020-05-14 12:31:08 -07:00
Vincent Fiduccia 654073a7bf
Merge pull request #649 from codyrancher/cm-404
Remove custom VueRouter.resolve
2020-05-14 03:09:44 -07:00
Cody Jackson 36fe9c0b85 Adding node cordon badging
https://github.com/rancher/dashboard/issues/241#issuecomment-626209671
2020-05-13 17:52:47 -07:00
Cody Jackson ed1ea6373f Remove custom VueRouter.resolve
replace and push both work  as intended. You can
specify a a full url  if you don't want to have the baseUrl
prepended. Better yet, if you're navigating within
the app it's better to specify a location.

The custom resolve was actually breakinging a huge
amount of links in the app which was caused 404s if a
user attempted to open a link in a new tab. Most things appeared to work presumably because vue-router
was handling the page switches instead of the browser.

rancher/dashboard#643
2020-05-13 17:44:20 -07:00
Westly Wright a2ac4eb9cf
refactor all current action checks into instance methods
so they can be overridden
2020-04-27 12:28:35 -07:00
Westly Wright 22182006d8
Move can delete check to instance method and override cluster check
rancher/dashboard#530
2020-04-27 12:18:06 -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 4014751a1b Fixing up ingress pages
- Fixed a number of unhandled exceptions
- Fixes some issues with rules vs backend property references
- Made pages more consistent with mocks

rancher/dashboard#272
2020-04-21 10:27:30 -07:00
Westly Wright e67273da07
Only show yaml actions if yaml is available
rancher/dashboard#510
2020-04-20 10:07:51 -07:00
Cody Jackson 178d2cfe1a Switch consumption gauge percentage graphic
Switched the percentage circle over to the percentage bar to fit the new
design.

Also decoupling the Delete option from type-map/isEditable

rancher/dashboard#415
2020-04-15 13:23:07 -07:00
Cody Jackson 8e15841d81 Enabling the ability to mark types and both immutable and unCreatable
This is to support special types like Node where the user shouldn't be able
to create the resource through normal means.

rancher/dashboard#507
2020-04-15 11:12:18 -07:00
Vincent Fiduccia 09df5918db
Move the rest of workloads into standard _resource 2020-04-14 16:16:11 -07:00
Vincent Fiduccia 22f4ef977b
Unify Resource(Detail|Yaml) headers and behaviors 2020-04-14 16:16:10 -07:00
Vincent Fiduccia 191cb7ca6e
Continue moving workloads 2020-04-14 16:16:10 -07:00
Vincent Fiduccia 4bc1321dab
Edit project of namespaces, bugs
- Edit project on namespace
- Certificate fields need to be multiline
- Create-edit-view creates metadata.(annotations, labels) automatically and cleans up on save if empty so you don't have to check if they're there.
- Form components should have a focus() instead of reaching into each other's $refs
- LabeledSelect takes and emits the value, not the `{label: x, value: y}` object.
- Resource names are almost never editable after create
- NameNsDescription takes a resource and manages setting name/ns/description on it itself.
- TextAreaAutoGrow should resize on file input
2020-04-14 16:16:10 -07:00
Nancy Butler 654aa72163 workload action menu 2020-04-09 11:27:18 -07:00
Nancy Butler 582594dc24 fix WL save URL
fix WL return to list view

add schedule for cronjob

remove check for Table response
2020-03-20 15:17:23 -07:00
Westly Wright c705dea50b
Fix console log in waitFor* and missing params for waitForCondition 2020-03-17 11:05:25 -07:00
Westly Wright 798f82e979
Fix edit issues after rebase 2020-03-11 10:11:14 -07:00
Vincent Fiduccia a8d75a2091
nav-tree -> type-map, remove versions from all the types and filenames 2020-03-10 17:33:53 -07:00
Vincent Fiduccia 11cf66afcc
Fix socket reconnect, resource save() should return proxy that is in store 2020-03-10 13:45:05 -07:00
Vincent Fiduccia 39494daaeb
Fix live updating of nav tree 2020-03-10 13:43:32 -07:00
Vincent Fiduccia 1d81de8fc6
Move tree to vuex state 2020-03-07 03:42:40 -07:00
Westly Wright eeb0194ee7
Updates to get launching gatekeeper working again 2020-03-04 14:29:48 -07:00
Nancy Butler efa1679245 create ingress 2020-03-03 14:18:58 -07:00
Westly Wright f54efde039
Merge pull request #335 from westlywright/opa.launcher2
OPA+GateKeeper Deployment
2020-02-28 09:56:23 -07:00
Vincent Fiduccia 919d69c482
API Grouping 2020-02-27 14:40:06 -07:00
Westly Wright 1aa150ef30
add logic to fetch correct url when creating a resource 2020-02-27 14:32:59 -07:00
Vincent Fiduccia 0042b8202b
Make workloads show up 2020-02-25 13:36:57 -07:00
Vincent Fiduccia 9f5c886278
Merge branch 'master' into workload-create 2020-02-24 13:20:04 -07:00
Nancy Butler 8a07293b2e edit/create new pages 2020-02-24 11:57:16 -07:00