open-nomad/jobspec/test-fixtures
James Rasell 0e926ef3fd
allow configuration of Docker hostnames in bridge mode (#11173)
Add a new hostname string parameter to the network block which
allows operators to specify the hostname of the network namespace.
Changing this causes a destructive update to the allocation and it
is omitted if empty from API responses. This parameter also supports
interpolation.

In order to have a hostname passed as a configuration param when
creating an allocation network, the CreateNetwork func of the
DriverNetworkManager interface needs to be updated. In order to
minimize the disruption of future changes, rather than add another
string func arg, the function now accepts a request struct along with
the allocID param. The struct has the hostname as a field.

The in-tree implementations of DriverNetworkManager.CreateNetwork
have been modified to account for the function signature change.
In updating for the change, the enhancement of adding hostnames to
network namespaces has also been added to the Docker driver, whilst
the default Linux manager does not current implement it.
2021-09-16 08:13:09 +02:00
..
artifacts.hcl chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
bad-artifact.hcl chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
bad-ports.hcl run "make hclfmt" 2020-02-03 12:15:53 -05:00
basic.hcl test parsing more service fields 2021-07-22 16:06:26 -04:00
basic_wrong_key.hcl run "make hclfmt" 2020-02-03 12:15:53 -05:00
csi-plugin.hcl CSI Plugin Registration (#6555) 2020-03-23 13:58:28 -04:00
default-job.hcl jobspec: defaults 2015-09-14 18:34:26 -07:00
distinctHosts-constraint.hcl chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
distinctProperty-constraint.hcl chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
incorrect-service-def.hcl run "make hclfmt" 2020-02-03 12:15:53 -05:00
job-with-kill-signal.hcl chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
migrate-job.hcl chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
multi-network.hcl chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
multi-resource.hcl chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
multi-vault.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
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 chore: initial hclfmt 2019-10-11 14:00:05 +02:00
periodic-cron.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
regexp-constraint.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
reschedule-job-unlimited.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
reschedule-job.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
resources-cores.hcl hcl: add new cores resources field 2021-07-26 11:45:10 -04:00
service-check-bad-header-2.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
service-check-bad-header.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
service-check-driver-address.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
service-check-initial-status.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
service-check-pass-fail.hcl consul: grrrrr hclfmt test resource file 2020-08-10 14:08:09 -05:00
service-check-restart.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
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 chore: initial hclfmt 2019-10-11 14:00:05 +02:00
set-contains-constraint.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
specify-job.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00
task-nested-config.hcl Implement configuration validation for all task drivers 2016-04-10 00:42:57 +02:00
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-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 chore: initial hclfmt 2019-10-11 14:00:05 +02:00
version-constraint.hcl chore: initial hclfmt 2019-10-11 14:00:05 +02:00