Commit Graph

21781 Commits

Author SHA1 Message Date
Charlie Voiselle
9065bdb83f Clarify that reservation example
The current wording can lead someone to believe that you can use percentage values.
2021-09-22 18:30:39 -04:00
Luiz Aoqui
2904a0710a Disable PowerShell profile and simplify fingerprinting link speed on Windows (#11183) 2021-09-22 11:17:47 -04:00
Michael Schurter
1301649b9b Merge pull request #11215 from hashicorp/b-license-env-deny
client: add NOMAD_LICENSE to default env deny list
2021-09-21 16:53:26 -07:00
Luiz Aoqui
4eb902d890 docs: add some extra documentation around client host environment variables (#11208)
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2021-09-21 17:23:30 -04:00
Michael Schurter
33c91fd734 client: add NOMAD_LICENSE to default env deny list
By default we should not expose the NOMAD_LICENSE environment variable
to tasks.

Also refactor where the DefaultEnvDenyList lives so we don't have to
maintain 2 copies of it. Since client/config is the most obvious
location, keep a reference there to its unfortunate home buried deep
in command/agent/host. Since the agent uses this list as well for the
/agent/host endpoint the list must be accessible from both command/agent
and client.
2021-09-21 13:51:17 -07:00
Michael Schurter
2c607fc9fa Merge pull request #11214 from hashicorp/docs-1.1.5-changelog
Update changelog for v1.1.5 and v1.0.11
2021-09-21 09:59:41 -07:00
Michael Schurter
89d4885a7b Update changelog for v1.1.5 and v1.0.11 2021-09-21 09:09:40 -07:00
Michael Schurter
a3d30748df Merge pull request #11210 from hashicorp/docs-1.1.5
website: update to 1.1.5
2021-09-21 08:59:58 -07:00
Michael Schurter
79c04b816f website: update to 1.1.5
Also update LAST_RELEASE in makefile to 1.1.5
2021-09-20 16:50:37 -07:00
Michael Schurter
d7f9180a49 Merge pull request #11206 from hashicorp/b-gh-11202
client: task env vars should take precedence over host env vars.
2021-09-20 11:22:58 -07:00
James Rasell
81faab7ceb changelog: add entry for #11206 2021-09-20 18:05:42 +01:00
James Rasell
fdc96d9010 client: task env vars should take precendece over host env vars. 2021-09-20 09:15:28 +01:00
Florian Apolloner
f6c1e1dc3c Fixed usage of NOMAD_CLI_NO_COLOR env variable. (#11168) 2021-09-17 20:37:05 -04:00
Michael Schurter
33a6bbcf1d Merge pull request #11198 from hashicorp/f-no-audit-log-timestamp
docs: add upgrade guide entry for audit log naming
2021-09-17 11:57:46 -07:00
James Rasell
017c51f9df Merge pull request #11194 from hashicorp/b-fix-e2e-acl-tls-provision
e2e: fix provisioning when ACLs and TLS enabled.
2021-09-17 08:11:10 +02:00
Michael Schurter
7c73e59d88 docs: add changelog entry for audit log naming 2021-09-16 16:21:57 -07:00
Michael Schurter
5e17917738 docs: add upgrade guide entry for audit log naming 2021-09-16 16:19:52 -07:00
James Rasell
5e25277183 e2e: fix provisioning when ACLs and TLS enabled; no nightly TLS. 2021-09-16 17:15:41 +02:00
Luiz Aoqui
b4e222f6cc Log network device name during fingerprinting (#11184) 2021-09-16 10:48:31 -04:00
Luiz Aoqui
fe3112a129 connect: update allowed protocols in ingress gateway config (#11187) 2021-09-16 10:47:53 -04:00
James Rasell
001579a598 Merge pull request #11189 from hashicorp/f-gh-11173-docs
docs: add changelog and website entry for #11173
2021-09-16 08:13:29 +02:00
James Rasell
e34fa583f9 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
James Rasell
817cd015e1 changelog: add entry for #11173. 2021-09-15 11:44:10 +02:00
James Rasell
e422dee22e docs: add network.hostname job specification website entry. 2021-09-15 11:43:47 +02:00
Luiz Aoqui
b7d2da3a9e deps: update go-memdb to 1.3.2 (#11185) 2021-09-14 20:26:45 -04:00
Michael Schurter
24b27703c3 Merge pull request #11111 from hashicorp/b-system-no-match
scheduler: warn when system jobs cannot place an alloc
2021-09-13 16:06:04 -07:00
Michael Schurter
2a142daa08 docs: focus changelog entry for #11111 on the ux
While I don't think this fully encompasses the changes, other bits
like marking sysbatch as dead immediately are new so haven't changed
from a previous release.
2021-09-10 16:45:43 -07:00
Michael Schurter
334a4913c8 scheduler: deep copy AllocMetric
Defensively deep copy AllocMetric to avoid side effects from shared map
references.
2021-09-10 16:41:31 -07:00
Luiz Aoqui
b2b9013e52 dependabot: set proper theme/* labels (#11154) 2021-09-10 09:41:05 -04:00
Joel Watson
d87324d68a Merge pull request #11145 from hashicorp/watsonian/gpu-update
docs: Update Nvidia GPU installation instructions
2021-09-09 10:19:18 -05:00
James Rasell
508c259207 Merge pull request #11105 from hashicorp/f-add-staticcheck-ci
ci: add staticcheck with ST1020 and update golangci-lint
2021-09-09 09:42:12 +02:00
James Rasell
f8c656bd14 Merge pull request #11143 from hashicorp/b-gh-11026
deps: update go-plugin to v1.4.3 to fix Windows handle leak.
2021-09-09 09:39:22 +02:00
dependabot[bot]
573ebd5cf4 build(deps): bump postcss from 7.0.35 to 7.0.36 in /ui (#10771)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:44:11 -04:00
dependabot[bot]
8bbae4e622 build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /ui (#10737)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:43:23 -04:00
dependabot[bot]
fd2a429055 build(deps): bump ws from 7.4.3 to 7.4.6 in /ui (#10669)
Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:40:31 -04:00
dependabot[bot]
5676ab2504 build(deps): bump ssri from 6.0.1 to 6.0.2 in /ui (#10398)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:39:12 -04:00
dependabot[bot]
d0084ff299 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /ui (#11028)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 18:01:59 -04:00
dependabot[bot]
4eb3ca8948 build(deps): bump url-parse from 1.5.1 to 1.5.3 in /ui (#11030)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 17:59:45 -04:00
Andy Assareh
30fe5b6b06 typo - capability (#11152) 2021-09-08 14:34:02 -07:00
Luiz Aoqui
e76557289a cli: include all possible scores in alloc status metric table (#11128) 2021-09-08 17:30:11 -04:00
Joel Watson
c233863fd1 docs: Update Nvidia GPU installation instructions 2021-09-07 15:26:32 -05:00
Luiz Aoqui
cf7675a376 ui: set the job namespace when redirecting after the job is dispatched (#11141) 2021-09-07 12:27:33 -04:00
James Rasell
5d12365678 changelog: add entry for #11143. 2021-09-07 09:51:17 +02:00
James Rasell
d71e4640d1 deps: update go-plugin to v1.4.3 to fix Windows handle leak. 2021-09-07 09:27:00 +02:00
James Rasell
e26f1c4591 lint: mark false positive or fix gocritic append lint errors. 2021-09-06 10:49:44 +02:00
Forest Anderson
d891a716a8 Change dashboard port to http (#11129) 2021-09-03 20:34:40 -04:00
Andy Assareh
e74d2d991b suggest changing port number to nomad default (#11140)
i found this confusing since 8300 is associated with consul. suggest using more nomad ports
2021-09-03 20:15:32 -04:00
Kent 'picat' Gruber
53bf28f7fc Merge pull request #10968 from hashicorp/configured-dependabot
Add initial Dependabot configuration
2021-09-03 13:20:58 -04:00
Luiz Aoqui
a2274de261 e2e: use absolute path for mTLS env vars (#11126) 2021-09-03 12:59:21 -04:00
Kent 'picat' Gruber
0d96ac3748 Add configuration for /api using Go modules 2021-09-03 08:43:05 -04:00