Skip to content

Commit

Permalink
Configuring auditing with timescaledb. (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Feb 25, 2025
1 parent 007c82a commit 9ff7864
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
4 changes: 4 additions & 0 deletions deploy_control_plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
tags: ipam-db
- name: metal-roles/control-plane/roles/masterdata-db
tags: masterdata-db
- name: metal-roles/control-plane/roles/auditing-timescaledb
when: metal_auditing_timescaledb_enabled
tags: auditing
- name: metal-roles/control-plane/roles/auditing-meili
when: metal_auditing_meili_enabled
tags: auditing
- name: metal-roles/control-plane/roles/metal
tags: metal
Expand Down
13 changes: 11 additions & 2 deletions inventories/group_vars/all/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ setup_yaml:
# metal_masterdata_api_image_tag:
# metal_console_image_name:
# metal_console_image_tag:
# metal_core_image_name:
# metal_core_image_tag:
# ...
#
# further overrides can be looked up in the metal-role projects where the mapping is defined:
# https://github.com/metal-stack/metal-roles/blob/master/defaults/main.yaml

##
## for ansible roles
Expand All @@ -31,3 +30,13 @@ setup_yaml:
# ansible_common_version:
# metal_roles_version:
# metal_ansible_modules_version:

##
## helm charts
##

# metal_helm_chart_version:
# metal_helm_chart_repo:

# further overrides can be looked up in the metal-role projects where the mapping is defined:
# https://github.com/metal-stack/metal-roles/blob/master/defaults/main.yaml
3 changes: 3 additions & 0 deletions inventories/group_vars/control-plane/auditing.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
auditing_timescaledb_storage_size: 10Gi
auditing_timescaledb_resources: {}

auditing_meili_storage_size: 10Gi
auditing_meili_resources: {}
4 changes: 2 additions & 2 deletions inventories/group_vars/control-plane/metal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ metal_api_grpc_certs_client_cert: "{{ lookup('file', 'certs/grpc/client.pem') }
metal_api_grpc_certs_ca_cert: "{{ lookup('file', 'certs/ca.pem') }}"

# auditing
metal_auditing_enabled: true
metal_auditing_index_prefix: metal
metal_auditing_timescaledb_enabled: true
metal_auditing_meili_enabled: false

0 comments on commit 9ff7864

Please sign in to comment.