commit | 9df830a23d097b0c688dd0c467ba000cfb4151dd | [log] [tgz] |
---|---|---|
author | Mykyta Karpin <mkarpin@mirantis.com> | Thu Sep 12 14:25:01 2024 +0200 |
committer | Mykyta Karpin <mkarpin@mirantis.com> | Fri Sep 13 14:13:37 2024 +0000 |
tree | 34620fc4beba3bfff999cb38c533dad286005dcd | |
parent | 1f86d904ed0c0218c7ecde75babd925e4b9342ab [diff] [blame] |
Add ability to enable ucp audit logs Allow to configure audit logs, by default - level is "" - means disabled. More details https://docs.mirantis.com/mke/3.7/ops/administer-cluster/mke-audit-logging/logging-levels.html All logs are written to ucp-controller container log. Which is rotated currently as follows - 3 log files at 1Gb each. Related-Prod: https://mirantis.jira.com/browse/PRODX-44797 Change-Id: Ib73b30cf874ae119aef8842ea797de42e50b9a40
diff --git a/de/heat-templates/fragments/SrvInstancesVM.yaml b/de/heat-templates/fragments/SrvInstancesVM.yaml index 5a142cb..3ed3a67 100644 --- a/de/heat-templates/fragments/SrvInstancesVM.yaml +++ b/de/heat-templates/fragments/SrvInstancesVM.yaml
@@ -90,6 +90,9 @@ k0s_version: type: string default: '' + ucp_audit_log_level: + type: string + default: '' resources: @@ -124,6 +127,7 @@ $kubectl_version: { get_param: kubectl_version } $devops_utils_refspec: { get_param: devops_utils_refspec } $k0s_version: { get_param: k0s_version } + $ucp_audit_log_level: { get_param: ucp_audit_log_level } inject_files: type: "OS::Heat::CloudConfig"