Commit Graph

9975 Commits

Author SHA1 Message Date
Westly Wright 0f3f0daf67
Merge pull request #3376 from codyrancher/auth-endpoint
Use template value for localClusterAuthEndpoint
2019-09-23 14:48:49 -07:00
Westly Wright 63aef3fa30
change other occurrences of model.cluster.clusterTemplateRevisionId 2019-09-23 14:45:28 -07:00
Vincent Fiduccia 85211037fe
Merge pull request #3375 from codyrancher/cluster-template-share-groups
Make groups visible when editing cluster template
2019-09-23 14:44:48 -07:00
Westly Wright 290a1f51f6
Attach correct value to be modified to cluster template id select
When consuming a cluster template selection of the template id from the drop
down didn't change the cluster template revision becuase the UI component was
using the readOnly value. Attached the selection to the correct value so the
action floats up (DDAU).

rancher/rancher#22977
2019-09-23 14:19:01 -07:00
Cody Jackson 72a60c44ea Improve and fix supported storage filtering
Editing was failing when an existing unsupported storage type had
already been used and the ferature flag unsupported-storage-drivers
was false. Adding a volume as part of a workload was also broken
when attempting to use an unsupported storage type.

To remedy this I decided to refactor the code and make the filtering
happen explicitly only for the dropdowns.

I also decided to make feature checking reusable and either to use
by adding a service to check if a flag is enabled.

rancher/rancher#22895
rancher/rancher#22998
2019-09-20 17:13:47 -07:00
Cody Jackson b8293d7546 Use template value for localClusterAuthEndpoint
When creating a cluster using a template localClusterAuthEndpoint was not
using the value provided by the template.  The component assumed that
localClusterAuthEndpoint was a boolean when it was in fact a string that
represented a boolean. To resolve this a string comparison needed to
be made.

rancher/rancher#22972
2019-09-20 14:59:56 -07:00
Cody Jackson 9c9b2160ab Make groups visible when editing cluster template
While editing a cluster template when the template was shared with a
group the group was not visible under the Share Template section. We
needed to ensure that the group was visible.

The reason that this was occuring was because we weren't fetching the
principal for the group because we were only fetching when the
userPrincipalId was present and not when the groupPrincipalId was
present.

rancher/rancher#22971
2019-09-20 13:45:02 -07:00
Vincent Fiduccia 315a6fe323
Merge pull request #3372 from codyrancher/user-menu
Prevent main content from overlapping user menu
2019-09-19 12:11:54 -07:00
Vincent Fiduccia 9e0216a299
Merge pull request #3371 from loganhz/labels
Fix label missing issue
2019-09-19 11:52:05 -07:00
Vincent Fiduccia 5a96cda3fe
Merge pull request #3370 from codyrancher/editing-cluster-template
Making the cluster template revisionId saveable.
2019-09-19 11:51:28 -07:00
Cody Jackson 3370aa9ca0 Making the cluster template revisionId saveable.
When editing a cluster that was created with cluster template
the cluster template revision couldn't be saved.

The revisionId was stored as a component member variable instead
of as a part of the model. It needed to be stored as part of the
model in order for the NewOrEdit to see the changes and save
them. I went ahead and referenced the model directly everywhere
in the component and removed the component member variable.

rancher/rancher#22920
2019-09-19 11:47:48 -07:00
Cody Jackson 228a56ff2b Prevent main content from overlapping user menu
In mobile the user menu was being overlapped by the main content.
To fix this we just needed to update the z-index of the user menu.

rancher/rancher#21914
2019-09-19 10:36:28 -07:00
Vincent Fiduccia b9977bbe51
Merge pull request #3369 from vincent99/master
Show special catalogs as regular rows
2019-09-19 10:34:52 -07:00
Vincent Fiduccia 5dac97299a
Only show disabled global catalogs on global level, gray out 2019-09-19 10:13:21 -07:00
loganhz 43e22b8fc8 Fix label missing issue 2019-09-20 00:23:09 +08:00
Vincent Fiduccia 466f699c9b
Regular rows for special catalogs 2019-09-19 04:31:50 -07:00
Vincent Fiduccia ecf852e21e
Merge pull request #3367 from loganhz/gcp
Add missing gce-pd fields
2019-09-19 01:44:24 -07:00
Vincent Fiduccia 3ada863f9c
Merge pull request #3364 from loganhz/max
Remove rancherVersion in its requests
2019-09-19 01:42:09 -07:00
Vincent Fiduccia 44c0b79760
Merge pull request #3368 from loganhz/labels
Fix label missing issue
2019-09-19 01:40:55 -07:00
loganhz 33cf620675 Fix label missing issue
https://github.com/rancher/rancher/issues/22913
2019-09-19 11:46:20 +08:00
loganhz 37a9458a06 Add missing gce-pd fileds 2019-09-19 09:10:20 +08:00
Vincent Fiduccia df20ca2d5b
Unused var 2019-09-18 17:43:38 -07:00
Vincent Fiduccia 7aee6fd5d9
Merge pull request #3363 from n313893254/22887
Fix Google Auth translation
2019-09-18 17:41:48 -07:00
Vincent Fiduccia 058a8f32e4
Merge pull request #3361 from codyrancher/unsupported-volume-filtering
Hide unsupported storage providers
2019-09-18 17:36:44 -07:00
Vincent Fiduccia 727dbae5b7
Merge pull request #3359 from n313893254/22894
Fix cannot edit v1.14 k8s EKS cluster
2019-09-18 17:30:34 -07:00
Vincent Fiduccia 4d3facaa92
Merge pull request #3365 from superseb/cacertificate
Corrected CA certificate label for auth endpoint
2019-09-18 17:28:58 -07:00
Vincent Fiduccia 51161c38cf
Merge pull request #3366 from codyrancher/use-private-ip
Preserve state of 'Use Private IP To Connect'
2019-09-18 17:08:45 -07:00
Cody Jackson 3fcc2382d9 Preserve state of 'Use Private IP To Connect'
When editing Azure node templates we failed to
preserve the state of 'Use Private IP To Connect 'when the value of
public ip was 'Static' or 'Dynamic'. We were erroneously overwriting the
value of config.usePrivateIp to false when those public ip values were
chosen.

rancher/rancher#22752
2019-09-18 16:00:42 -07:00
Sebastiaan van Steenis a706642e12 Corrected CA certificate label for auth endpoint 2019-09-18 20:56:31 +02:00
loganhz efcc47bd82 Remove rancherVersion in its requests
https://github.com/rancher/rancher/issues/22921
2019-09-18 11:56:17 +08:00
n313893254 d3d759c362 Fix Google Auth translation
https://github.com/rancher/rancher/issues/22887
2019-09-18 10:31:13 +08:00
Vincent Fiduccia cf7b2497e3
Merge pull request #3362 from rancher/revert-3351-master
Revert "Add standard volume type for AWS"
2019-09-17 18:03:59 -07:00
Vincent Fiduccia dd76897e67 Revert "Add standard volume type for AWS (#3351)"
This reverts commit 693f39283a.
2019-09-17 18:03:23 -07:00
Cody Jackson 348c1c38e2 Hide unsupported storage providers
We want to make it more difficult to use unsupported storage providers
to reduce the likelihood of a user accidently using one of these
storage providers.

rancher/rancher#22895
2019-09-17 16:49:12 -07:00
n313893254 9226c5e983 Fix cannot edit v1.14 k8s EKS cluster
https://github.com/rancher/rancher/issues/22894
2019-09-17 11:06:10 +08:00
Vincent Fiduccia 43d60ccc58
Bump 2019-09-16 19:09:51 -07:00
Cody Jackson df754f6f8f Display security options when editing GKE cluster
We want the user to be able to see the security options that were
selected even if they can't be edited when editing the cluster.

We had to extract and infer the selected options given the oauthScopes.
It would be better if our API could more closely reflect our fields.

rancher/rancher#19070
2019-09-16 16:13:45 -07:00
Vincent Fiduccia faa228c625
Merge pull request #3355 from codyrancher/mobile-nav
Improve the mobile sub-navigation UX
2019-09-16 16:09:23 -07:00
Meikel Philipp 693f39283a Add standard volume type for AWS (#3351)
* Added select for volume type in node-template
Added standard as volume type for Amazon (ec2 & ebs)
Extracted volume types to amazon.js (used by ec2 & ebs)
2019-09-16 16:08:35 -07:00
Vincent Fiduccia 071b9a576c
Merge pull request #3357 from xiaoluhong/master
update zh-hans
2019-09-16 16:03:58 -07:00
Cody Jackson 0cee042ed9 Improve the mobile sub-navigation UX
In the navigation menu when a user attempted to open a sub-menu the
entire navigation menu instantly closed. To resolve this we now listen
to the router willTransition event to close the navigation rather than
a willRender invocation.

The sub-menu was also overlapping other menu items because it had an
absolute position. To resolve this we now give the sub-menu a static
position.

rancher/rancher#21914
2019-09-16 16:03:47 -07:00
Vincent Fiduccia 5ecdaa9646
Merge pull request #3356 from loganhz/events
Support paging for events list
2019-09-16 16:02:52 -07:00
xiaolu hong 7e43d2e6a7 update zh-hans 2019-09-15 19:56:39 +08:00
loganhz 9d2c9536a4 Support paging for events list
https://github.com/rancher/rancher/issues/22858
2019-09-14 23:26:28 +08:00
Vincent Fiduccia 6a399ed609
Merge pull request #3354 from loganhz/reload
Fix current version missing issue
2019-09-13 17:17:07 -07:00
Vincent Fiduccia a7f8eabc1a
Merge pull request #3352 from codyrancher/master
Add more context to the title of deletion modals
2019-09-13 17:13:33 -07:00
Cody Jackson 2f990ced40 Add more context to the title of deletion modals
Adds the resource types "namespace", "cluster", "project" as
additional context to the titles of the respective deletion modals
in order to reduce the likelyhood of a user accidentally deleting
an unintented resource.

We changed the title from "Are you sure you want to delete" to
"Are you sure you want to delete the namespace:" with namespace
being bold. The same is true for cluster and project as well.

rancher/rancher#17619
2019-09-13 12:47:38 -07:00
loganhz f95c884acb Fix current version missing issue
Show current version even it doesn't match min max Rancher version
2019-09-13 10:11:01 +08:00
Vincent Fiduccia 4e7b7e45ad
Merge pull request #3350 from loganhz/k8s-events
Show Kubernetes events in UI
2019-09-12 17:15:01 -07:00
Vincent Fiduccia c487101087
Merge pull request #3349 from n313893254/22801
Fix answers for Monitoring Disappear After Save
2019-09-12 17:13:12 -07:00