Commit Graph

132 Commits

Author SHA1 Message Date
Jesse Millan c57d3d76a4
Handle mismatch between the region name and the region identifier for IAD. 2020-07-06 11:42:41 -07:00
Westly Wright 35b85543e8
Add Ubuntu 20.04 LTS to valid images for DO
rancher/rancher#27542
2020-06-11 12:17:05 -07:00
Westly Wright 8ac5e7218b Expose nsg on azure node templates
rancher/rancher#26619
2020-05-22 11:02:30 -07:00
Westly Wright 24e7c06436
Provide additional help text for azure node templates
for availablity sets, disk, and image since all three tie together.

rancher/rancher#26804
2020-04-24 14:20:37 -07:00
Westly Wright 4b8a37edc5
Change default digital ocean nt image
rancher/rancher#26748
2020-04-23 10:19:57 -07:00
jesse.millan 2c5d3eb9c8
Make OCI a built-in node driver. 2020-04-22 16:37:18 -07:00
Luther 4f06cc0dbd adding check for Resources to pull more descriptive label 2020-04-17 15:11:04 -07:00
GGGitBoy b3f85cfafd Update Aliyun-Driver 2020-03-27 17:19:14 +08:00
Westly Wright 7bad9d585a
Expose encryptEbsVolume param on EC2 Node Template
rancher/rancher#25266
2020-02-24 11:19:00 -07: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
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
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
Cody Jackson 13eb50172b Removing naked strings that I found 2019-12-20 10:48:48 -07:00
Cody Jackson b93e895d78 Change the messaging and default creationtype
The backend was setting the default to legacy so that the legacy
template would still work when users migrate to the latest
version of the driver. This was causing the default value to
be legacy when creating a new vsphere template. Forcing
the backend to change the default will likely lead to problems
with the migration so we're making the change on the front end.

Ultimately we use the existing set default logic if a vsphere template
is being created (as opposed to edited) instead of just when the
creation type doesn't exist or is invalid.

We also changed the text for the legacy value to be friendlier.

rancher/rancher#24060
2019-11-13 16:15:01 -07:00
Cody Jackson 65fb8f49ab Add datastore cluster as an option for vsphere
rancher/rancher#24002
2019-11-11 11:18:24 -07:00
Cody Jackson 76adaf8658 Notify user of value missing from options
When using an older vsphere node template in the latest version it was
possible that a user entered value would not be a valid option. When
the value isn't a valid option the dropdown has nothing selected. To
improve the UX we now notify the user that the current value is no
longer valid and sask them to select a new value.

rancher/rancher#23920
2019-11-07 16:51:15 -07:00
Cody Jackson 1fd130667a Switch to new implementation of creationType
The backend has made a new implementation of creationType which allowed
me to remove the creationMethod concept and just use creationType.

This change allows us to properly populate the creation type form fields
when a user edits a vsphere nodetemplate.

rancher/rancher#23812
2019-11-04 13:33:01 -07:00
Cody Jackson 6c7052befd Enable unique custom attribute key selection
The keys for custom attributes needed to be unique. To enforce the
unique constraint I created the FormContextualKeyValue component.
This component behaves similarly to the FormContextualSelectArray
but handles key value pairs.

rancher/rancher#23782
2019-11-04 10:13:01 -07:00
Cody Jackson a39189f0f4 Repair vsphere node template editing
When editing a vsphere node template that used a RancherOS ISO
creation method it crashed the page due to an array not existing.

I also noticed that the tags, custom attributes and networks weren't
loading when editing so I resolved those issues too.

rancher/rancher#23796
2019-10-31 16:12:41 -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
Cody Jackson 5345de7e34 Parse the 'key=value' format of custom attributes
We weren't initializing custom attributes because we were not
parsing the backend format appropriately. We needed to parse
the 'key=value'.
2019-10-28 08:48:08 -07:00
Cody Jackson b3f5bfe615 Remove cloneFrom and contentLibrary while not used
If cloneFrom and contentLibrary shouldn't be used we delete them
from the config to prevent them from going being a part of the request.
2019-10-28 08:43:33 -07:00
Cody Jackson ea7dd8fb3d Make creationType use the appropriate values
creationType was using the wrong values after refactoring to
combine two dropdowns into one. I renamed the existing
config.creationType to creationMethod and now observe
creationMethod to properly set config.creationType.
2019-10-28 08:43:09 -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 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
Westly Wright d145445d25
Upgrade ember-intl to latest version
remove prototype extension

Remove translations from engines

The motivation behind this change stems from this issue ember-intl issues/797
and the current implmentation of engine support in ember-intl. The translations
essentially get bundled twice. Until ember-intl removes the second bundle it
makes sense to keep the translations in the main ui file.
2019-10-02 13:46:37 -07:00
Cody Jackson 3fcc2382d9 Preserve state of 'Use Private IP To Connect'
When editing Azure node templates we failed to
preserve the state of 'Use Private IP To Connect 'when the value of
public ip was 'Static' or 'Dynamic'. We were erroneously overwriting the
value of config.usePrivateIp to false when those public ip values were
chosen.

rancher/rancher#22752
2019-09-18 16:00:42 -07:00
Vincent Fiduccia dd76897e67 Revert "Add standard volume type for AWS (#3351)"
This reverts commit 693f39283a.
2019-09-17 18:03:23 -07:00
Meikel Philipp 693f39283a Add standard volume type for AWS (#3351)
* Added select for volume type in node-template
Added standard as volume type for Amazon (ec2 & ebs)
Extracted volume types to amazon.js (used by ec2 & ebs)
2019-09-16 16:08:35 -07:00
loganhz 4b427af18f Fix view managed disk issue
https://github.com/rancher/rancher/issues/22276
2019-08-20 07:55:10 +08:00
loganhz 8fe97b4da1 Suport disk size for non-managed azure clusters
https://github.com/rancher/rancher/issues/22236
2019-08-17 08:07:08 +08:00
loganhz 8eb27507a6 Show available instances types only for Aliyun ecs
https://github.com/rancher/rancher/issues/22111
2019-08-10 21:16:51 +08:00
Westly Wright 106c169278
Merge pull request #3201 from loganhz/bug1
Bugs
2019-08-07 09:29:21 -07:00
loganhz 389815578d Update aliyun default os 2019-08-07 18:30:35 +08:00
loganhz 1ca0746814 Fix Azure node pool input range issue 2019-08-07 07:09:31 +08:00
loganhz 945ab2107e Add managed disk option to azure driver
https://github.com/rancher/rancher/issues/21533
2019-08-02 16:05:09 +08:00
loganhz 5be5abfded Support taints 2019-07-26 19:49:31 +08:00
Westly Wright 619bfecd06
Add support for special fields in 3rd party Node Drivers
rancher/rancher#20787
2019-06-11 10:19:03 -07:00
loganhz 00b2beb705 Add node exporter port in azure security group
https://github.com/rancher/rancher/issues/19187
2019-05-04 14:33:21 +08:00
loganhz 8069cf612d Cannot change docker install URL in vsphere
https://github.com/rancher/rancher/issues/19141
2019-04-28 18:12:59 +08:00
Westly Wright 97458f7016
Merge pull request #2873 from westlywright/double-error-node-templates
Node Template Bugs
2019-04-11 09:13:25 -07:00
Westly Wright 16917a307a
only show top-errors in the correect step
rancher/rancher#19390
2019-04-10 11:36:06 -07:00
Westly Wright abf75dd8b5
lint 2019-04-10 10:52:24 -07:00
Westly Wright 67790e28f9
refactor size and location computed properties
rancher/rancher#19396

refactor display location into class

refactor display sizes on node templates

refactor 2 new display prop classes to 1
2019-04-10 10:25:23 -07:00
Westly Wright ba2a3037c8
refactor error handler for cloud credentials in node templates
rancher/rancher#19377
2019-04-04 14:28:54 -07:00
Westly Wright 4561b7e53e
reload global schemas so we have access to new custom nt's 2019-04-03 15:21:37 -07:00
Westly Wright 775e57c0fd
Add cloud credential id check to node template mixin
rancher/rancher#19275
2019-04-02 10:28:08 -07:00
Westly Wright 46e96c801a
Fix send action deprecations
send action deprecation warnings for form-key-value component

update all cancel actions

deprecations for ns quota component and action menu item

deprecations and formatting

sendAction deprecation form-node-selctor & formatting

sendAction deprecations for cru-persistent-volume & formatting

sendAction deprecations for form-scoped-roles & formatting

sendAction deprecations for telemetry-opt & formatting

sendAction deprecations for table-rows & formatting

sendAction deprecations for server-url & formatting

sendAction deprecations for cru-config-map & formatting

sendAction deprecations for workload-row & formatting

sendAction deprecations for cru-volume & formatting

sendAction deprecations for cru-persistent-volume-claim & formatting

fix issue with declaring dynmic keys on component.

sendAction deprecations for form-healthcheck & formatting

sendAction deprecations for node-selector-row & formatting

sendAction deprecations for new-edit-ingress & formatting

sendAction deprecations for form-node-affinity & formatting

sendAction deprecations for form-key-to-path & formatting

sendAction deprecations for new-catalog & formatting

sendAction deprecations for cru-storage-class & formatting

sendAction deprecations for project-resource-quota & formatting

sendAction deprecations for input-files & formatting

sendAction deprecations for node-row & formatting

sendAction deprecations for input-command & formatting

sendAction deprecations for form-ports

sendAction deprecations for new-edit & formatting

sendAction deprecations for form-image

sendAction deprecations for form-volume-row & formatting

sendAction deprecations for form-volumes & formatting

sendAction deprecations for form-scale & formatting

sendAction deprecations for container-logs & formatting

sendAction deprecations for cru-volume-claim-template

sendAction deprecations for pod-row & formatting

sendAction deprecations for source-custom-log-path & formatting

sendAction deprecations for step mixin & formatting

sendAction deprecations for pipeline-codemirror & formatting

sendAction deprecations for build-step & formatting

sendAction deprecations for build-stage & formatting

sendAction deprecations for pipeline-env-from & formatting

sendAction deprecations for log-view & formatting

sendAction deprecations for bitbucketserver-setting & formatting

sendAction deprecations for bitbucketcloud-setting & formatting

sendAction deprecations for form-recipient-item & formatting

sendAction deprecations for pipeline-selector-row & formatting

sendAction deprecations for policy-row & formatting

sendAction deprecations for other-role-row & formatting

sendAction deprecations for role-rule-row & formatting

sendAction deprecations for new-multi-cluster-app & formatting

sendAction deprecations for driver-digitalocean & formatting

sendAction deprecations for project-alert-row & formatting

sendAction deprecations for form-recipient-item & formatting

sendAction deprecations for cluster-alert-row & formatting

sendAction deprecations for alert-select & formatting

sendAction deprecations for storage-class-provisioner & formatting

sendAction deprecations for cluster-driver mixin

sendAction deprecations for node-driver mixin

sendAction deprecations for view-new-edit mixin

sendAction deprecations for host-registration & formatting

sendAction deprecations for form-labels-annotations & formatting

sendAction deprecations for huawei-user-labels & formatting

sendAction deprecations for form-user-labels & formatting

sendAction deprecations for principal-search & formatting

sendAction deprecations for form-namespace & formatting

sendAction deprecations for input-paste & formatting

sendAction deprecations for catalog-index & formatting

sendAction deprecations for searchable-select & formatting

sendAction deprecations for hover-dropdown & formatting

sendAction deprecations for container-shell & formatting

sendAction deprecations for input-yaml & formatting

sendAction deprecations for input-text-file & formatting

sendAction deprecations for sortable-thead & formatting

sendAction deprecations for form-ingress-rows & formatting

sendAction deprecations for input-password & formatting

sendAction deprecations for input-identity & formatting

sendAction deprecations for form-count & formatting

sendAction deprecations for form-members & formatting

sendAction deprecations for outside-click & formatting

sendAction deprecations for input-slider & formatting

sendAction deprecations for metrics-action & formatting

sendAction deprecations for banner-message & formatting

sendAction deprecations for driver-rke & formatting

sendAction deprecations for driver-import & formatting

sendAction deprecations for form-value-array & formatting

sendAction deprecations for cru-node-pools & formatting

sendAction deprecations for cru-cluster & formatting

sendAction deprecations for logging/new-edit & formatting

sendAction deprecations for login-x components & formatting
2019-03-29 10:58:08 -07:00
Westly Wright 2a1632ef2d
Fix custom node driver not loading after activation
rancher/rancher#19066
2019-03-27 11:42:58 -07:00
loganhz f9658e8c05 Fix vsphere update issue
https://github.com/rancher/rancher/issues/18894
2019-03-14 10:06:22 +08:00
Sergej Nikolaev ef5e74ea26 fix default vapp properties 2019-02-27 13:43:38 +03:00
Westly Wright 66beb46df7
tweak clone text/data for node templates
rancher/rancher#18231
2019-02-25 16:46:32 -07:00
Westly Wright aa18ba2893
Fix ec2 nt "next" label
rancher/rancher#18227

Fix hbs styles and added label for's + id's for accessability
2019-02-25 11:41:10 -07:00
Westly Wright 7537421efc
Fix edit/clone translations for node templates
rancher/rancher#18227
rancher/rancher#18231
2019-02-22 12:05:07 -07:00
Westly Wright 1e3b8ca24a
do not show selector on NT cloud keys page
rancher/rancher#18078

lint
2019-02-16 08:31:35 -07:00
Westly Wright c957f662c2
Add partial support for cloud key validation
rancher/rancher#18037

add amazon key validation
2019-02-16 08:31:24 -07:00
Westly Wright 2f30632340
Change default droplet size for do node templates
rancher/rancher#17795
2019-02-13 16:02:07 -07:00
Westly Wright a6f0252bb2
remove password field from vmwarevsphereConfig
rancher/rancher#18040
2019-02-12 17:16:46 -07:00
Westly Wright 3df948e9ab
Add cloud credentials page, resource, and add modal
WIP

WIP

WIP

cleanup
2019-02-11 17:37:05 -07:00
loganhz b8a4da7951 Fix aws node template issue
https://github.com/rancher/rancher/issues/17781
2019-02-01 10:36:26 +08:00
Westly Wright d46317253c
Merge pull request #2308 from kinolaev/master
Support vSphere network protocol profiles
2019-01-22 09:43:36 -07:00
Vincent Fiduccia 691ffc38e5
Switch to @rancher/ember-api-store 2019-01-10 16:44:35 -07:00
lvuch 22a3d7e39f 17133 2019-01-08 16:11:43 -07:00
loganhz 00950d11d4 Support Aliyun/Tencent/Huawe hosted k8s
rancher/rancher#16809
2018-12-05 10:29:32 +08:00
loganhz d96ca5811b Update buttons in exoscale node template
https://github.com/rancher/rancher/issues/16398
2018-11-21 18:44:08 +08:00
loganhz c52c25c26f Fix editing aws node template issue
https://github.com/rancher/rancher/issues/15607
2018-11-14 11:34:05 +08:00
lvuch ec754bed5a nav item boxes add label and reconfig image 2018-10-31 11:51:48 -07:00
Sebastiaan van Steenis fad847216b Change CoreOS droplet username and update droplet images 2018-10-31 12:05:36 +01:00
Sergej Nikolaev 124ae463c1 vsphere: support vApp options 2018-10-13 06:38:50 +03:00
Westly Wright 4ace4f0411
Flip the lazy loading switch for all engines and remove browserify
loading overlay would stick on login sometimes

first update for auto importer

add required unsafe eval

remove project level xterm loading

ansi up

lazy-load dot-object

lazy load marked

Move logger models out of logging engine, it prevents lazy loading

add auto-importer config to logging

semver & json2yaml

lazy load pretty cron

lazy load shell quote

bug - typo in function name

remove debugger

lint and bugs

add shellquote constant to deal with undef error

Remove async from global and load module properly

add ignore file for silver-searcher

auto-import d3 lib

auto-import Identicon

auto-import jquery growl

update jsondiffpatch and auto-import

Remove unneeded voids

ember-auto-load jszip

pipeline bug

Refactor verify-auth route for lazy engines

auto-import to all engines/addons

auto-import momentjs

auto-import yaml

auto-import file-saver

update globals

bugs

review changes

yarn lock

move bable option back into the right place

bug fixes

decouple dependencies for nodes engine

decouple dependencies for global-admin

decouple dependencies for login engine

decouple dependencies for alerts engine

decouple dependencies for logging engine

decouple dependencies for pipeline engine

Lint sync and fix

review bugs

updates for rebase
2018-10-11 12:03:44 -07:00
loganhz 4befb92c66 Set default instance type for EC2 node template to t2.medium
https://github.com/rancher/rancher/issues/15327
2018-09-10 16:17:55 +08:00
gary huang c55661b284
format code style 2018-09-04 09:45:14 +08:00
gary huang dfcb7bf57f
format code style 2018-09-04 09:42:32 +08:00
gary huang 5f12c4eae5
Format code style 2018-09-04 09:34:35 +08:00
gary huang cc9f7e7a12
Update component.js 2018-09-03 09:23:29 +08:00
gary huang 7f35bbe9a0
Be able to handle multiple networks
docker-machine supports creating vm with multiple networks defined. Rancher UI should be able to deal with multiple networks either
2018-09-01 23:36:03 +08:00
Pierre-Emmanuel Jacquier 0d1d93995f refacto HTMLBars template helpers
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
2018-08-28 11:36:40 +02:00
Pierre-Emmanuel Jacquier 8b1f071590 Improve provider port security
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
2018-08-27 18:12:28 +02:00
loganhz 29f07ab9ae Enable cfgparam disk.enableUUID=TRUE by default
https://github.com/rancher/rancher/issues/14334
2018-08-22 16:28:11 +08:00
Westly Wright e1579b52d7
Fixups 2018-08-16 10:57:01 -07:00
Westly Wright f777cf1589
remove nested components to make using custom drivers (ui-skel) easy 2018-08-15 14:05:20 -07:00
Westly Wright dfb90c4796
move node drivers to engine 2018-08-15 14:05:19 -07:00