summaryrefslogtreecommitdiffstats
path: root/inventory
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-15 16:30:53 -0400
committerGitHub <noreply@github.com>2017-06-15 16:30:53 -0400
commit76080688bc7583ac6e9fe68007e53db5ae2b4d66 (patch)
treeaf31947f3cf2e3593a975ff4e6c2da991927f2e5 /inventory
parentfa3b7f2423c70a74cd3be0e6df6263c6a8003536 (diff)
parentccd4355a8e6f4b5262f3cb4dfbcf9b27b3fbbb42 (diff)
downloadopenshift-76080688bc7583ac6e9fe68007e53db5ae2b4d66.tar.gz
openshift-76080688bc7583ac6e9fe68007e53db5ae2b4d66.tar.bz2
openshift-76080688bc7583ac6e9fe68007e53db5ae2b4d66.tar.xz
openshift-76080688bc7583ac6e9fe68007e53db5ae2b4d66.zip
Merge pull request #4458 from git001/more-auditlog-params
Add the other featured audit-config paramters as example
Diffstat (limited to 'inventory')
-rw-r--r--inventory/byo/hosts.origin.example6
-rw-r--r--inventory/byo/hosts.ose.example6
2 files changed, 12 insertions, 0 deletions
diff --git a/inventory/byo/hosts.origin.example b/inventory/byo/hosts.origin.example
index 30ef3dbbb..962a01a91 100644
--- a/inventory/byo/hosts.origin.example
+++ b/inventory/byo/hosts.origin.example
@@ -793,6 +793,12 @@ openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true',
# Enable API service auditing, available as of 1.3
#openshift_master_audit_config={"enabled": true}
+#
+# In case you want more advanced setup for the auditlog you can
+# use this line.
+# The directory in "auditFilePath" will be created if it's not
+# exist
+#openshift_master_audit_config={"enabled": true, "auditFilePath": "/var/log/openpaas-oscp-audit/openpaas-oscp-audit.log", "maximumFileRetentionDays": 14, "maximumFileSizeMegabytes": 500, "maximumRetainedFiles": 5}}
# Enable origin repos that point at Centos PAAS SIG, defaults to true, only used
# by deployment_type=origin
diff --git a/inventory/byo/hosts.ose.example b/inventory/byo/hosts.ose.example
index a1b04af23..63f1f00d2 100644
--- a/inventory/byo/hosts.ose.example
+++ b/inventory/byo/hosts.ose.example
@@ -793,6 +793,12 @@ openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true',
# Enable API service auditing, available as of 3.2
#openshift_master_audit_config={"enabled": true}
+#
+# In case you want more advanced setup for the auditlog you can
+# use this line.
+# The directory in "auditFilePath" will be created if it's not
+# exist
+#openshift_master_audit_config={"enabled": true, "auditFilePath": "/var/log/openpaas-oscp-audit/openpaas-oscp-audit.log", "maximumFileRetentionDays": 14, "maximumFileSizeMegabytes": 500, "maximumRetainedFiles": 5}}
# Validity of the auto-generated OpenShift certificates in days.
# See also openshift_hosted_registry_cert_expire_days above.