Merge pull request #49 from moan0s/main

refactor! Use authentik_container as there is only one
This commit is contained in:
Julian-Samuel Gebühr 2023-04-23 17:40:55 +02:00 committed by GitHub
commit 1901e6e441
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 7 deletions

View file

@ -1,3 +1,12 @@
# 2023-04-23
## (Backward Compatibility Break) Authentik container variables renamed
For the authentik role there wehre initially two containers: `authentic_worker_container` and `authentic_server_container`. To simnplifiy the setup this was reduced to one container.
As the role is pretty young and to avoid confusion because of legacy and reverted design decisions all variables containing `authentik_server_container` will now start with authentik_container. This means you will have to renemae these variables in your `vars.yml` if you already use authentik. If you use a standard setup this only includes
* `authentic_server_container_additional_networks_custom` -> `authentik_container_additional_networks_custom`
# 2023-03-29 # 2023-03-29
## (Backward Compatibility Break) Firezone database renamed ## (Backward Compatibility Break) Firezone database renamed

View file

@ -572,17 +572,17 @@ authentik_server_systemd_required_services_list_auto: |
([devture_postgres_identifier ~ '.service'] if devture_postgres_enabled and authentik_database_hostname == devture_postgres_identifier else []) ([devture_postgres_identifier ~ '.service'] if devture_postgres_enabled and authentik_database_hostname == devture_postgres_identifier else [])
}} }}
authentik_server_container_additional_networks_auto: | authentik_container_additional_networks_auto: |
{{ {{
([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else []) ([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else [])
+ +
([devture_postgres_container_network] if devture_postgres_enabled and authentik_database_hostname == devture_postgres_identifier and authentik_server_container_network != devture_postgres_container_network else []) ([devture_postgres_container_network] if devture_postgres_enabled and authentik_database_hostname == devture_postgres_identifier and authentik_container_network != devture_postgres_container_network else [])
}} }}
authentik_server_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}" authentik_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}"
authentik_server_container_labels_traefik_docker_network: "{{ mash_playbook_reverse_proxyable_services_additional_network }}" authentik_container_labels_traefik_docker_network: "{{ mash_playbook_reverse_proxyable_services_additional_network }}"
authentik_server_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}" authentik_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}"
authentik_server_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}" authentik_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}"
######################################################################## ########################################################################
# # # #

View file

@ -7,7 +7,7 @@
version: v1.9.16-0 version: v1.9.16-0
name: appsmith name: appsmith
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-authentik.git - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-authentik.git
version: v2023.4.1-4 version: v2023.4.1-9
name: authentik name: authentik
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-aux.git - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-aux.git
version: v1.0.0-0 version: v1.0.0-0