Commit Graph

132 Commits

Author SHA1 Message Date
Vincent Fiduccia 1d1af0bbe9
Merge pull request #4712 from jlamillan/jlamillan/flex-shapes-oci-node-templates
Add support for setting oCPUs and memory for flex node templates
2021-08-10 10:29:07 -07:00
wujun 029e77f097 feat: harvester nodeDriver rke1 2021-07-29 12:27:13 +08:00
Lauren Harden fce4e2de9f
iframe issues in vue from ember (#4690)
* 3370

* fix

* 33449

* 33450

* 33469

* lint

* spacing in hbs

* manual tidy part 1

* fixes part 2

* Fix reformatting issues

* Fix more formatting changes

* More formatting fixes

* Fix more formatting

* Fix test due to style changes

Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2021-07-15 09:36:49 +01:00
jesse.millan 791fab699d
Add support for setting oCPUs and memory for node templates when using flexible shapes. 2021-07-14 18:00:18 -07:00
Westly Wright e6b4bd3762
fix lint error from forward port 2021-07-02 11:49:57 -07:00
pavlej 8928746ecd
implementation for pnap driver to fetch data dynamically from ui 2021-07-02 10:14:52 -07:00
Lauren Harden 85ad5adb0b
theme changes for vue (#4655)
* theme changes for vue WIP

* banners

* header fixes

* rm blarp

* avatar fix

* table and header fixes

* table fix

* modal

* fix annotation

* right button headers

* accordion

* header color fixes

* banner fix
2021-06-30 09:45:00 -07:00
Neil MacDougall df136e0d3a Add ability to hide elements when embedded 2021-05-06 09:56:02 +01:00
Westly Wright eb1560158a
change aws node template instance type for `me` regions
rancher/rancher#31980
2021-04-29 10:35:20 -07:00
jesse.millan 3d8bc4c89d
Revert "Filter out OL-8.x images until it is supported by OCI machine driver."
This reverts commit 3671bc2c38 as it's no longer necessary.
2021-03-17 11:33:51 -07:00
Cody Jackson e947e44194 Fixing a problem where tags and custom attributes couldn't be added
The tags and custom attribute requests were never being made due to a recent change.

This change filtered out requests that didn't have a datacenter degined for everything but the datacenter resource. However this should've included 3 other resources that don't need a datacenter during the request.

rancher/rancher#31285
2021-02-22 10:04:56 -07:00
Cody Jackson 26bd8c4b13 Changing how we reset values when switching credentials for vsphere node templates
rancher/rancher#30690
2021-02-08 11:22:23 -07:00
Westly Wright aff49e2e21
add 'None' option to docker install url for node templates
rancher/rancher#30895
2021-02-04 15:15:16 -07:00
pajuga eb1abb00f0
Cloud credentials support and UI built in implementation for phoenixNAP node driver (#4380)
* Cloud credentials support for phoenixNAP driver.

* space added

* code formatting

* init function removed, name param removed from the arrays that populate
dropdowns

Co-authored-by: pavlej <pavlej@NSDT-PAVLEJ.ccbill-hq.local>
2021-01-13 12:57:13 -07:00
Cody Jackson febde82018 Ensuring the initial values are set on vsphere template when switching credentials
For props that have options that depend on credentials or datacenter this ensures that the props are reinitialized to one of the options.

rancher/rancher#30074
2020-12-31 14:17:29 -07:00
jesse.millan c2239d5c14
Add static region list for (bootstrap) authentication to a subscribed region. 2020-12-02 15:30:25 -08:00
jesse.millan 3671bc2c38
Filter out OL-8.x images until it is supported by OCI machine driver. 2020-10-23 14:16:17 -07:00
Luther Monson 1a82dfac99 fixing resource pool labels
resource pools can have subdirectories, changing the split to drop the
/dc/host portion and display the rest
2020-10-14 13:53:02 -07:00
Westly Wright d3d78e87c8
Upgrade Ember & Dependencies for LTS support >3.12
There are changes required for the ember upgrade but additional changes
for individual libs are also present. Commit has been squashed, see
individual commits if needed.

There are a bunch of HBS changes as well. These are to deal with a
couple new rules and there impact is low. The button one has bitten us a
few time so this seemed great to add IMO.

update ember 3.12.4

ember 3.13

fixes for new eslint rules

ember 3.13->3.14

ember3.14->3.16

ember3.16->3.20

3.20 lint rules

yarn upgrade

update ember-optional-feature

update deps that can go to patch versions

upgrade major versions that are possible

update ansi_up

only reset term var if we're not destroying

prevents new ember 'same computation' error

update async

upgrade dot-object

new-catalog - add set to deal with new warning
marked-down - drop call into next to ensure its called at the correct time

upgrade ember-assign

update ember-cli-clipboard

remove unused & deprecated ember-cli-release

remove unused drag-drop lib

use set on tracked prop

update ember-flatpickr && cli-test-loader

upgrade ember-href-to

update filesaver

update liquid-fire and ipaddr

upgrade jsondiffpatch

upgrade marked

upgrade semver

update xterm

Update ember-basic-dropdown

the library has changed quite a bit and no longer provides an addon for the content-item where we handling the click event to close the dropdown,
thus click events must be added manually to the items being clicked to close the dropdown.

udpate dompurify

fix page header project styles

Bump ember api store, remove npm-run-all

Autofix button types from hbs linting

this change looks large but only adds `type` button to any buttons that dont have a type, which should help to reduce weird side effects

more hbs lint changes for no-negate-condition

turned off a couple rules that could be too much to test right now
2020-10-07 16:52:22 -07:00
jesse.millan 1f5c9f0024
A tenancy should be a valid compartment. 2020-09-22 11:30:18 -07:00
Westly Wright c34f77ae19
Forward port kms keys in node template fixes
rancher/rancher#28719
rancher/rancher#28724
2020-09-03 11:02:49 -07:00
jesse.millan 473551b9cf
Verify OCI cloud credentials and fetch values dynamically from OCI. 2020-08-28 09:28:10 -07:00
jesse.millan d5be675ccb
Update static regions, versions, etc. in OCI and OKE drivers. 2020-08-20 15:43:43 -07:00
Westly Wright df83563cb1
Fix kms key markup position
rancher/rancher#28245
2020-08-10 10:38:28 -07:00
Westly Wright 9ebb8b0f6e
Add new ec2 metadata http endpoint/tokens props on node template
Sort ec2 yaml keys
Fix formatting for ec2 node template handbars template

rancher/rancher#28178
2020-08-04 09:49:26 -07:00
Westly Wright cca105197a
fix kmskey reset
rancher/rancher#28146
2020-07-30 10:50:43 -07:00
Westly Wright 17f348d63d
update label placement for ec2
rancher/rancher#27965
2020-07-28 13:44:18 -07:00
Westly Wright 8aa4885ce0
expose kms secrets on amazon node templates
rancher/rancher#27965
2020-07-27 16:53:36 -07:00
Westly Wright eeb694f552
Merge pull request #4069 from jlamillan/jlamillan/rancher-machine-driver-oci_2
Handle mismatch between the region name and the region identifier for…
2020-07-13 09:26:37 -07:00
Cody Jackson 5358263889 Ensure the datacenter changes value if the credentials change
I noticed fields wouldn't update if the credentials changed
if the datacenter value stayed the same. This ensures that
all of the other values will recompute by forcing the datacenter
value to change.

rancher/rancher#26997
2020-07-06 12:31:56 -07:00
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