open-nomad/jobspec/test-fixtures
Luiz Aoqui ab7eb5de6e
Support Vault entity aliases (#12449)
Move some common Vault API data struct decoding out of the Vault client
so it can be reused in other situations.

Make Vault job validation its own function so it's easier to expand it.

Rename the `Job.VaultPolicies` method to just `Job.Vault` since it
returns the full Vault block, not just their policies.

Set `ChangeMode` on `Vault.Canonicalize`.

Add some missing tests.

Allows specifying an entity alias that will be used by Nomad when
deriving the task Vault token.

An entity alias assigns an indentity to a token, allowing better control
and management of Vault clients since all tokens with the same indentity
alias will now be considered the same client. This helps track Nomad
activity in Vault's audit logs and better control over Vault billing.

Add support for a new Nomad server configuration to define a default
entity alias to be used when deriving Vault tokens. This default value
will be used if the task doesn't have an entity alias defined.
2022-04-05 14:18:10 -04:00
..
artifacts.hcl
bad-artifact.hcl
bad-ports.hcl run "make hclfmt" 2020-02-03 12:15:53 -05:00
basic.hcl Support Vault entity aliases (#12449) 2022-04-05 14:18:10 -04:00
basic_wrong_key.hcl run "make hclfmt" 2020-02-03 12:15:53 -05:00
consul-namespace.hcl Parse job > group > consul block in HCL1 (#11423) 2021-11-03 13:49:32 -04:00
csi-plugin.hcl CSI Plugin Registration (#6555) 2020-03-23 13:58:28 -04:00
default-job.hcl
distinctHosts-constraint.hcl
distinctProperty-constraint.hcl
incorrect-service-def.hcl run "make hclfmt" 2020-02-03 12:15:53 -05:00
job-with-kill-signal.hcl
migrate-job.hcl
multi-network.hcl
multi-resource.hcl
multi-vault.hcl
multiregion.hcl multiregion: change AutoRevert to OnFailure 2020-06-17 11:05:45 -04:00
overlapping-ports.hcl run "make hclfmt" 2020-02-03 12:15:53 -05:00
parameterized_job.hcl
periodic-cron.hcl
regexp-constraint.hcl
reschedule-job-unlimited.hcl
reschedule-job.hcl
resources-cores.hcl hcl: add new cores resources field 2021-07-26 11:45:10 -04:00
service-check-bad-header-2.hcl
service-check-bad-header.hcl
service-check-driver-address.hcl
service-check-initial-status.hcl
service-check-pass-fail.hcl consul: grrrrr hclfmt test resource file 2020-08-10 14:08:09 -05:00
service-check-restart.hcl
service-enable-tag-override.hcl Update consul-template to v0.24.1 and remove deprecated vault_grace (#7170) 2020-02-23 16:24:53 +01:00
service-meta.hcl
service-provider.hcl hcl1: add service block provider parameter. 2022-03-14 10:00:53 +01:00
set-contains-constraint.hcl
specify-job.hcl
task-nested-config.hcl
task-scaling-policy-invalid-resource.hcl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
task-scaling-policy-invalid-type.hcl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
task-scaling-policy-missing-name.hcl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
task-scaling-policy-multi-cpu.hcl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
task-scaling-policy-multi-name.hcl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
task-scaling-policy.hcl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
tg-network-with-hostname.hcl allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
tg-network.hcl hclv1: parse service upstreams 2021-07-22 16:06:48 -04:00
tg-scaling-policy-invalid-type.hcl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
tg-scaling-policy-minimal.hcl better testing of scaling parsing, fixed some broken tests by api 2020-07-04 19:32:37 +00:00
tg-scaling-policy-missing-max.hcl better testing of scaling parsing, fixed some broken tests by api 2020-07-04 19:32:37 +00:00
tg-scaling-policy-multi-policy.hcl ci: add a linting check for HCL files (#7791) 2020-04-23 14:32:44 -04:00
tg-scaling-policy-with-label.hcl added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
tg-scaling-policy.hcl hclv2 tests: test complex config configuration 2020-10-26 16:20:41 -04:00
tg-service-check-expose.hcl hclfmt test fixtures (#7584) 2020-04-01 10:48:28 -04:00
tg-service-check.hcl parse service check body 2021-07-22 16:06:48 -04:00
tg-service-connect-gateway-ingress.hcl consul/connect: remove envoy dns option from gateway proxy config 2020-08-24 09:11:55 -05:00
tg-service-connect-gateway-mesh.hcl support gateway mesh 2021-07-22 17:10:59 -04:00
tg-service-connect-gateway-terminating.hcl add a test for envoy_dns_discovery_type 2021-07-22 16:06:48 -04:00
tg-service-connect-local-service.hcl ci: add a linting check for HCL files (#7791) 2020-04-23 14:32:44 -04:00
tg-service-connect-native.hcl consul/connect: split connect native flag and task in service 2020-06-23 10:22:22 -05:00
tg-service-connect-proxy.hcl ci: add a linting check for HCL files (#7791) 2020-04-23 14:32:44 -04:00
tg-service-connect-resources.hcl connect: fix bug where sidecar_task.resources was ignored with hcl1 2022-01-25 10:17:54 -06:00
tg-service-connect-sidecar_disablecheck.hcl Support disabling TCP checks for connect sidecar services 2021-05-07 12:10:26 -04:00
tg-service-connect-sidecar_task-name.hcl hclv1: tweak HCLv1 tests 2020-10-21 14:05:46 -04:00
tg-service-enable-tag-override.hcl Update consul-template to v0.24.1 and remove deprecated vault_grace (#7170) 2020-02-23 16:24:53 +01:00
tg-service-proxy-expose.hcl hclv1: tweak HCLv1 tests 2020-10-21 14:05:46 -04:00
vault_inheritance.hcl
version-constraint.hcl