Skip to content

Commit

Permalink
update vault
Browse files Browse the repository at this point in the history
  • Loading branch information
Constantin07 committed Aug 29, 2023
1 parent 3af5bf8 commit f561b11
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/vault_service/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
vault_port: 8200
vault_addr: "http://vault.internal:{{ vault_port }}"
image_name: "constantin07/vault"
memory: "300m"
memory: "380m"
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ ExecStart=/usr/bin/docker run --rm --name vault \
-p {{ vault_port }}:{{ vault_port }} \
--network=bridge \
--cap-add=IPC_LOCK \
--ipc=private \
--memory={{ memory|default('512mb') }} \
--log-driver=journald \
{{ image_name }}:{{ vault_version }} \
Expand Down
2 changes: 1 addition & 1 deletion ansible/vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
roles:
- docker
- vault_binary
- { role: vault_service, vault_version: "1.14.1" }
- { role: vault_service, vault_version: "1.14.2" }
2 changes: 2 additions & 0 deletions pipelines/dockerfiles/vault/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ FROM hashicorp/vault:${VAULT_VERSION}
COPY config.hcl /vault/config/

RUN chown -R vault:vault /vault/config

#checkov:skip=CKV_DOCKER_3: vault user in the container is already created
2 changes: 1 addition & 1 deletion pipelines/dockerfiles/vault/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ K := $(foreach exec,$(EXECUTABLES),\

GIT_COMMIT := $(shell git rev-parse --short HEAD)

VAULT_VERSION = 1.14.1
VAULT_VERSION = 1.14.2

.PHONY: login build scan publish clean
default: build publish
Expand Down

0 comments on commit f561b11

Please sign in to comment.