open-nomad/api
Tim Gross 276633673d CSI: use AccessMode/AttachmentMode from CSIVolumeClaim
Registration of Nomad volumes previously allowed for a single volume
capability (access mode + attachment mode pair). The recent `volume create`
command requires that we pass a list of requested capabilities, but the
existing workflow for claiming volumes and attaching them on the client
assumed that the volume's single capability was correct and unchanging.

Add `AccessMode` and `AttachmentMode` to `CSIVolumeClaim`, use these fields to
set the initial claim value, and add backwards compatibility logic to handle
the existing volumes that already have claims without these fields.
2021-04-07 11:24:09 -04:00
..
contexts api: added scaling_policy context to global search 2021-02-03 21:28:32 +00:00
internal/testutil Fixup uses of sanity (#10187) 2021-03-16 18:05:08 -04:00
acl.go HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
acl_test.go HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
agent.go
agent_test.go
allocations.go oversubscription: adds CLI and API support 2021-03-30 16:55:58 -04:00
allocations_test.go api: add Allocation client and server terminal status funcs. 2021-03-25 08:52:59 +01:00
api.go sdk: header map copy to avoid race condition in #10301 2021-04-06 18:06:27 +00:00
api_test.go documenting test for #10301 2021-04-06 17:31:29 +00:00
compose_test.go
constraint.go Tag Job spec with HCLv2 tags 2020-10-21 14:05:46 -04:00
constraint_test.go
consul.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
consul_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
csi.go chore: bump golangci-lint from v1.24 to v1.39 2021-04-03 09:50:23 +02:00
csi_test.go
deployments.go
evaluations.go
evaluations_test.go
event_stream.go API: Event stream use full name instead of Eval/Alloc (#9509) 2020-12-03 11:48:18 -05:00
event_stream_test.go restored Node.Sanitize() for RPC endpoints 2021-03-26 17:03:15 +00:00
fs.go
fs_test.go
go.mod Api/event stream payload values (#9277) 2020-11-05 13:04:18 -05:00
go.sum command: remove use of flag impls from consul 2020-12-11 07:58:20 -06:00
ioutil.go
ioutil_test.go
jobs.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
jobs_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
namespace.go
namespace_test.go
nodes.go chore: bump golangci-lint from v1.24 to v1.39 2021-04-03 09:50:23 +02:00
nodes_test.go restored Node.Sanitize() for RPC endpoints 2021-03-26 17:03:15 +00:00
operator.go allow setting stale flag from cli to retrieve individual server license (#10300) 2021-04-05 15:35:14 -04:00
operator_autopilot.go
operator_metrics.go
operator_metrics_test.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
operator_test.go
quota.go
quota_test.go
raw.go
recommendations.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
regions.go
regions_test.go
resources.go oversubscription: adds CLI and API support 2021-03-30 16:55:58 -04:00
resources_test.go api: add Resource.Canonicalize test and fix tests to handle ReservedCores field 2021-03-19 22:08:27 -04:00
scaling.go chore: bump golangci-lint from v1.24 to v1.39 2021-04-03 09:50:23 +02:00
scaling_test.go
search.go
search_test.go
sentinel.go
sentinel_test.go
services.go consul/connect: enable setting local_bind_address in upstream 2021-02-26 11:37:31 +00:00
services_test.go consul/connect: enable setting local_bind_address in upstream 2021-02-26 11:37:31 +00:00
status.go
status_test.go
system.go
system_test.go
tasks.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
tasks_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
util_test.go appease the linter and fix an incorrect test 2021-01-08 19:38:25 +00:00
utils.go
utils_test.go