open-nomad/nomad/structs/config
Seth Hoenig 165791dd89
artifact: protect against unbounded artifact decompression (1.5.0) (#16151)
* artifact: protect against unbounded artifact decompression

Starting with 1.5.0, set defaut values for artifact decompression limits.

artifact.decompression_size_limit (default "100GB") - the maximum amount of
data that will be decompressed before triggering an error and cancelling
the operation

artifact.decompression_file_count_limit (default 4096) - the maximum number
of files that will be decompressed before triggering an error and
cancelling the operation.

* artifact: assert limits cannot be nil in validation
2023-02-14 09:28:39 -06:00
..
artifact.go artifact: protect against unbounded artifact decompression (1.5.0) (#16151) 2023-02-14 09:28:39 -06:00
artifact_test.go artifact: protect against unbounded artifact decompression (1.5.0) (#16151) 2023-02-14 09:28:39 -06:00
audit.go
audit_test.go
autopilot.go
autopilot_test.go
consul.go consul: add client configuration for grpc_ca_file (#15701) 2023-01-11 09:34:28 -06:00
consul_test.go consul: add client configuration for grpc_ca_file (#15701) 2023-01-11 09:34:28 -06:00
limits.go
limits_test.go
plugins.go
plugins_test.go
README.md
sentinel.go
tls.go
tls_test.go
ui.go Label for the Web UI (#16006) 2023-02-02 16:29:04 -05:00
ui_test.go Label for the Web UI (#16006) 2023-02-02 16:29:04 -05:00
vault.go
vault_test.go

Overview

nomad/structs/config is a package for configuration structs that are shared among packages that needs the same struct definitions, but can't import each other without creating a cyle. This config package must be terminal in the import graph (or very close to terminal in the dependency graph).