open-nomad/nomad/structs
Tim Gross 2dafe46fe3
CSI: allow updates to volumes on re-registration (#12167)
CSI `CreateVolume` RPC is idempotent given that the topology,
capabilities, and parameters are unchanged. CSI volumes have many
user-defined fields that are immutable once set, and many fields that
are not user-settable.

Update the `Register` RPC so that updating a volume via the API merges
onto any existing volume without touching Nomad-controlled fields,
while validating it with the same strict requirements expected for
idempotent `CreateVolume` RPCs.

Also, clarify that this state store method is used for everything, not just
for the `Register` RPC.
2022-03-07 11:06:59 -05:00
..
config add go-sockaddr templating support to nomad consul address (#12084) 2022-02-24 09:34:54 -05:00
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
connect.go e2e: consul namespace tests from nomad ent 2021-04-19 15:35:31 -06:00
connect_test.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
consul.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
consul_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
consul_oss_test.go gofmt all the files 2021-10-01 10:14:28 -04:00
consul_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
csi.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00
csi_test.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00
devices.go
devices_test.go
diff.go Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
diff_test.go Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
encoding.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
errors.go CSI: minor refactoring (#12105) 2022-02-23 11:13:51 -05:00
errors_test.go
event.go docs: fix typo in structs/event.go 2021-08-21 17:02:07 +05:30
extensions.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
funcs.go scheduler: detect and log unexpected scheduling collisions (#11793) 2022-01-14 20:09:14 -05:00
funcs_test.go agent: validate reserved_ports are valid 2022-01-12 14:21:47 -08:00
generate.sh When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00
handlers.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
network.go scheduler: detect and log unexpected scheduling collisions (#11793) 2022-01-14 20:09:14 -05:00
network_test.go scheduler: detect and log unexpected scheduling collisions (#11793) 2022-01-14 20:09:14 -05:00
node.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00
node_class.go use allow/deny instead of the colored alternatives (#9019) 2020-10-12 08:47:05 -04:00
node_class_test.go
node_test.go
operator.go scheduler: config option to reject job registration (#11610) 2021-12-06 15:20:34 -05:00
search.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
service_identities.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
services.go improve error message on service length (#12012) 2022-02-04 19:39:34 -05:00
services_test.go connect: update allowed protocols in ingress gateway config (#11187) 2021-09-16 10:47:53 -04:00
streaming_rpc.go Fix some errcheck errors (#9811) 2021-01-14 12:46:35 -08:00
structs.go api: paginated results with different ordering (#12128) 2022-03-01 15:36:49 -05:00
structs_codegen.go
structs_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
structs_periodic_test.go tests for periodic job scheduling and DST 2020-05-07 17:36:59 -04:00
structs_test.go scheduler: detect and log unexpected scheduling collisions (#11793) 2022-01-14 20:09:14 -05:00
testing.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
volumes.go csi: validate volume block has attachment_mode and access_mode 2021-06-03 16:07:19 -04:00