Commit Graph

3621 Commits

Author SHA1 Message Date
Westly Wright afcb5c482f
remove version check as it happens later in istio upgrade
it was causing the edit to fail

rancher/rancher#25114
2020-01-27 10:34:46 -07:00
Westly Wright 19434d8b2e
Azure aks get the latest satisfying version from versions 2020-01-24 16:54:20 -07:00
Westly Wright 78bd0811d5
Remove default k8s version value from AKS cluster
we should let the version picker choose the latest version

rancher/rancher#25100
2020-01-24 14:10:51 -07:00
Westly Wright 0519376220
drop cluster validation into next block
This ensures that all changes to the cofig via yaml are applied before
validating the cluster params.

rancher/rancher#24971
2020-01-22 14:59:55 -07:00
Cody Jackson 0ea2b645b7 Putting extractUniqueStrings util back in
This was erroneously removed during a revert.
2020-01-16 10:29:19 -07:00
Westly Wright 476fda4eed
Ensure Istio app version is upgraded correctly during upgrade process
rancher/rancher#24956
2020-01-14 16:09:53 -07:00
Westly Wright 5d589a5bb9
Merge pull request #3705 from shanewxy/yaml-create
Fixed edit as yaml in cluster options stuck on "saving"
2020-01-14 09:18:39 -07:00
Westly Wright e553f7f227
Merge pull request #3703 from shanewxy/trim-secret
Fixed trimming blank lines in multiline values of secrets breaks RSA format
2020-01-14 09:17:42 -07:00
Westly Wright d0310e15f5
Merge pull request #3710 from loganhz/catalog
Fix catalog issue
2020-01-13 13:45:44 -07:00
Westly Wright 0579c01111
expose kube version upgrade warning on apply cluster template.
rancher/rancher#24829
2020-01-13 13:30:07 -07:00
Westly Wright 80ff3f008b
update mtu labels and help text
rancher/rancher#24929
2020-01-13 11:22:54 -07:00
loganhz 8e9746b345 Fix upgrade version issue
https://github.com/rancher/rancher/issues/18118
2020-01-10 10:54:50 +08:00
Cody Jackson 003124ad18 Now displaying the full path for Folder
Folders can share the same suffix so I'm now showing
the full path so users can differtiate when the
suffix is the same.

rancher/rancher#24853
2020-01-06 10:12:07 -07:00
loganhz 036691dad9 Support search node in cluster list
https://github.com/rancher/rancher/issues/23305
2020-01-06 17:30:38 +08:00
shanewxy dac4aabf43 Fixed edit as yaml in cluster options hang saving 2020-01-06 14:35:12 +08:00
shanewxy 7c15f79154 Added condition for trimming multiline values
https://github.com/rancher/rancher/issues/24577
2020-01-06 11:24:48 +08:00
Westly Wright 56b4407b8e
delete the istio-system namespace when disabling istio
rancher/rancher#24850
2020-01-03 16:51:51 -07:00
Westly Wright 567d82572d
incorrectly removed wrapping object 2020-01-03 15:33:10 -07:00
Westly Wright c3965eebfb
Merge pull request #3694 from westlywright/k8s.version.release.label
Add Label to K8s Version Select
2020-01-03 09:18:54 -07:00
Westly Wright 14f4a7134e
Merge pull request #3692 from codyrancher/broken-promise
Better handle rejected promises in StatefulPromise
2020-01-03 09:18:17 -07:00
Westly Wright 54940982e9
add logic to determine kiali port for kiali links in istio
rancher/rancher#24701
2020-01-02 16:52:09 -07:00
Westly Wright 8a519e9143
add help text to form version on edit
rancher/rancher#24829
2020-01-02 15:39:58 -07:00
Cody Jackson 07ccfc733c Better handle rejected promises in StatefulPromise
When the promise was rejected it took the error value and
set that as the value of the promise.

This lead to code expecting one shape to completely fail. This
now assigns the errorValue to an errorValue property on the
promise and the defaultValue to value when a promise is rejected.

rancher/rancher#24620
2020-01-02 15:13:50 -07:00
Westly Wright 57c2f95906
Merge pull request #3691 from codyrancher/cloudprovider-saga
Making awsCloudProvider a special case
2020-01-02 14:03:30 -07:00
Cody Jackson a2c2fde89f Making awsCloudProvider a special case
I originally tried to fix rancher/rancher#24704 without completely
special casing. Unfortunately that lead to other issues:
rancher/rancher#24745
rancher/rancher#24794
rancher/rancher#24814

I decided to revert all of the related changes and to just special
case this one instance. Ultimately I think the removeEmpty is the
culprit but it requires backend changes in order to properly fix
and those changes are not happening right now.
2020-01-02 13:46:15 -07:00
Westly Wright 0a68cbf393
Merge pull request #3679 from westlywright/kiali.links.take.2
[2.4] Isitio/Kiali Breaking Changes - Links
2020-01-02 11:58:31 -07:00
Cody Jackson 9c30e3ac15 The great reversion of awsCloudProvider changes 2020-01-02 10:21:08 -07:00
Westly Wright 9af1c5ac04
Merge pull request #3689 from westlywright/custom.cluster.styles
Fix Style and Markup Issues - Node Options Custom Cluster
2020-01-02 09:21:20 -07:00
Westly Wright 181c21a2a4
Refactor node options advanced section for custom cluster
remove unnecessary labels
refactor markup for advanced section of node options
fix indentation
changed wording on some labels

rancher/rancher#24640
2019-12-31 15:56:51 -07:00
Westly Wright fb8cefdca7
remove min num check from input integer
Having this min num check here is not really incorrect but it makes for a weird
UX. The users typed value is overridden because it never reaches the minimum
since each keystroke causes the change event to fire.

rancher/rancher#24724
2019-12-31 14:14:44 -07:00
Westly Wright a1657e0c2a
Merge pull request #3684 from westlywright/cloud.config.bug
Edit As Yaml Cloud Config Bug
2019-12-31 08:46:59 -07:00
Westly Wright a80c1b868a
Merge pull request #3682 from westlywright/bug.edit.yaml.button.shown
remove display of 'edit yaml' button on step > 1 for custom cluster
2019-12-31 08:46:26 -07:00
Westly Wright 51dea873b8
add extra conditional for cloud config edit as yaml
rancher/rancher#24745
2019-12-30 16:18:40 -07:00
Westly Wright 9837f9b67b
remove display of 'edit yaml' button on step > 1 for custom cluster
rancher/rancher#24749
2019-12-30 10:50:35 -07:00
Westly Wright a613cb6c13
pass correct element to watch for paste action
for input-paste components

rancher/rancher#23587
2019-12-30 10:33:43 -07:00
Westly Wright fcb37d5b73
Merge pull request #3676 from shanewxy/yaml-save
Fixed stucking at 'saving' while editing yaml
2019-12-30 09:52:01 -07:00
Westly Wright b33ed1afce
Merge pull request #3678 from codyrancher/vsphere-clear
[forwardport] Making vsphere node templates more robust
2019-12-30 09:47:52 -07:00
Westly Wright c878d79d09
Merge pull request #3668 from westlywright/remove.project.member.icons
Allow Cluster/Project Members To Be Removed On Edit
2019-12-30 09:46:33 -07:00
Westly Wright f4c378a475
use upgradeAvailable rather than compare versions for forceUpgrade 2019-12-30 09:13:00 -07:00
Westly Wright 79fdaa1970
update kiali links for new kiali version
rancher/rancher#24701
2019-12-30 09:13:00 -07:00
Westly Wright d555aedc77
expose forceUpgrade option for istio upgrade 2019-12-30 09:13:00 -07:00
Cody Jackson 19fb99fb54 Making vsphere node templates more robust
Making the clearing on save more comprehensive. Now clear the
following fields when appropriate:
- cloneFrom
- boot2dockerUrl
- contentLibrary

rancher/rancher#24747
2019-12-27 12:44:04 -07:00
Westly Wright 1d934e0cac On create cpConfig is empty so we need to check that
rancher/rancher#24749
2019-12-27 10:45:52 -08:00
shanewxy 25967f6bfa Fixed stucking at 'saving' while editing yaml 2019-12-26 11:22:50 +08:00
Cody Jackson fd4f567d09 Remove cloud_provider if it's not intended
We were erroneously adding cloud_provider.awsCloudProvider on
digital ocean etc due to rancher/rancher#24515.

This change assumes that the presence of
onfig.rancher_kubernetes_engine_config.cloud_provider.name
implies that the cloud_provider should be present. If that
nested field isn't present we remove cloud_provider.

rancher/rancher#24745
2019-12-23 15:51:02 -07:00
Westly Wright d8019e79d2
add isCreatorMember for inital cluster or project create
we use this to hide the remove action button on the default row when creating
one fo the two mentioned resources. This is because the backend automatcially
sets up this binding on create. We display this fake member so the user doesnt
feel like they need to add themsevles as a member.
2019-12-23 15:27:22 -07:00
Westly Wright cc278efa30
remove unneeded owner check on form-members remove
rancher/rancher#24428
2019-12-23 15:14:45 -07:00
Cody Jackson 2f58374c39 Ensure skipping works for multiple cis versions
We validating the security scan config appropriately when
a version was already present in the skip list. This now
ensures a version exists before verifying that it contains an array.

We were also replacing the existing skip object in the
security-scan-config which prevented us from storing
multiple versions at a time. We now extend the object
instead using the spread operator.

rancher/rancher#24733
rancher/rancher#24742
2019-12-23 10:14:07 -07:00
Cody Jackson 51c1d34dfa Provide empty configMap when it can't be retrieved
When the user doesn't have access to the systemProject we just
return an empty configMap so the page can proceed without error.

We also disable the runScan button if the systemProject isn't available.

rancher/rancher#24644
2019-12-20 16:10:12 -07:00
Cody Jackson 9e03d4a41b Improve Vsphere UX around cloudinit/cloudconfig
There was confusion and misuse around cloudinit and cloudconfig.
This change switches things up so cloudinit is only used for the
legacy creation type and cloudconfig is used for all other creation
types.

Changes the textarea that was used for cloudconfig to
input-yaml to make it clear to users that they can enter yaml.

Switches the vmware cloud credential vcenter input to an input-url
so that we automatically strip the scheme from the input.

rancher/rancher#24314
2019-12-20 10:48:49 -07:00