Skip to content

Commit 5044e85

Browse files
committed
Add consul/vault updates
1 parent 0548ae1 commit 5044e85

5 files changed

Lines changed: 6 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ environments/*/secrets/**/*
1414
# Leaving for now while PR is merged
1515
environments/*/k8
1616
# Meant to not break anything. Might remove later
17-
environments/self-hosted-test
17+
environments/runnable-on-prem-test
1818
*.retry
1919
*.tfstate*
2020
terraform/credentials.tfvars

ansible/group_vars/all.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ user_vault_host_address: user-vault
242242
# local-vault
243243
vault_local_port: 31836
244244
vault_addr: http://127.0.0.1:{{ vault_local_port }}
245+
vault_consul_address: "consul.{{ domain }}"
245246

246247
# userland
247248
userland_host_address: userland

ansible/group_vars/alpha-consul.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ container_run_opts: >
2626
-p {{ ansible_default_ipv4.address }}:{{ consul_https_port }}:{{ consul_https_port }}
2727
--restart=always
2828
29+
storage_size_gb: 10
30+
2931
container_run_args: >
3032
consul agent
3133
--config-file /consul.json

ansible/group_vars/alpha-vault-single.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: vault
22

3-
container_image: runnable/vault
3+
container_image: quay.io/runnable/vault
44
container_tag: v0.5.1
55
hosted_ports: ["{{ vault_api_port }}"]
66

ansible/roles/vault/templates/vault.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ data:
66
vault.hcl: |
77
backend "consul" {
88
advertise_addr = "{{ vault_url }}"
9-
address = "consul.{{ domain }}"
9+
address = "{{ vault_consul_address }}"
1010
scheme = "http"
1111
path = "vault"
1212
}

0 commit comments

Comments
 (0)