Commit graph

4551 commits

Author SHA1 Message Date
hc-github-team-nomad-core 8d3049b49b
Backport of [CSI] Prevent stage_publish_base_dir from being subdir of mount_dir into release/1.6.x #19463
Co-authored-by: Grant Griffiths <ggp493@gmail.com>
2023-12-13 14:52:08 -05:00
Tim Gross 04a5cb69f7 docs: add warnings about backing up keyring to snapshot commands (#19400)
The `operator snapshot` commands and agent don't back up Nomad's key
material. Add some warnings about this to places where users might be looking
for information on cluster recovery.

Fixes: https://github.com/hashicorp/nomad/issues/19389
2023-12-08 16:08:17 -05:00
hc-github-team-nomad-core 22f9867ed3
Backport of update PKI example in template spec with the new pkiCert function into release/1.6.x (#19396)
Co-authored-by: Adrian Todorov <adrian.todorov@hashicorp.com>
2023-12-08 14:50:35 -05:00
hc-github-team-nomad-core e1a6a4c42f
Backport of docs: expand on Sentinel policy reference into release/1.6.x #19358
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-12-07 14:17:12 -05:00
hc-github-team-nomad-core 64d8063a9b
Backport of docs: clarify behavior and recommendations for mTLS vs TLS for HTTP into release/1.6.x #19307
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-12-04 15:49:54 -05:00
hc-github-team-nomad-core e4fd687791
backport of commit af71f4a55a7189c35b88dfb435cd1096c4898615 (#19261)
Co-authored-by: Adrian Todorov <adrian.todorov@hashicorp.com>
2023-12-04 08:58:58 +00:00
hc-github-team-nomad-core 9909d1fa73
backport of commit b83c1e14c13b05a89524fb6ea6e94ddcca7db1c8 (#19281)
Co-authored-by: Seth Hoenig <shoenig@duck.com>
2023-12-01 14:08:21 -06:00
hc-github-team-nomad-core b62e524bbb
backport of commit 573c3103fb6da48143982cd5457f9bc0a1e33221 (#19234)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-11-30 07:45:30 +00:00
hc-github-team-nomad-core ef2de73315
backport of commit d29ac461a7229ca61da9561c1058e14aecbe4b90 (#19223)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-11-29 13:33:08 -05:00
hc-github-team-nomad-core 03e23c9bae
backport of commit e2487698e63d6d4961ebe9a34324274fb58377ec (#19202)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-11-28 14:45:33 +00:00
hc-github-team-nomad-core 627dc49147
backport of commit 772ddd3638d4130b0e3590c5d0279e5757823250 (#19193)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-11-27 17:58:54 -05:00
hc-github-team-nomad-core 525534f1d8
backport of commit cfbb2e8923d254bc940e1b01c3e772769600fefe (#19168)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-11-24 10:56:31 +00:00
Charlie Voiselle 78d7c2bbee
backport of commit 659c0945fc35a2a0a999be7ce531beb55cfeeeab (#19004) (#19129)
[core] Honor job's namespace when checking `distinct_hosts` feasibility
Manual backport because of conflicts in upgrade-specific.mdx
2023-11-20 14:06:51 -05:00
Judith Malnick 5f5ed4161e docs: fix networking and licensing links (#19096) 2023-11-16 09:06:21 -05:00
hc-github-team-nomad-core 9843620934
docs: fix link to dynamic node metadata API (#19086) (#19087)
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-11-14 11:28:58 -05:00
hc-github-team-nomad-core db11c461ce
backport of commit e4f98a8d1da82e55e2943e07cb681e939c36cdcb (#19008)
Co-authored-by: Dave May <dmay@hashicorp.com>
2023-11-07 07:47:54 +00:00
hc-github-team-nomad-core 8c4eff2d23
backport of commit 4ec27a97d163c010c2d00f49e9e81d20496c8e6e (#18953)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-11-01 13:57:21 +00:00
hc-github-team-nomad-core 76b2360213
backport of commit 9b3c38b3ed886f06cd945a3dfd34aa7d8f8817c1 (#18859)
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2023-10-24 16:23:44 -07:00
hc-github-team-nomad-core 63c2013ec1
backport of commit ca9e08e6b5eee00d055b9429df5976a70cdcb2d6 (#18813)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-10-20 08:35:54 +01:00
hc-github-team-nomad-core 657c430e0b
backport of commit 1ffdd576bbcea1f32aa179934b63450808c022c4 (#18772)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-10-16 16:19:58 +01:00
hc-github-team-nomad-core fe612a4d18
backport of commit 6dcc4021882fcaecb7ee73655bd46eb84e4671d4 (#18767)
Co-authored-by: Kevin Wang <kwangsan@gmail.com>
2023-10-16 09:15:16 +01:00
hc-github-team-nomad-core 441d733046
backport of commit ef6814388c1adae3ee2bbe317719aded15275648 (#18720)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-10-10 17:34:58 -04:00
hc-github-team-nomad-core 00cf4f973d
backport of commit b44cef0e66fa02f76f7fa69c045a54f371d2c908 (#18618)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-09-29 08:43:01 +01:00
Phil Renaud bfba4f5e13
[ui] ACL Roles in the UI, plus Role, Policy and Token management (#17770) (#18599)
* Rename pages to include roles

* Models and adapters

* [ui] Any policy checks in the UI now check for roles' policies as well as token policies (#18346)

* combinedPolicies as a concept

* Classic decorator on role adapter

* We added a new request for roles, so the test based on a specific order of requests got fickle fast

* Mirage roles cluster scaffolded

* Acceptance test for roles and policies on the login page

* Update mirage mock for nodes fetch to account for role policies / empty token.policies

* Roles-derived policies checks

* [ui] Access Control with Roles and Tokens (#18413)

* top level policies routes moved into access control

* A few more routes and name cleanup

* Delog and test fixes to account for new url prefix and document titles

* Overview page

* Tokens and Roles routes

* Tokens helios table

* Add a role

* Hacky role page and deletion

* New policy keyboard shortcut and roles breadcrumb nav

* If you leave New Role but havent made any changes, remove the newly-created record from store

* Roles index list and general role route crud

* Roles index actually links to roles now

* Helios button styles for new roles and policies

* Handle when you try to create a new role without having any policies

* Token editing generally

* Create Token functionality

* Cant delete self-token but management token editing and deleting is fine

* Upgrading helios caused codemirror to explode, shimmed

* Policies table fix

* without bang-element condition, modifier would refire over and over

* Token TTL or Time setting

* time will take you on

* Mirage hooks for create and list roles

* Ensure policy names only use allow characters in mirage mocks

* Mirage mocked roles and policies in the default cluster

* log and lintfix

* chromedriver to 2.1.2

* unused unit tests removed

* Nice profile dropdown

* With the HDS accordion, rename our internal component scss ref

* design revisions after discussion

* Tooltip on deleted-policy tokens

* Two-step button peripheral isDeleting gcode removed

* Never to null on token save

* copywrite headers added and empty routefiles removed

* acceptance test fixes for policies endpoint

* Route for updating a token

* Policies testfixes

* Ember on-click-outside modifier upgraded with general ember-modifier upgrade

* Test adjustments to account for new profile header dropdown

* Test adjustments for tokens via policy pages

* Removed an unused route

* Access Control index page tests

* a11y tests

* Tokens index acceptance tests generally

* Lintfix

* Token edit page tests

* Token editing tests

* New token expiration tests

* Roles Index tests

* Role editing policies tests

* A complete set of Access Control Roles tests

* Policies test

* Be more specific about which row to check for expiration time

* Nil check on expirationTime equality

* Management tokens shouldnt show No Roles/Policies, give them their own designation

* Route guard on selftoken, conditional columns, and afterModel at parent to prevent orphaned policies on tokens/roles from stopping a new save

* Policy unloading on delete and other todos plus autofocus conditionally re-enabled

* Invalid policies non-links now a concept for Roles index

* HDS style links to make job.variables.alert links look like links again

* Mirage finding looks weird so making model async in hash even though redundant

* Drop rsvp

* RSVP wasnt the problem, cached lookups were

* remove old todo comments

* de-log
2023-09-27 17:02:48 -04:00
hc-github-team-nomad-core 84b6321235
backport of commit 20f6ec75ef06a8d9edb078849545346e942b9e69 (#18581)
Co-authored-by: Jose Merchan <jose.maria.merchan@gmail.com>
2023-09-26 10:28:19 +01:00
hc-github-team-nomad-core 27f53350ff
backport of commit f37f84182db6ef657e64775fdc992721706bac88 (#18518)
Co-authored-by: Shantanu Gadgil <shantanugadgil@users.noreply.github.com>
2023-09-15 10:21:19 -04:00
hc-github-team-nomad-core c7b1966565
backport of commit 1339599185af9dbfcca6f0aa1001c6753b8c682b (#18517)
Co-authored-by: Gerard Nguyen <nguyenvanthao1991@gmail.com>
2023-09-15 09:16:38 -04:00
hc-github-team-nomad-core 1425eecbbe
backport of commit d2dd64f2c488cea92c14731091f6f668a9e7b969 (#18515)
Co-authored-by: Shantanu Gadgil <shantanugadgil@users.noreply.github.com>
2023-09-15 09:35:57 +01:00
hc-github-team-nomad-core 5edf9f7c8f
backport of commit 0329393a28a94c70e5470a9d43b8e2d43caf0759 (#18501)
Co-authored-by: wrli20 <41421510+wrli20@users.noreply.github.com>
2023-09-14 09:25:34 -04:00
hc-github-team-nomad-core 9a188167cb
backport of commit 4b6cc14216adda35d38c8a2d7f050de9e05114e0 (#18482)
Co-authored-by: Joshua Timmons <joshua.timmons1@gmail.com>
2023-09-13 10:23:00 -04:00
hc-github-team-nomad-core 171d14707b
backport of commit 46e72aa8d5fa11f3854724a5c1e8061d52b180de (#18478)
Co-authored-by: wrli20 <41421510+wrli20@users.noreply.github.com>
2023-09-13 14:02:00 +01:00
hc-github-team-nomad-core 2ef7a280b0
backport of commit d923fc554d09ceb51b530467a354860b25114fd3 (#18450)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-09-11 16:21:44 +01:00
hc-github-team-nomad-core 460b2a3bae
backport of commit 4f3a2e1a7d7a88390dd53fcbf5d90646075853c5 (#18418)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-09-07 09:43:09 +01:00
hc-github-team-nomad-core 428711a903
backport of commit 82cbbacf69c05e465797a9ac99a46f1f76a28f66 (#18403)
Co-authored-by: Dao Thanh Tung <ttdao.2015@accountancy.smu.edu.sg>
2023-09-06 11:34:05 +01:00
hc-github-team-nomad-core b67acf823b
backport of commit 652532b8caae1d7e1e63ceb0b8407b2b54cb4cff (#18398)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-09-06 09:36:17 +01:00
hc-github-team-nomad-core dec824e797
backport of commit a03aa0cebb9e2d74b91d94aebc903a9af946e8f7 (#18391)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 13:54:31 +01:00
hc-github-team-nomad-core 4e8088dfa8
backport of commit e69e3c66776519bc5f551e18ca41ec305dc9e704 (#18310)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-08-23 16:01:29 -04:00
hc-github-team-nomad-core e035c3d9c0
backport of commit 6c43080b55f5afa18d114a354c4aa808b010c161 (#18304)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-08-23 11:50:29 -04:00
Iwan Aucamp debb009cb8
docs: fix a sentence in vault-integration.mdx (#18296) 2023-08-23 11:44:15 +01:00
hc-github-team-nomad-core e4c7388608
backport of commit 3e61b3a37df9ff0836b52ba5440106ad0f607dd7 (#18294)
Co-authored-by: Андрей Неустроев <99169437+aneustroev@users.noreply.github.com>
2023-08-22 16:01:24 -04:00
hc-github-team-nomad-core 3ec251d29c
backport of commit 7548eecbaae6824e1051cf511dd004f99a6a93c0 (#18291)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-08-22 15:13:04 -04:00
hc-github-team-nomad-core 27a14e4da1
backport of commit 1e9ccc3ed89adcdfaf4282d432782c03e0e5c615 (#18261)
Co-authored-by: János Szathmáry <29057504+janory@users.noreply.github.com>
2023-08-18 17:44:54 -04:00
hc-github-team-nomad-core d5e3b7c262
backport of commit 6eec37f0717cf62b4fc36ec89e53a7f348f2bddc (#18231)
This pull request was automerged via backport-assistant
2023-08-16 17:13:01 -05:00
hc-github-team-nomad-core 50e0282aca
backport of commit 8a8c4cd45cb471e5a4ce1b301b55571a8594d994 (#18227)
This pull request was automerged via backport-assistant
2023-08-16 16:25:12 -05:00
hc-github-team-nomad-core dafef5b777
Backport of docs: expand documentation on node pools into release/1.6.x (#18222)
This pull request was automerged via backport-assistant
2023-08-16 10:22:41 -05:00
Shantanu Gadgil 04a3628cc4 docs: ampersand and bash backgrounding problem (#18175)
the `&` symbol messes up the command when copy pasting into a shell
2023-08-14 15:13:19 -04:00
Esteban Barrios 9f19d7c373 config: add configurable content security policy (#18085) 2023-08-14 14:25:21 -04:00
hc-github-team-nomad-core 8bf5067f86
backport of commit 7bfd268c8ca9caa1c07a2ad4cf197f8b3f97dca1 (#18177)
This pull request was automerged via backport-assistant
2023-08-08 07:34:11 -05:00
hc-github-team-nomad-core f812bccb4e
Backport of Tuning job versions retention. #17635 into release/1.6.x (#18169)
This pull request was automerged via backport-assistant
2023-08-07 13:48:09 -05:00
hc-github-team-nomad-core e959895ee7
backport of commit 53c53f1a47e872f7c25673a40c76818dcf9ef0c7 (#18145)
This pull request was automerged via backport-assistant
2023-08-03 15:06:24 -05:00