Commit Graph

2675 Commits

Author SHA1 Message Date
Westly Wright 010f8a9e74
Always use eksStatus for security groups
rancher/rancher#28148
2020-07-30 10:05:05 -07:00
Westly Wright 4886ac772d
Add check for 2 or more subnets eks v2 2020-07-30 09:04:44 -07:00
Westly Wright b5ff741468
fix eks v2 security groups not showing on edit 2020-07-29 14:43:04 -07:00
Westly Wright a89310e801
lint 2020-07-29 14:24:30 -07:00
Westly Wright c81f0ac7b5
update eks v2 node group defaults
rancher/rancher#28127
2020-07-29 14:21:39 -07:00
Westly Wright 9cbece82e5
update eks v2 subnets path
rancher/rancher#28148
2020-07-29 14:15:48 -07:00
Westly Wright f21f3097c0
Fix incorrect setTags for node-group-row eks v2
rancher/rancher#28124
2020-07-29 10:55:52 -07:00
Westly Wright 9037dba2bf
Ensure publicAccessEndpoint is initialized correctly
also fixes a import issue with cloud creds for amazon eks

rancher/rancher#28117
2020-07-29 10:52:21 -07:00
rmweir 802b3abca6 Update EKS version choices 2020-07-28 14:38:38 -07:00
Westly Wright 2c1fac8c64
Merge pull request #4102 from westlywright/enhancement.select.cluster.type
Rework Cluster Import/Register Experience
2020-07-28 12:02:31 -07:00
Westly Wright 95406e42d4
Tweak import launch ux
rancher/rancher#28007
2020-07-28 11:36:51 -07:00
Westly Wright 902587d20a
Replace URL regex with linkifystr 2020-07-28 10:02:51 -07:00
Cody Jackson 0e1e84daea Switching from min value to default value for upgradeStrategy timeout
Turns out that the min value that the backend accepts won't allow
upgrades to complete. This switches the value to the default value to
mitigate that issue.

rancher/rancher#27333
2020-07-27 17:28:50 -07:00
Ádám Liszkai 455ad8b8d7
add Germany Public locations 2020-07-25 15:24:13 +02:00
Westly Wright fdcf7c839f
small bug fixes for eks v2 kms keys 2020-07-24 16:56:52 -07:00
Westly Wright 2af9fba016
Merge pull request #4093 from codyrancher/timeout-min-value
[forwardport] Ensure that the upgradeStrategy.nodeDrainInput.timeout doesn't exceed the min value
2020-07-24 16:21:51 -07:00
Cody Jackson d5336bc20c Ensure that the upgradeStrategy.nodeDrainInput.timeout doesn't exceed the min value
rancher/rancher#27333
2020-07-24 16:01:21 -07:00
Westly Wright af16527ff9
Exposes edit for RKE2 imported clusters 2020-07-23 10:24:31 -07:00
Westly Wright 3d13864e53
Amazon EKS V2
error handler

wip - dev for aws cloud creds

wip - refactor aws login

wip - kms key

wip - encrypt secrets

wip - private access & vpcs

wip - translations and formatting

wip - more cleanup

remove unneeded code

wip - node groups

add ability to disable value label

fix double import, fix double negative disable add button and expose
addbuttonenabled

clean up public access and node groups

cleanup variable names and default config

eks regions

wip - eks v2 select

differentiate v1/2 amazon eks providers

clean up node groups, translations

unionize top errors

Consolidate aws util statics

WIP - Import/Cloud Creds

tweak cloud cred events for eks driver

WIP new import selector

drop unneeded variables eks import

kms keys cleanup

allow user to enter if the kms keys call fails

firefox styles

drop vpc selection and group subnets by vpcs

import cluster name input if allClusters fails to load from eks

make eks import a bit more dynamic

fix bug in driver eks for default subnet

more imported cleanup

eks v2 edit

eks v2 vendors

remove use cloud creds temp branchs

push current version to version choices if it doesnt exist

eks v2 rename cloudcred param

fix eks v2 versions

clean up for pr
2020-07-22 16:09:14 -07:00
Cody Jackson 418e074b27 Adding requestId and responseType to saml logins
I mistakenly didn't add these two fields when replacing socketId with
publicKey.

rancherlabs/rancher-security#444
2020-07-21 17:48:54 -07:00
Vincent Fiduccia 0d1a02666f
Add in-progress state 2020-07-21 12:41:58 -07:00
Westly Wright 24a9e406d5
Merge pull request #4083 from codyrancher/cis-upgrade-fix
Adding a selected cis profile to the profile options if it's not present
2020-07-21 09:03:08 -07:00
Cody Jackson 23da8e8b17 Adding a selected cis profile to the profile options if it's not present
When upgrading rancher the old 1.4 cis profiles were removed which prevented
the currently selected profile for scheduled scans to be selected.

This adds a selected profile to the options if it's not present allowing the
profile to be selected by default. If a different profile is selected and saved
the option will no longer be present. This option will also not be present in
the manual run scan modal.

rancher/rancher#27867
rancher/rancher#27866
rancher/rancher#27374
2020-07-20 15:25:56 -07:00
Cody Jackson 36d4dd7afd Replacing SAML socketId with publicKey
The backend changes for socketId weren't working with HA clusters so
it was decided to replace socketId with publicKey.

rancher/rancher#444
2020-07-20 09:53:16 -07:00
Westly Wright c7eb2815d5
fetch nested custom answers correctly
add some error checking incase custom answer is missing

rancher/rancher#27416
2020-06-25 17:01:06 -07:00
Westly Wright 141cf7f924
Merge pull request #4058 from westlywright/orphan.ctrs
Edit Cluster with Missing RKE Template
2020-06-25 09:46:36 -07:00
Westly Wright e4540cedf0
Merge pull request #4055 from westlywright/bug.dynamic.import
Component Destroyed Error
2020-06-25 09:41:47 -07:00
Westly Wright ba89866c1d
delete network.options only if they exist
network.options does not have to exist

rancher/rancher#26865
2020-06-24 16:22:21 -07:00
Westly Wright 102da8cf0d
check for missing cluster template
rancher/rancher#26865
2020-06-24 14:22:22 -07:00
Westly Wright d1f5061ac1
lint 2020-06-24 14:22:22 -07:00
Westly Wright d450334cb4
Don't try to notifiy the prop change if component is destroyed 2020-06-24 11:48:06 -07:00
Westly Wright 8699c8adf3
Merge pull request #4052 from westlywright/bug.nonascii.secret.data
Do Not Decode/Encode Non-Asciilike Values
2020-06-24 08:46:42 -07:00
Westly Wright 9a99077895
do not decode/encode non-asciilike values
rancher/rancher#27439
2020-06-23 16:39:34 -07:00
Westly Wright a986c84bc5
update excluded children keys
adds `extraArgs` cameled string to list since they can come back from the api
this way

rancher/rancher#26469
2020-06-23 09:56:34 -07:00
Westly Wright 9f277d7534
Allow edit of ascii like secret data
rancher/rancher#27439
2020-06-16 14:59:40 -07:00
Jesse Millan acd682cf88
A tenancy should be a valid compartment since it is technically the root compartment. Resolves kontainer-engine-driver-oke/issues/13. 2020-06-11 11:14:37 -07:00
Ian Moroney d6942baf30
Fixed formatting 2020-06-01 17:37:25 +01:00
Ian Moroney f850502838
Added UAE regions 2020-06-01 17:16:57 +01:00
Cody Jackson cb66e8f289 Revert "Removing the scope parameter from github oauth"
This reverts commit 413e1cd021.
2020-05-29 09:59:48 -07:00
Cody Jackson 5bc8d3c41e Revert "Only adding the scope param in oath logins for google"
This reverts commit 2975442140.
2020-05-29 09:58:36 -07:00
Westly Wright 86882b5390
Merge pull request #4020 from codyrancher/saml-socket
Updating SAML logins to include a socketId
2020-05-28 13:42:38 -07:00
Westly Wright 2146ef0130
Merge pull request #4003 from bashofmann/fix-app-search
Fix JS failure when searching through apps without description
2020-05-28 10:44:10 -07:00
Westly Wright 9c729e701a
Merge pull request #3997 from codyrancher/drainage
Splitting up aggressive drain parameters
2020-05-28 10:31:33 -07:00
Westly Wright e0f78e0932
Merge pull request #4017 from loganhz/ack-master
[Master] Use external UI for Aliyun ACK cluster
2020-05-28 08:39:33 -07:00
Cody Jackson c4cc06f26c Updating SAML logins to include a socketId
https://github.com/rancherlabs/rancher-security/issues/444
2020-05-27 15:37:29 -07:00
loganhz a859b0547d Use external UI for Aliyun ACK cluster 2020-05-27 22:49:26 +08:00
Cody Jackson 2975442140 Only adding the scope param in oath logins for google
Looks like the undefined scope was getting added to the query
params for the redirect url. This change prevents the scope
param from being present for anything but google.

rancher/rancher#27175
2020-05-26 17:29:25 -07:00
Vincent Fiduccia 7a6c5c7a91
Merge pull request #4004 from codyrancher/feature.file.issue.email
Expose new ui setting for issues email link
2020-05-26 16:33:53 -07:00
Cody Jackson 77b61391f3 Changing Longhorn storage class parameters
The parameters are shown with the known keys but it's
no longer limited to only the known keys. New keys can
be added and they will be sent to the backend as long as
they have values.

rancher/rancher#27220
2020-05-26 15:51:18 -07:00
Cody Jackson 27c3ace324 Splitting up agressive drain parameters
We no longer have safe and aggressive nodes we now
have two properties 'force' and 'deleteLocalData'.

rancher/rancher#27111
2020-05-26 13:11:22 -07:00
Vincent Fiduccia 22db0ef542
Merge pull request #4006 from codyrancher/github-scopes
Removing the scope parameter from github oauth
2020-05-23 16:51:09 -07:00
Cody Jackson 413e1cd021 Removing the scope parameter from github oauth
rancher/rancher#27175
2020-05-22 16:54:48 -07:00
Westly Wright a427b345af Expose new ui setting for issues email link
rancher/rancher#27047
2020-05-22 15:08:45 -07:00
Bastian Hofmann 1a17118e19 Fix JS failure when searching through catalog apps if an app is missing the optional description metadata field 2020-05-22 16:45:53 +02:00
GGGitBoy 882bbe12bc Add k8s version for TKE 2020-05-22 13:13:36 +08:00
Cody Jackson 4be1b9c1c8 Make the default scheduledClusterScan.enabled to be a boolean
Enabled was being set to 'false' instead of false but this was being
masked by the execution of initScheduledClusterScan. When the
KDM values werent present initScheduledClusterScan was doing
an early exit and no longer masking the poor 'false' default value.

This will further improve the earlier solution for rancher/rancher#26996.
2020-05-20 14:03:13 -07:00
Cody Jackson 5ab4d108b4 Improving how we handle a failure to get a scanConfig
It appears that sometimes the cisscanconfig schema isn't present (I haven't
been able to consistently reproduce) which causes the UI to prevent the user
from saving changes to their cluster. Though I think this could be fixed
by the backend I'd like to stop the bleeding and have the UI handle this
better.

So there's two things that are here to help out.
1. I added a default value to the initial empty object just in case it never gets set
elsewhere.
2. If an exception is thrown while creating the scanConfig
we now just prevent the schedule from being set since it wouldn't work
anyway.

Either of these should allow saving to proceed.

rancher/rancher#26996
2020-05-20 09:16:12 -07:00
Westly Wright 7683fe057a
fix incorrectly cased import
rancher/rancher#26908
2020-05-19 09:21:54 -07:00
Westly Wright 8413366ca3
Merge pull request #3964 from westlywright/feature.limit.eks.upgrades
Prevent EKS K8s version upgrades > 1 minor version
2020-05-18 14:47:07 -07:00
Westly Wright a3f933ed27
Prevent EKS K8s version upgrades > 1 minor version
rancher/rancher#26908
2020-05-18 11:04:45 -07:00
Rich Edelman 0926d578e1 Add Cape Town (af-south-1) as a supported AWS region. 2020-05-12 16:05:30 +00:00
吴远翔 04ff5d4ae1 fix(MTU form): can not set to 0 after blur 2020-05-11 13:11:35 +08:00
Westly Wright 881b197281
rollback upgrade btn changes
rancher/rancher#26810
2020-04-27 09:46:22 -07:00
Westly Wright f830812d7e
Merge pull request #3931 from jlamillan/jlamillan/oke_driver_builtin
Add Oracle Container Engine (OKE) as a builtin custom cluster driver.
2020-04-22 17:38:55 -07:00
Jesse Millan de9d024dce
Add support for OCI cloud credentials and node template. 2020-04-22 12:30:25 -07:00
jesse.millan 84410805f2
Add Oracle Container Engine (OKE) as a builtin cluster driver. 2020-04-22 12:17:49 -07:00
Westly Wright 1abb4bd203
escape any html links that may have been placed in banner text 2020-04-21 14:47:06 -07:00
Westly Wright 2509327067
Add new classifier banner component
rancher/rancher#25694

add ui-banners to allowed settings

move banners to settings

refactor names on settings component

update ui-banners translation text
2020-04-21 14:34:24 -07:00
Westly Wright a66879ca47
disable upgrade btn if the app is up to date 2020-04-17 13:56:24 -07:00
Westly Wright 3e61dabb9f
Longhorn storage class params are not editable
rancher/rancher#26617
2020-04-16 11:27:52 -07:00
Westly Wright f98e8763ae
change done button to cancel when user can't edit cluster
rancher/rancher#26491
2020-04-15 11:26:27 -07:00
Westly Wright e963cddb45
lint 2020-04-15 11:19:52 -07:00
Westly Wright 3f3715f3e3
make catalog app for longhorn use consistent name
so users can only launch one longhorn catalog app per cluster

rancher/rancher#26627
2020-04-15 11:02:31 -07:00
Westly Wright 900e899267
refactor longhorn provisioner params
rancher/rancher#26617
2020-04-14 16:31:43 -07:00
Westly Wright aabf5976cd
Change volume expansion for longhorn storage class
rancher/rancher#26617
2020-04-14 14:18:41 -07:00
Westly Wright 0cbdcd2cc2
Update longhorn storage class to use correct provisioner
rancher/rancher#26617
2020-04-14 13:49:15 -07:00
Westly Wright c704e706e3
template error 2020-04-13 10:32:30 -07:00
Westly Wright 8bf48fa308
Add case to handle cluster temp enf on and no clust temp
rancher/rancher#26491
2020-04-13 09:59:17 -07:00
Westly Wright 87204118e2
Add additional helm3 id to catalog constants and update checks
rancher/rancher#26560
2020-04-10 11:57:46 -07:00
Westly Wright 9400ca31e7
If etcd component status unavailable, grey out
rancher/rancher#26402
2020-04-09 10:37:25 -07:00
Westly Wright e8eee13c37
Merge pull request #3772 from loganhz/eks-china
[Master] Support EKS cn-northwest-1 and cn-north-1
2020-04-07 10:27:23 -07:00
loganhz fa42674a8f Support EKS cn-northwest-1 and cn-north-1
https://github.com/rancher/rancher/issues/25613
2020-03-31 00:15:23 +08:00
phantasia15 35527db812
Remove unnesscary permission request for g suite 2020-03-27 15:16:28 +07:00
Westly Wright 50ad47f34b
Remove sort versions for EKS since we control versions array
rancher/rancher#26296
2020-03-26 15:48:09 -07:00
Westly Wright f1770c2046
Merge pull request #3880 from westlywright/eks.null.subnets
EKS Empty Subnets
2020-03-26 12:34:14 -07:00
Westly Wright 5654907ae6
Merge pull request #3878 from westlywright/eks.changes
Drop EKS k8s 1.12 from versions list
2020-03-26 12:33:29 -07:00
Westly Wright b16e7a9565
set subnets to empty array if it's null until backend fix
rancher/rancher#26231
rancher/rancher#24652
2020-03-26 12:21:35 -07:00
Westly Wright 7c703e2240
Drop EKS k8s 1.12 from versions list
rancher/rancher#26281
2020-03-26 11:06:07 -07:00
Cody Jackson db586813fc Removed another case of 'true'
rancher/rancher#26245
2020-03-26 09:47:13 -07:00
Westly Wright 96e1431804
Merge pull request #3874 from westlywright/hosted.k8s.versions
Remove min k8s version check for hosted cloud provider clusters
2020-03-26 09:06:39 -07:00
Westly Wright 0b0afdcbbd
eks versions not always reversed 2020-03-25 16:55:50 -07:00
Westly Wright 550d5244ff
Coerce the versions for amazon eks which doesn't use a patch 2020-03-25 16:26:17 -07:00
Westly Wright c17fc952e2
Remove minimum k8s version range check for Cloud Provider clusters
Adds a new service which parses version from the various cloud provider version
list. I moved this to a new service rather than use form-versions because
form-versions is already fairly complicated with how it has to deal with RKE
Templates and unknown patch versions. It was simpler, cleaner, and faster to
move the CP cluster version parsing to a service and use new select because the
versions coming down do not include unknown patch versions. Addtionally going
this route allows us to not have to test all clusters for regressions, only CP ones.

rancher/rancher#26255
2020-03-25 15:59:22 -07:00
Cody Jackson b7c75acb4f Correcting disable field for scheduledClusterScan in RKE
I converted the enabled value back to a boolean instead of it being a string
but I forgot to switch the three disabled fields to expect a boolean.

@rancher/rancher#26245
2020-03-25 14:25:26 -07:00
Westly Wright 7774a33193
set inital version correctly 2020-03-25 12:55:50 -07:00
Cody Jackson b231b34a23 Making the CIS scan enabled radio buttons function on edit
When editing a cluster the value of scheduledClusterScan.enabled comes
back as a string rather than a boolean. I just ensure the value will be a
boolean to make sure the value is displayed on the radio buttons as
expected.

rancher/rancher#26245
2020-03-25 09:32:26 -07:00
Westly Wright 15e30282fd
Merge pull request #3870 from loganhz/fix-scan
[2.4.0] Fix run scan issue with invalid skip config
2020-03-25 09:15:32 -07:00
Westly Wright b0a3788e78
Merge pull request #3871 from westlywright/updating.events.map
updating state map and transitions map for rke workers
2020-03-25 09:13:40 -07:00
Westly Wright 66e663fd87
Merge pull request #3868 from westlywright/helm3.catalog.delete.consistency
Add helm 3 to the list of fake catalogs we show as "disabled" if deleted
2020-03-25 09:03:56 -07:00
Westly Wright 32cb1393ba
updating state map and transitions map for rke workers
rancher/rancher#25917
2020-03-25 09:00:49 -07:00