Commit Graph

2424 Commits

Author SHA1 Message Date
Westly Wright 93d1db387e
Hide mtu input for custom cluster on flannel network provider
rancher/rancher#25267
2020-02-05 09:54:19 -07:00
Westly Wright 5f6dfbaf47
Expose nonResourceURLs on global role editor
rancher/rancher#25085
2020-01-31 14:59:19 -07:00
Westly Wright afc1041af6
Merge pull request #3732 from westlywright/read.file.button.issue
Fix broken jquery dom targeting
2020-01-29 08:52:21 -07:00
Westly Wright 3f14f59133
Fix broken jquery targeting
rancher/rancher#24960
2020-01-28 15:56:28 -07:00
Westly Wright 74a38baed1
Remove `forceReload` param from getAllClusters & getAllProjects
We shouldn't need this param any longer and including it ensure that a new call
is made on every launch click. This is fine at small scale but will start to
slow everything down when at scale.

rancher/rancher#25024
rancher/rancher#25026
2020-01-28 15:18:22 -07:00
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
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 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 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 d555aedc77
expose forceUpgrade option for istio upgrade 2019-12-30 09:13:00 -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 7de530a829 Add support for using input-yaml in modals
When adding input-yaml to a modal it required the user to click on
the input before the value would be loaded and the editor resized.
I found a github issue which suggested making use of the isVisible
property to force a refresh so I added the use of it to force refreshing
to happen.

I also made it so the header didn't add a margin if the header wasn't
present.
2019-12-20 10:48:48 -07:00
Westly Wright ecb8139b94
Merge pull request #3655 from westlywright/bug.pipeline.setup.error
Pipeline Setup Error
2019-12-20 09:10:22 -07:00
Westly Wright f9302a929f
Merge pull request #3649 from codyrancher/cis-report
Update the downloaded report
2019-12-20 09:09:23 -07:00
Cody Jackson 3fb931ee46 Update the downloaded report
The downloaded report now has:
- A column for passed_nodes
- A column for failed_nodes
- A column for all nodes the test ran against
- The benchmark version in the header

rancher/rancher#24671
2019-12-19 16:52:33 -07:00