Skip to content

Commit

Permalink
sidecar cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienmaury committed Mar 22, 2024
1 parent 0e45bd9 commit 6d494a9
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 11 deletions.
1 change: 0 additions & 1 deletion playbooks/21_consul_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
include_role:
name: vault-sidecar
when: hs_install_vault_sidecar | bool

2 changes: 1 addition & 1 deletion playbooks/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ tf_module_dest: "{{ hs_workspace_tf_modules_dir }}/{{ tf_module_name }}"

glxclans_host_service_user_name: "caretaker"

hs_install_vault_sidecar : true
hs_install_vault_sidecar: true
6 changes: 3 additions & 3 deletions roles/consul/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ hs_consul_node_cert_fullchain: "{{ hs_consul_local_secrets_dir }}/self.fullchain
hs_consul_node_cert_private_key: "{{ hs_consul_local_secrets_dir }}/self.cert.key"


# TODO:
#__hs_consul_self_private_key: "{{ __hs_consul_tls_dir }}/self.cert.key"
#__hs_consul_self_certificate: "{{ __hs_consul_tls_dir }}/self.fullchain.cert.pem"
# TODO:
# __hs_consul_self_private_key: "{{ __hs_consul_tls_dir }}/self.cert.key"
# __hs_consul_self_certificate: "{{ __hs_consul_tls_dir }}/self.fullchain.cert.pem"


tf_module_name: "consul_config"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
systemd:
name: consul
state: reloaded
become: yes

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
galaxy_info:
role_name: "vault-sidecar"
role_name: "vault_sidecar"
author: "Team"
description: Hashistack Vault Sidecar
issue_tracker_url: https://github.com/wescale/hashistack/issues
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
- name: Installer le proxy envoy pour Vault si install_envoy_proxy est vrai
- name: "Install vault sidecar"
when:
- hs_install_vault_sidecar
- __hs_consul_is_master
tags:
- hs_consul_is_masters
block:
- name: Render vault-sidecar consul service
template:
Expand Down Expand Up @@ -42,6 +47,4 @@
state: started
enabled: true
name: vault-sidecar
when: hs_install_vault_sidecar and __hs_consul_is_master
tags:
- hs_consul_is_masters

File renamed without changes.

0 comments on commit 6d494a9

Please sign in to comment.