Commit Graph

2317 Commits

Author SHA1 Message Date
Westly Wright adcfbf96bb
Merge pull request #3527 from codyrancher/one-option-fp
[forwardport] Fix FormContextualSelectArray to accept 1 option
2019-10-31 14:34:27 -07:00
Cody Jackson 8c5e2f021f Fix FormContextualSelectArray to accept 1 option
When there was only one option we the add button was disabled and
we couldn't add the one option.

This change fixes it so that we can still select the single option if
desired.

rancher/rancher#23780
2019-10-31 13:55:33 -07:00
Westly Wright 04c44e3f9e
Merge pull request #3519 from westlywright/fp.translation.fix
Fix Intermittent Translation Not Loading Issues
2019-10-31 09:38:15 -07:00
Westly Wright 77e1df7060
remove translation as we had localizedPrompt set true 2019-10-30 12:14:43 -07:00
Westly Wright 231c9b6f1f
remove maybe-t helpers because t has default (fallback) built in 2019-10-30 12:14:43 -07:00
Westly Wright b31279b8ca
start loading the intl lang sooner to ensure loaded b4 first render
because we did not delay the readiness of the application when loading
translations when a user hit `update-setting` route we'd render the page before
the language had finished loading. Moving the language to the before model and
in the finally of the detect phase ensures we have our language loaded before we
remove the loading state and render the main content.

rancher/rancher#23776
2019-10-30 12:14:28 -07:00
Westly Wright d98edaa785
Merge pull request #3511 from codyrancher/aks-message
Use correct AKS messaging for create cluster
2019-10-30 11:09:36 -07:00
Westly Wright 8058d3de4d
refactor form-versions logic to reduce complexity and bugs
I think the file it self may look more verbose as I've broken several of the
confusing portions into pure(ish) functions. I think this reduces the complexity
of the logic and makes it easier to read. Hopefully this will reduce the bugs
that keep cropping up.
2019-10-29 14:07:49 -07:00
Cody Jackson 7a956b1fa5 Use correct AKS messaging for create cluster
When creating an AKS cluster an alert with an EKS message. This
simply switches the message to use the AKS message.

rancher/rancher#23601
2019-10-29 11:56:46 -07:00
Cody Jackson cb3bb885f1 Provide better node template UX
We want to provide the owner as additional information when showing
node templates on the node templates page. We also want to make it so
that when selecting a node template the users templates will be grouped
and sorted to the top by default.

rancher/rancher#23325
2019-10-29 09:42:14 -07:00
Westly Wright 113372e524
during jquery dep warnings fix we started grabbing the wrong element
which caused some undefined errors to start sprouting up

rancher/rancher23682
2019-10-25 14:22:36 -07:00
Westly Wright 4d1b629382
Merge pull request #3503 from westlywright/fp.k8s.version.bug
[Forwardport] Select correct k8s version when changing templates
2019-10-25 09:37:47 -07:00
Westly Wright b5173c2e46
Select correct k8s version when changing templates
rancher/rancher#23682
2019-10-25 09:27:07 -07:00
loganhz c74660df31 Fix graph issue
https://github.com/rancher/rancher/issues/23654
2019-10-25 11:41:15 +08:00
Westly Wright c32e1f2d05
Merge pull request #3492 from codyrancher/fp-master-3474
[forwardport] Ensure istio member type is correct on add
2019-10-23 12:01:25 -07:00
Westly Wright 66c05c2397
Merge pull request #3491 from codyrancher/fp-master-3490
[forwardport] Fix EKS cluster creation transition
2019-10-23 12:00:50 -07:00
Westly Wright d7d63dce4f
Merge pull request #3489 from codyrancher/array-deprecation
Deprecate array constructor usage
2019-10-23 12:00:31 -07:00
Westly Wright 0a5a355e33
Merge pull request #3486 from lvuch/lh-1015
node pools help text
2019-10-23 11:59:38 -07:00
Westly Wright 7d74adedf6
Merge pull request #3483 from codyrancher/fp-master-3475
[forwardport] Improve vsphere driver UX
2019-10-23 11:58:00 -07:00
Cody Jackson f72836ef40 Ensure istio member type is correct on add
When adding a github group to be an instio member we wanted the
appropriate Member Type to be displayed. We wanted 'Organization'
instead of 'group'.

We noticed that addAuthorizedPrincipal was being invoked with a newly
created member object instead of just passing the principal. Since
everything we could inspect code wise expected a principal instead
of a member I went ahead and just passed the principal.

rancher/rancher#23264
2019-10-22 14:46:34 -07:00
Cody Jackson 7902a0fd62 Fix EKS cluster creation transition
After pressing the 'create' button of the EKS driver the user was being
transitioned back to step 3 (Vpc & Subnet) rather than waiting on the
final page until the save is complete and returning to the cluster page.

An observer was being triggered by the save process which subsequently
set the step back to 3. To resolve this we will only enter the branch if
there are initialized values that need to be set back to default.

rancher/rancher#23493
2019-10-22 14:16:01 -07:00
Cody Jackson a5f7d63070 Deprecate array constructor usage
Invoking the constructor instead of just a method causes an error.
This resolves that error.
2019-10-22 13:36:07 -07:00
lvuch 1fa64d0c97 help text on node pools edit 22782 2019-10-21 15:33:57 -07:00
Cody Jackson 4b2c79ea3d Improve vsphere driver UX
-We now prepopulate fields as select component instead of just
free-form text fields.
-We added support for cloning from different sources.
-We also added support for custom attributes and tags.

To implement the above features we also added support for promise
based content for new-select and search-select and created a new
component contextual-select-array which provides a method for
filtering content based on previous selections.

rancher/rancher#21580
2019-10-21 13:19:14 -07:00
Cody Jackson 0fe6c33eb5 Improve kube version inspection on cluster edit
While editing a cluster properly support .x kube version comparisons when
filtering out cluster template revisions.

Coercing a .x version converts it to a .0 which made the revision look like
it was a kube downgrade. By making use of .satisfies when the revision
kube version ends with a '.x' we're now better able to check if the
kube version is a downgrade and filter appropriately.

rancher/rancher#23489
2019-10-21 12:21:09 -07:00
Westly Wright 1b192be926
Merge pull request #3358 from codyrancher/security-options
[WIP] Display security options when editing GKE cluster
2019-10-21 09:42:07 -07:00
Westly Wright 6316204696
Merge pull request #3466 from westlywright/forwardport.23478
disp k8s ver correctly when editing cluster or clone rev
2019-10-17 10:54:41 -07:00
Westly Wright d711b8b8bb
disp k8s ver correctly when editing cluster or clone rev
the check-override-allowed component did not know how to deal with the k8s
version question because of its tri state and how we deal with the patch version
that is an override but not really an override. I added a check to verify the
mode is view and we have the param then display param so we don't initialize the
form-version component which has logic to inject the current version into its
versions dropdown but only if we're new, editing, or cloning.

rancher/rancher#23478
rancher/rancher#23465
2019-10-17 10:48:37 -07:00
Westly Wright ccd9d740ac
Ensure template computed prop is watching intl locale
rancher/rancher#23322
2019-10-17 10:43:38 -07:00
Westly Wright b24711b4e7
Merge pull request #3450 from codyrancher/aks
Add network plugin and supporting param
2019-10-17 09:55:06 -07:00
Cody Jackson ef63c2a9c6 Ensure the current Kubernetes version can display
The current kubernetes version wasn't being shown if it was no
longer a part of the supported versions when in view mode. Instead
the latest version was being displayed even if that wasn't what was
deployed. To resolve this we include the current version as one of
the choices if it's not present.

rancher/rancher#23465
2019-10-15 17:56:14 -07:00
Cody Jackson c7d26ecbce Add network plugin and supporting param
This adds the Network Plugin param as well as the PodCidr param.

rancher/rancher#22616
2019-10-15 16:06:13 -07:00
Westly Wright 738dc981b7
Merge pull request #3440 from westlywright/forward.tolerations
[Forwardport] Display Atypical Tolerations Correctly
2019-10-10 11:04:55 -07:00
Westly Wright 57bbcaf705
Merge pull request #3438 from loganhz/catalog-max-master
[forwardport] Hide catalog items if there is no templates
2019-10-10 11:04:43 -07:00
Westly Wright cb5bf2364c
Merge pull request #3435 from westlywright/amazon.instances
[Forwardport] Add missing c5.* instance types to amazon utils
2019-10-10 11:04:35 -07:00
Westly Wright 0c7a824c28
MAINTAINENCE - Use ember getters & setters 2019-10-10 09:53:22 -07:00
Westly Wright 997313b6fc
Clean up toleration template logic to display the correct info
there are certain params that are not required by the k8s toleration api, Key
and Operator, which if excluded mean different things. See
https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ for
examples of how these two keys are used.

rancher/rancher#18605
2019-10-10 09:53:11 -07:00
loganhz d2b1382477 Hide catalog items if there is no templates 2019-10-10 11:46:27 +08:00
loganhz b7d55ba58d Fix catalog app icon issue
https://github.com/rancher/rancher/issues/23291
2019-10-10 10:56:47 +08:00
Westly Wright 849b1f6380
Add missing c5.* instance types to amazon utils
rancher/rancher#22907
2019-10-09 14:35:08 -07:00
n313893254 440916a29b Fix jquery errors 2019-10-09 16:38:11 +08:00
Westly Wright 0f85e74fec
more jquery errors 2019-10-07 16:49:01 -07:00
Westly Wright 1616b54aa4
remove other missing apis 2019-10-07 12:05:22 -07:00
Westly Wright 351fd47823
Fix various master bugs from ember upgrade
We fixed a few deprecation for jquery on the cluster page but there were some
errors firing when using so I fixed the targeting.
There was also a intl error because of a missing api.
2019-10-07 12:01:00 -07:00
Westly Wright 2c67c35c28
Exclude local user from principal search
rancher/rancher#23247
2019-10-07 09:18:21 -07:00
Westly Wright 94301e5fd4
Merge pull request #3411 from codyrancher/deprecation
Addressing a number of ember deprecations
2019-10-04 13:55:01 -07:00
Westly Wright b26a83c1c0
Merge pull request #3420 from westlywright/forwardport.istio.rbac.fixes
[Forwardport] Restrict Istio member access to groups only
2019-10-04 12:16:33 -07:00
Westly Wright 9feea7bbcc
Restrict Istio member access to groups only
Due to some oddities in the way that Istio currently allows access to members to
the kiali and jaeger ui's we've decided to restrict the member search to groups
only. I've changed the verbiage on the lables to reflect this. Additionally I've
also exposed the searchOnlyGroups param on the principal search component. I did
not expose the user only param because this is not something we're normally
going to be doing.

rancher/rancher#23215
2019-10-04 12:01:27 -07:00
Westly Wright bc00ac6a72
Change windows docker version for custom clusters
rancher/rancher#23219
2019-10-03 16:46:38 -07:00
Cody Jackson 6718c4886e Addressing a number of ember deprecations
- Moved from Ember.$() to importing jquery.
- Moved from fn().on() to on(fn())
- Moved from fn().observes() to observer(fn())

This got /g/clusters from 27 warnings to 5 warnings for me.
2019-10-03 10:53:36 -07:00