open-nomad/api
Luiz Aoqui e3d78c343c
template: set default UID/GID to -1 (#13998)
UID/GID 0 is usually reserved for the root user/group. While Nomad
clients are expected to run as root it may not always be the case.

Setting these values as -1 if not defined will fallback to the pervious
behaviour of not attempting to set file ownership and use whatever
UID/GID the Nomad agent is running as. It will also keep backwards
compatibility, which is specially important for platforms where this
feature is not supported, like Windows.
2022-08-04 11:26:08 -04:00
..
contexts Implement HTTP search API for Variables (#13257) 2022-07-11 13:34:05 -04:00
internal/testutil Fix Testutil for delve debugging API tests (#13589) 2022-07-06 10:47:48 -04:00
acl.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
acl_test.go Allow Operator Generated bootstrap token (#12520) 2022-06-03 07:37:24 -04:00
agent.go Make number of scheduler workers reloadable (#11593) 2022-01-06 11:56:13 -05:00
agent_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
allocations.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
allocations_exec.go cleanup: prevent leaks from time.After 2022-02-02 14:32:26 -06:00
allocations_test.go Merge branch 'main' into f-1.3-boogie-nights 2022-03-23 09:41:25 +01:00
api.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
api_test.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
compose_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
constraint.go Tag Job spec with HCLv2 tags 2020-10-21 14:05:46 -04:00
constraint_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
consul.go adding support for customized ingress tls (#13184) 2022-06-02 18:43:58 -04:00
consul_test.go adding support for customized ingress tls (#13184) 2022-06-02 18:43:58 -04:00
csi.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
csi_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
deployments.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
evaluations.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
evaluations_test.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
event_stream.go events: add API helpers for service events stream topics. 2022-04-05 08:26:02 +01:00
event_stream_test.go events: add API helpers for service events stream topics. 2022-04-05 08:26:02 +01:00
fs.go Ensure to close StreamFrame channel (#12248) 2022-03-28 10:28:23 -04:00
fs_test.go raw_exec: fixup review comments 2022-04-05 15:21:28 -05:00
go.mod chore(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 in /api (#12725) 2022-07-13 11:57:16 -07:00
go.sum chore(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 in /api (#12725) 2022-07-13 11:57:16 -07:00
ioutil.go Add api/ package function to save snapshot 2020-05-21 20:04:38 -04:00
ioutil_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
jobs.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
jobs_test.go template: set default UID/GID to -1 (#13998) 2022-08-04 11:26:08 -04:00
keyring.go keyring: use nanos for `CreateTime` in key metadata (#13849) 2022-07-20 14:46:57 -04:00
keyring_test.go core job for secure variables re-key (#13440) 2022-07-11 13:34:06 -04:00
namespace.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
namespace_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
nodes.go Add os to NodeListStub struct. (#12497) 2022-04-15 17:22:45 -07:00
nodes_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
operator.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_autopilot.go implement MinQuorum 2020-02-16 16:04:59 -06:00
operator_ent_test.go api: fix ENT-only test imports for moved testutil package (#12320) 2022-03-18 10:12:28 -04:00
operator_metrics.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
operator_metrics_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
operator_test.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
quota.go secure vars: enforce ENT quotas (OSS work) (#13951) 2022-08-02 09:32:09 -04:00
quota_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
raw.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
recommendations.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
regions.go cli: ensure `-stale` flag is respected by `nomad operator debug` (#11678) 2021-12-15 10:44:03 -05:00
regions_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
resources.go allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
resources_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
scaling.go chore: bump golangci-lint from v1.24 to v1.39 2021-04-03 09:50:23 +02:00
scaling_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
search.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
search_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
secure_variables.go SV: GO API: Secure Variables Go API (#13502) 2022-07-11 13:34:06 -04:00
secure_variables_test.go SV: GO API: Secure Variables Go API (#13502) 2022-07-11 13:34:06 -04:00
sentinel.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
sentinel_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
services.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
services_test.go docs: add docs and tests for tagged_addresses 2022-05-31 13:02:48 -05:00
status.go display server leaders per region 2016-03-17 16:04:09 -07:00
status_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
system.go Add missing ReconcileSummaries API method 2017-08-24 11:55:10 +02:00
system_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00
tasks.go template: set default UID/GID to -1 (#13998) 2022-08-04 11:26:08 -04:00
tasks_test.go vault: revert support for entity aliases (#12723) 2022-04-22 10:46:34 -04:00
util_test.go appease the linter and fix an incorrect test 2021-01-08 19:38:25 +00:00
utils.go more testing for ScalingPolicy, mainly around parsing and canonicalization for Min/Max 2020-03-24 19:43:50 +00:00
utils_test.go ci: use serial testing for api in CI 2022-03-17 08:35:01 -05:00