Skip to content

Commit 7cbb84e

Browse files
authored
Merge pull request #647 from CodeNow/5-2-update-dock-init-and-charon
Update dock-init and charon
2 parents f930973 + 475f2f0 commit 7cbb84e

6 files changed

Lines changed: 11 additions & 4 deletions

File tree

ansible/dock.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
name={{ dock }}
1010
groups=dock
1111

12-
- include: image-builder.yml git_branch="v4.4.0"
12+
- include: image-builder.yml git_branch="v4.5.0"
1313

1414
- hosts: "{{ dock }}"
1515
tasks:
@@ -25,6 +25,6 @@
2525
- { role: install-ssm }
2626
- { role: dock-images }
2727

28-
- include: charon.yml git_branch="v5.0.1"
29-
- include: dock-init.yml git_branch="v10.1.2"
28+
- include: charon.yml git_branch="v5.0.3"
29+
- include: dock-init.yml git_branch="v10.1.4"
3030
- include: krain.yml git_branch="v0.3.1"

ansible/gamma-hosts/hosts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ localhost
138138
[kartographer]
139139
localhost
140140

141+
[user-local]
142+
localhost
143+
141144
[navi-port-router]
142145
gamma-userland
143146

ansible/group_vars/alpha-api-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ api_base_container_envs:
119119
- name: INTERCOM_API_KEY
120120
value: "{{ api_intercom_api_key | default('ansible_undefined') }}"
121121
- name: USER_VAULT_ENDPOINT
122-
value: "http://{{ user_vault_host_address }}:{{ user_vault_port }}"
122+
value: "http://{{ user_vault_load_balancer }}:{{ user_vault_port }}"

ansible/roles/dock-init/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
mode="0400"
2323
with_items:
2424
- { file_name: 'auth-token', value: "{{ vault_auth_token }}" }
25+
- { file_name: 'user-vault-auth-token', value: "{{ dock_vault_user_creation_access_token }}" }
2526
- { file_name: 'token-01', value: "{{ vault_token_01 }}" }
2627
- { file_name: 'token-02', value: "{{ vault_token_02 }}" }
2728
- { file_name: 'token-03', value: "{{ vault_token_03 }}" }

ansible/roles/dock_launch_config/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
set_fact:
4444
vault_tokens:
4545
- { file_name: 'auth-token', value: "{{ vault_auth_token }}" }
46+
- { file_name: 'user-vault-auth-token', value: "{{ dock_vault_user_creation_access_token }}" }
4647
- { file_name: 'token-01', value: "{{ vault_token_01 }}" }
4748
- { file_name: 'token-02', value: "{{ vault_token_02 }}" }
4849
- { file_name: 'token-03', value: "{{ vault_token_03 }}" }

ansible/roles/dock_launch_config/templates/init.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ service charon start
3939
CONSUL_HOSTNAME={{ consul_host_address }} \
4040
CONSUL_PORT={{ consul_api_port }} \
4141
VAULT_PORT={{ vault_port }} \
42+
USER_VAULT_HOSTNAME={{ user_vault_load_balancer }} \
43+
USER_VAULT_PORT={{ user_vault_port }} \
4244
{% if has_token %}
4345
S3_ACCESS_KEY={{ dock_registry_s3_access_key }} \
4446
S3_SECRET_KEY={{ dock_registry_s3_secret_key }} \

0 commit comments

Comments
 (0)