Commit Graph

317 Commits

Author SHA1 Message Date
Nancy Butler 8fd67efb27 cluster agent tolerations 2023-04-20 13:43:09 -07:00
Nancy Butler 325240944a resource limits init 2023-04-20 13:43:09 -07:00
Neil MacDougall 2f96ddc095
Merge pull request #4970 from nwmac/rke-template-agent-env-vars
RKE Templates: Fix issue with 'value_from' being added to agent env vars
2023-04-13 14:01:38 +01:00
Nancy Butler 7e3062789b remove psp-in-cluster rke1 upgrade warning banner 2023-03-15 15:51:26 -07:00
Nancy Butler 7441f0cea0 check existence of podsecuritypolicy in cluster
clear config.defaultPodSecurityPolicyTemplateId when disable psp support is selected
2023-03-03 09:41:56 -07:00
Neil MacDougall 81a11fa490 Fix issue with 'value_from' being added to agent env vars 2023-02-24 08:14:11 +00:00
Nancy Butler c4c0efb776 update rke1 psp banner 2023-02-16 09:02:51 -07:00
Nancy Butler 269155b357 fix rke1 psa config template field 2023-01-26 10:35:34 -07:00
Nancy Butler ef010cde9c add rke1 psac default option 2023-01-25 14:01:15 -07:00
Neil MacDougall 34be1a1d9a Update versions used for PSA and PSP detection 2023-01-23 20:23:26 +00:00
Nancy Butler 531ff1d45c fix psac field 2023-01-15 09:27:49 -07:00
Nancy Butler 52f1903af9 localization 2023-01-14 10:35:29 -07:00
Nancy Butler 74c1bae987 warnings, disable inputs when needed, psac default value 2023-01-13 12:44:39 -07:00
Nancy Butler e3221fcfd6 psa dropdown, detect invalid config 2023-01-12 14:51:37 -07:00
Neil MacDougall 6f5e3b2a99 Fix issue editing cluster with agent env vars 2022-12-16 17:53:48 +00:00
Neil MacDougall 23eca7808e Allow Authorizaton endpoint FQDN to accept potr 2022-10-21 15:04:17 +01:00
Neil MacDougall 5c00bebe58 Fix % creep on custom cluster create with RKE template 2022-07-13 11:40:03 +01:00
Neil MacDougall 63bf9ebe13 Fix property name typo 2022-04-07 15:25:08 +01:00
Neil MacDougall 5fe992460c Factor common strings to constants 2022-04-07 14:06:29 +01:00
Neil MacDougall 4563be77fe Apply weave network config when using an RKE template 2022-04-07 12:29:14 +01:00
Catherine Luse 74f8444a8a Use existing cluster config as defaults for RKE template clusters 2022-03-25 14:56:59 -07:00
Neil MacDougall 2041405f21 Remove trailing spaces 2022-03-09 13:45:48 +00:00
Neil MacDougall caab493d9a Fix issue where we keep adding a % char to the maxWorkersUnavailable field 2022-03-09 11:29:58 +00:00
codyrancher e16243b4fe
Merge pull request #4629 from codyrancher/rke-private-registry
Fixing how the frontend handles the bracket annotation when building cluster answers
2022-01-19 14:01:04 -07:00
Neil MacDougall 4820d1e4ca
Merge pull request #4799 from nwmac/max-worker-percent
Fix bug where % keeps getting added to max worker nodes unavailable
2022-01-17 11:44:39 +00:00
Neil MacDougall adbec98d89 Fix lint issue 2022-01-14 15:26:44 +00:00
Neil MacDougall 1d1a1c537b Fix bug where % keeps getting added to max worker nodes unavailable 2022-01-11 13:38:54 +00:00
n313893254 0334d00d0e Add rke1 cloud provider for harvester 2021-11-24 14:59:56 +08:00
Neil MacDougall fb42eff690 Fix more dark mode issues resulting from styling changes 2021-08-18 12:36:36 +01:00
Cody Jackson 6564d1349c Inform the user that Logging, CIS Scans, Istio and Pipelines aren't supported in k8s 1.21+
https://github.com/rancher/dashboard/issues/3589
2021-08-04 11:28:18 -07: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
Cody Jackson e4192880e6 Fixing how the frontend handles the bracket annotation when building cluster answers
The front end wasn't sending answers to the backend when a user set the the
privateRegistries field when using an RKE template which allowed the field to
be overriden. This was happening because we weren't handling the bracket
notation properly.

rancher/rancher#27166
2021-05-19 16:54:22 -07:00
Westly Wright 2fa821de9a
lint 2021-05-03 20:59:01 -07:00
Westly Wright af8ad33f55
check windows prefered before save for yaml view
rancher/rancher#32522
2021-05-03 20:51:57 -07:00
Westly Wright 477cb57cc4
simplify edit as yaml shown logic
only show it when we're at step 1

rancher/rancher#32521
2021-05-03 20:51:57 -07:00
Westly Wright 9b6ce16bcc
Fix edit custom cluster step 2 btn state and two way bindings 2021-03-15 16:04:14 -07:00
Westly Wright 6e4dde97f5
change post save logic for custom clusters to be able to have postsave 2021-03-15 15:42:28 -07:00
Westly Wright 444937a4aa
Refactor logic for showing CustomCommand and ImportCommand 4 env var
Since the env vars have to be saved on a cluster there is no easy way of dynamically updating the cluster command without trying to split the string and do all kinds of nasty things.
I refactored the logic for when we show the command for both Custom and Import clusters until after the cluster has been saved. This ensures the user is required to save the cluster before fetching the command on an edit action

rancher/rancher#31529
2021-03-15 14:48:14 -07:00
Cody Jackson c96c4e1828 Switching over to having the envVars just be keyValues
After some discussions we decided to simplify things since all that's actually needed are keyValues.

I made the changes within the existing component instead of switching to keyValue to reduce risk at this stage of the release.

rancher/rancher#31545
2021-03-01 17:56:26 -07:00
Cody Jackson fa989bd394 Disabling all reference types on rke create for agentenvvar and marking variable name field as required
Since the reference types can't exist until the cluster is created I added an option to disable all reference types and use it during RKE create

Even though the backend doesn't indicate the variable name is required we're marking it as such because it casues cluster to fail. No validation will be done at this time.

rancher/rancher#31528
2021-03-01 12:45:08 -07:00
Cody Jackson 5adfae361f Adding agent env vars to import cluster
rancher/rancher#31505
2021-02-26 10:12:43 -07:00
Cody Jackson a6156fa4ed Fixing several issues with agentEnvVars
- Fixed issues with determining the provider when editing clusters that are still provisioning.
- Fixed empty values causing problems
- Fixed an issue where the default value wasn't getting set properly for configmaps and secrets when selecting the type and nothing else

https://github.com/rancher/rancher/issues/31023#issuecomment-784717552
2021-02-26 02:45:38 -07:00
Westly Wright 17c508d6b0
Merge pull request #4467 from codyrancher/agent-env-vars
Adding the agent env vars to rke drivers.
2021-02-23 13:14:43 -07:00
Cody Jackson ef5afd4007 Adding the agent env vars to rke drivers.
rancher/dashboard#31023
2021-02-23 12:44:52 -07:00
Westly Wright c1badf2456
lint 2021-02-17 09:32:34 -07:00
Westly Wright 5403a4990a
Add dns options to excluded keys to camel list
rancher/rancher#31230
2021-02-16 16:07:41 -07:00
Westly Wright f4bb720d10
rke template s3 cert styles
rancher/rancher#27165
2021-02-01 15:13:16 -07:00
Westly Wright 831957bcce
Adds in one off check for secretsEncryption.customConfig
custom config has a type of `map[json]` and when we process this for the edit yaml view we can goof some of the keys in the arbitrary JSON.
specifically the `Resources` key gets dasherized and lower cased which borks  the cluster on save.

rancher/rancher#30555
2020-12-18 16:32:32 -07:00
Westly Wright f54b4f65e9
lint 2020-12-17 11:48:26 -07:00
Westly Wright c2d84f3ad9
update rotate encryption key logs for new requirements
exposes the kubeApi Secrets config enabled property which allows users to rotate keys
disable rotate action when prop is not set, we are rotating or, the cluster is transitioning

rancher/rancher#30077
2020-12-17 11:42:33 -07:00