Commit graph

366 commits

Author SHA1 Message Date
Theron Voran
0550623c21
Fix server-headless-service annotations (#236)
`Values.server.service.annotations` are now being treated as multi-line
strings, to match the other annotations in the chart, and to support
templating within the annotations.
2020-03-20 10:54:32 -07:00
Theron Voran
04df47159d
Update CHANGELOG.md 2020-03-20 08:39:56 -07:00
Theron Voran
2a37c571d7
Making all annotations multi-line strings (#227)
Annotations for various objects were either multi-line strings or yaml
maps strings, so this is making them all multi-line strings for
consistency. Also updated the doc comment for namespaceSelector, since
it's being read as a yaml map (toYaml).
2020-03-20 08:37:40 -07:00
Theron Voran
127b95d6f9
changelog++ 2020-03-19 22:45:58 -07:00
Theron Voran
1a8d9de511
Injector scheduler options (#234)
Adds affinity, tolerations, and nodeSelector options for the
injector deployment that are separate from those options on the vault
server statefulset.

Co-authored-by: Sergei Shishov <sergei.shishov@dubizzle.com>
2020-03-19 22:43:52 -07:00
Theron Voran
aeaeaa02fb
changelog++ 2020-03-18 21:32:45 -07:00
Theron Voran
fa13c47858
Add injector.extraEnvironmentVars (#232)
Allows user-specified environment variables to be set in the injector
deployment.
2020-03-18 21:30:22 -07:00
Jason O'Donnell
9e0030d70a
changelog++ 2020-03-18 15:50:53 -04:00
Jason O'Donnell
58b96dbc10
Add Raft HA support (#229)
* Add raft support

* Add acceptance test

* Update templates/server-headless-service.yaml

Co-Authored-By: Theron Voran <tvoran@users.noreply.github.com>

* Add notes to raft configurables

Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
2020-03-18 15:49:14 -04:00
Jason O'Donnell
d0f89fced8
Change revoke from bool to string (#221) 2020-03-06 16:59:59 -05:00
Jason O'Donnell
b8fc51b2be
changelog++ 2020-03-06 15:10:41 -05:00
Jason O'Donnell
9d1693ad13
Add new vault-k8s environment variables (#219)
* Add new vault-k8s envs

* update vault image

* Add default tests for envs

* Add note about supported log parameters

* Fix typo in test name
2020-03-06 15:03:58 -05:00
Theron Voran
9d92922c9d
changelog++ 2020-03-03 10:37:47 -08:00
Bruno FERNANDO
1ccc64788a
feat: add AGENT_INJECT_VAULT_AUTH_PATH option to the injector (#185)
* Add related unit tests
2020-03-03 10:32:50 -08:00
Jason O'Donnell
8a6419e623
Update to 0.4.0 (#211) 2020-02-21 14:56:30 -05:00
Theron Voran
2b0d91d614
Fix the injector deployment unit test (#212)
Set namespace manually, so the test service will have a known
namespace.
2020-02-21 11:39:41 -08:00
Theron Voran
088331f246
changelog++
missed a couple brackets
2020-02-21 08:25:17 -08:00
Theron Voran
71fad856a1
changelog++
Also added links
2020-02-21 08:23:57 -08:00
Theron Voran
2b2b0dd2fa
Added support for external vault (#207)
Uses Values.injector.externalVaultAddr to control the vault address
env variable and server yaml rendering.

If injector.externalVaultAddr is empty, both the injector and vault
are deployed, with the injector using the local vault. If
injector.externalVaultAddr is not empty, only the injector is
deployed, and it uses the vault at the address specified in
injector.externalVaultAddr.
2020-02-21 08:16:33 -08:00
Theron Voran
872ae7a48f
changelog++ 2020-02-06 08:46:09 -08:00
Theron Voran
77b973c17f
Helm 3 support (#195)
Update chart and tests to Helm 3

Co-authored-by: Matt Piekunka <mpiekunk@users.noreply.github.com>
Co-authored-by: Mike Brancato <mbrancato@users.noreply.github.com>
2020-02-06 08:44:38 -08:00
Theron Voran
1f94e221c3
changelog++ 2020-01-30 09:49:29 -08:00
Theron Voran
45c9118782
Adding sleep in the preStop lifecycle step (#188)
Aims to make vault pod termination more graceful with respect to user
requests.
2020-01-30 09:39:08 -08:00
Jason O'Donnell
7a6e8c3648
changelog++ 2020-01-18 07:38:00 -05:00
Yong Wen Chua
eccd71bfe2 Allow configure StatefulSet updateStrategy (#172) 2020-01-18 07:36:45 -05:00
Jason O'Donnell
0099ea8a94
changelog++ 2020-01-15 10:16:28 -05:00
fischerman
4209cbcc2d make shareProcessNamespace configurable (#174)
* make shareProcessNamespace configurable

* add unit tests
2020-01-15 05:06:54 -05:00
fischerman
1f68852dc2 add lifecycle to vault instead of extra container (#179) 2020-01-15 05:03:20 -05:00
Jason O'Donnell
80027d3bda
Update to v0.3.3 (#178)
* Update to v0.3.3

* Reorder changelog
2020-01-14 14:14:27 -05:00
Jason O'Donnell
b8978603db
changelog++ 2020-01-14 10:18:08 -05:00
Jason O'Donnell
e8e804d873
changelog++ 2020-01-14 10:12:40 -05:00
Jason O'Donnell
ac2925d250
Add extraArgs configurable (#176) 2020-01-14 10:09:20 -05:00
Ryan Eschinger
4ee82fd984 fix injector env var names for manual tls config (#171)
AGENT_INJECT_CERT_FILE -> AGENT_INJECT_TLS_CERT_FILE
AGENT_INJECT_KEY_FILE -> AGENT_INJECT_TLS_KEY_FILE

see
611492d04b/subcommand/injector/flags.go (L56)

fixes #170
2020-01-13 12:49:13 -05:00
Jason O'Donnell
551f292b6f
Update to 0.3.2 (#166) 2020-01-08 10:05:06 -05:00
Jason O'Donnell
98e7e0a7c9
Update to 0.3.1 (#162) 2020-01-02 12:18:22 -05:00
Jason O'Donnell
3e91343f6d
Update CONTRIBUTING.md 2019-12-20 09:30:58 -05:00
Jason O'Donnell
7d8ae7df46
Update to 0.3.0 (#154) 2019-12-19 11:49:50 -05:00
Jason O'Donnell
16bb8999ae
changelog++ 2019-12-19 10:58:28 -05:00
Jason O'Donnell
82083061a0
Add vault agent injector (#150)
* Add vault agent injector

* Fix bug with agent image env

* Fix terraform GKE code

* Cleanup label

* Improve test reliablity

* Lower sleep times in tests

* Standardize image values

* Update values

* Update vault tag
2019-12-19 10:57:51 -05:00
Jason O'Donnell
268c2418d3
Add configurable nodeport (#152) 2019-12-18 12:22:19 -05:00
Jason O'Donnell
36d6c283e4
Update CHANGELOG.md 2019-12-16 18:09:05 -05:00
Darren Clark
ba6cfe675e Statefulset Liveness Probe failing on standby nodes due to SSL, initial delay and 429 response #137 (#138)
livenessProbe

 * Set the scheme for vault.scheme to ensure that the check works if tls enabled or not

 * Allow a configurable value initialDelaySeconds rather than the set 5 seconds

 * Set the default initialDelaySeconds to 60 seconds before the probe starts to allow for vault unsealing

 * Set the path to /v1/sys/health?standbyok=true to ensure a 200 response on standbys

readinessProbe

 * Set the path comment to /v1/sys/health?standbyok=true to ensure a 200 response on standbys

 * Set the scheme for vault.scheme to ensure that the check works if tls enabled or not

 * Statefulset liveness probe path check set to /v1/sys/health?standbyok=true

 * Server Statefulset test added for livenessProbe.initialDelaySeconds
2019-12-16 18:07:23 -05:00
Michael Golowka OR 1=1); DROP TABLE users; --
35f198f35f
Update CHANGELOG.md 2019-12-11 14:07:44 -07:00
Michael Golowka OR 1=1); DROP TABLE users; --
c390b3f6df Fix typo: serviceaccount -> serviceAccount (#147)
* Fix typo: serviceaccount -> serviceAccount

* Fix typo in test
2019-12-11 16:04:57 -05:00
Jason O'Donnell
e1ecb0d8ad
Update CHANGELOG.md 2019-12-09 16:52:23 -05:00
Daniel Mittelman
4a743f655e Promote Docker image version to 1.3.0 (#136) 2019-12-06 09:38:49 -05:00
Jason O'Donnell
37e92331b9
Add publishNotReadyAddresses to UI service (#131) 2019-12-03 14:55:33 -05:00
Jason O'Donnell
938c874e77
Update CHANGELOG.md 2019-12-02 17:22:15 -05:00
Jason O'Donnell
1c9c64c8f8
Remove chart from labels (#128) 2019-12-02 17:14:59 -05:00
Jason O'Donnell
8eac1ed98e
Update CHANGELOG.md 2019-11-28 19:09:42 -05:00