Commit Graph

9975 Commits

Author SHA1 Message Date
Westly Wright d29e9f9d62
Allow edits to cloud credential name
rancher/rancher#23059
2019-10-01 10:00:04 -07:00
Westly Wright 1c30a15ee1
general cleanup 2019-10-01 09:00:56 -07:00
Westly Wright 5fce14597a
Dynamically change version label on node dashboard for dock/contd
Checks the os info to see if its docker or container d and display the
appropriate label in each case.

rancher/rancher#21099
2019-10-01 09:00:56 -07:00
Westly Wright 10d148eecb
Ensure project-member-row uses same identicon as principal model
project-member-row was using `avatarSrc` on its component which was slightly
different then the same code used in the principal model but really should have
been the same. I got rid of the duplicate code in the component since the model
is the data owner. It really should manage the avatar source building.

I also updated single quotes to doubles in template and refactored the owner
logic since it wasn't doing anything extra that the noUpdate flag was doing.

rancher/rancher#21440
2019-10-01 09:00:07 -07:00
Westly Wright 909c73f2e7
Merge pull request #3403 from loganhz/hpa
[2.3.0]Fix hpa detail page issue
2019-10-01 08:58:20 -07:00
loganhz 7d95ae8849 Fix hpa detail page issue 2019-10-01 06:03:09 +01:00
Westly Wright b11c0c0031
bump 2019-09-30 15:51:19 -07:00
Westly Wright 14e98cc662
Merge pull request #3401 from codyrancher/template-refresh
Use more appropriate keys to watch on @computed
2019-09-30 15:05:51 -07:00
Westly Wright 501dff9905
Merge pull request #3402 from westlywright/istio-tabs
dedup import yaml button when istio feature flag is enabled
2019-09-30 15:04:22 -07:00
Westly Wright 0848e5a519
dedup import yaml button when istio feature flag is enabled
When adding the vitual services and destination rules are enabeld we were
showing the import yaml button twice. It needs to be visible on both tabs and we
should be able to pass the or to the rbac check so I removed the duplicates and
moved the button to before the potential other buttons in the istio nav.

rancher/rancher#23155
2019-09-30 14:55:28 -07:00
Cody Jackson 3bc195603b Use more appropriate keys to watch on @computed
The cluster upgrade notification wasn't properly updating when
the user enabled and disabled a revision. It required that the
page was refreshed before display the fresh data.

This resolves this issue by watching more appropriate keys
int he relevant computed properties. The most relevant
being the revision.@each.enabled on the latestRevision property.

rancher/rancher#23126
2019-09-30 14:44:56 -07:00
Cody Jackson 588f61c793 Add form-key-value integration test
Putting togeter a POC for component integration tests

This demonstrates how we can write component integration
tests using the form-key-value component.
2019-09-30 12:17:55 -07:00
Cody Jackson a61053941f Putting together a POC for util unit tests
This is just a proof of concept demonstrating how to do util tests.

-disable-gpu was removed so the tests can run.
-Chrome was removed from launch_in_dev because it caused
so many browsers to open.
2019-09-30 12:17:55 -07:00
loganhz d7a693c17d Istio Virtual Service feature flag 2019-09-30 12:17:55 -07:00
Westly Wright dd9e2d427c
Merge pull request #3397 from loganhz/fg
[2.3.0]Istio Virtual Service feature flag
2019-09-30 10:39:41 -07:00
n313893254 01845435f2 Change no-data message to text-muted
https://github.com/rancher/rancher/issues/22742
2019-09-29 15:56:38 +08:00
loganhz 02deb50669 Istio Virtual Service feature flag 2019-09-28 12:14:55 +08:00
Westly Wright eb12e1a980
Merge pull request #3394 from codyrancher/template-robustness
Improve robustness of showing template/revision
2019-09-27 15:41:14 -07:00
Westly Wright 2e8245edca
Merge pull request #3396 from westlywright/issue.23105.ser.dis
expose name param on workload port mapping
2019-09-27 15:40:35 -07:00
Westly Wright ee6bbc24a5
expose non-required name param on workload port mapping
when deploying workloads with an Istio sidecar the port maps require a specific
name to be entered by the user, http. I've exposed the name param  but do not
autofill the name, this will be a documentation concern.

rancher/rancher#23105
2019-09-27 15:27:38 -07:00
Cody Jackson acc6145586 Improve robustness of showing template/revision
- We will only conditionally render template/revision section on the
monitoring page if the cluster is using a template. This was
crashing the page before.
- We will now make sure there's a string when invoking replace
when generating the template and revision display names.
- We will now respect the enable flag of template revisions
when determining if an upgrade is available.

rancher/rancher#23126
2019-09-27 12:20:29 -07:00
Westly Wright 6f340a102a
bump 2019-09-27 09:56:38 -07:00
Cody Jackson 545a13a34d Putting together a POC for util unit tests
This is just a proof of concept demonstrating how to do util tests.

-disable-gpu was removed so the tests can run.
-Chrome was removed from launch_in_dev because it caused
so many browsers to open.
2019-09-26 17:24:10 -07:00
Westly Wright 679d9252a0
Merge pull request #3390 from westlywright/istio.changes
Remove Istio nav tabs and simplify UX
2019-09-26 17:03:51 -07:00
Westly Wright 6d21bc8093
Merge pull request #3389 from codyrancher/multi-cluster
Use current template version for app upgrades
2019-09-26 16:47:17 -07:00
Westly Wright 60b53de5db
Merge pull request #3382 from codyrancher/template-revision
Include Template/Revision Upgrade Notifications
2019-09-26 16:46:21 -07:00
Westly Wright 0bade641ea
Remove nav tabs and simplify Istio ux
I commented out the destinationRules and virtualServices tabs from the
istio-project template, changed some verbiage in the remaining nav tabs, and
added to import yaml link to both tabs to make the ux a little less confusing.
In the next release this page will undergo a redesign so I did not remove the
code.

rancher/rancher#23108
2019-09-26 16:41:49 -07:00
Cody Jackson 65f0fc3c5b Use current template version for app upgrades
When upgrading a multi-cluster-application the template version was set
to the default version instead of the apps current version.

When a current version is present we now use it before using the
default.

rancher/rancher#23101
2019-09-26 12:18:26 -07:00
Cody Jackson 71a7fb8d2d Include Template/Revision in cluster table
We want to make it easier for someone that is managing multiple
clusters to see what template and template revision a cluster
is using. We also want to make it easy for a user to notice
that a cluster isn't using the latest revision.

To achieve this we added the template and revision to a column
in the clusters table to display both. We also indicate add
a warning badge beside a revision when the revision isn't
the latest.

rancher/rancher#22047
2019-09-26 09:20:45 -07:00
xiaolu hong 35a8025040 update zh-hans 2019-09-26 23:48:05 +08:00
Westly Wright 4ae835c9cd
Merge pull request #3386 from westlywright/rke.templates
RKE Template Bugs
2019-09-25 15:32:07 -07:00
Westly Wright 702eb261ff
Fix k8s version dropdown when editing cluster with prohibitied k8s v
When a user upgraded there rancher install to >2.3 with clusters on now
unsupported versions of k8s we would show them the label that is used when
launching with a cluster template instead of the unsupported label

rancher/rancher#23085
2019-09-25 14:56:50 -07:00
Westly Wright 521ed6ca09
wireup ovveride row value to form value when cloning rke template
When cloning a RKE template revision with overrides the values of the override
in the form were not reflected in the overrides section at the bottom of the
page because the alias on the question was never created.

rancher/rancher#23056
2019-09-25 13:11:51 -07:00
Westly Wright 9bb9f17668
Show 'Latest' version label rather then derived version on temp view
When viewing or cloning a template version the form-versions component would
select the derived version rather then the semver version the template was
created with. Now we will display the correct label or select the correct semver
version when in a view or clone of RKE templates.

rancher/rancher#23065
2019-09-25 11:13:25 -07:00
Westly Wright 6005c1969b
Change bulk select pagination label for RKE Templates
rancher/rancher#23068
2019-09-25 10:49:35 -07:00
Westly Wright 59f7c37aca
Hide 'Custom Cluster Overrides' section when launching cluster
`Custom Cluster Overrides` was originally designed when we allowed users to
create custom overrides for items not in the UI but since that was removed the
template consumer will only ever see overrides for sections we have built in
and when launching we never display the overrides for ones with UI components.

rancher/rancher#23069
2019-09-25 10:17:42 -07:00
Westly Wright 1282933526
Merge pull request #3385 from loganhz/aks
Update aks ssh field placeholder
2019-09-25 09:55:55 -07:00
Westly Wright e57b9526c0
Merge pull request #3383 from codyrancher/app-upgrade-version
Use current template version for app upgrades
2019-09-25 09:53:41 -07:00
loganhz 5be694180d Update aks text 2019-09-25 10:28:08 +08:00
Cody Jackson 8532a92c7e Use current template version for app upgrades
When upgrading an application the template version was set to the
default version instead of the apps current version.

When a current version is present we now use it instead of the
default.

rancher/rancher#23051
2019-09-24 15:40:21 -07:00
Vincent Fiduccia 2c7b865c63
Bump 2019-09-24 10:38:57 -07:00
Westly Wright 36153de61a
Merge pull request #3381 from loganhz/alihub
Add Alibaba App Hub in catalog list and disable it by default
2019-09-24 09:56:01 -07:00
Westly Wright 6e27116d36
Merge pull request #3380 from westlywright/rke.templates
Cluster Template Local Auth Endpoint Init Bugfix
2019-09-24 09:54:52 -07:00
Westly Wright 9dae7179fe
Merge pull request #3373 from loganhz/google
Fix google auth text issue
2019-09-24 09:53:38 -07:00
loganhz cc7d1bb477 Add Alibaba App Hub in catalog list 2019-09-24 11:19:07 +08:00
loganhz 822e14016e Fix google auth text 2019-09-24 10:54:59 +08:00
Westly Wright eba04c5eae
Use the correct variable to check if localClusterAuthEndpoint avail
I saw this while fixing another issue, if initialized to false we set the
`enableLocalClusterAuthEndpoint` variable as such but that did not propigate
back up the model when in the init lifecycle. Rather than check the model we
should check the local param so we don't run in to these out of sync issues.
2019-09-23 16:46:32 -07:00
Westly Wright cd25e2ebd8
check if cluster local auth endpoint from api is string or bool
Tweaking a change made in rancher/ui#3376 to account for both cases. the fix
added would allow the case when deploying from a template but would break for
nontemplate launches when the value would be a bool again. Added a type check to
handle both cases.

The real fix should be changing the types in the `listquestions` api
where the data is being pulled from. The root cause exists there where the type
`boolean` is saved as a string.

rancher/rancher#22972
2019-09-23 16:42:36 -07:00
Westly Wright 804ace7031
Merge pull request #3379 from westlywright/rke.templates
Cluster Template Revision Select Bug
2019-09-23 15:15:02 -07:00
Westly Wright 17bc9436d6
Merge pull request #3377 from codyrancher/unsupported-volume-filtering
Improve and fix supported storage filtering
2019-09-23 15:10:09 -07:00