Skip to content

Commit 9ce6d9c

Browse files
authored
Merge pull request #85905 from sheriff-rh/ocpbugs-35424
2 parents a996e8b + a5aa4c1 commit 9ce6d9c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

modules/file-integrity-node-status-failure.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * security/file_integrity_operator/file-integrity-operator-understanding.adoc
44

5+
:_mod-docs-content-type: CONCEPT
56
[id="file-integrity-node-status-failure_{context}"]
67
= FileIntegrityNodeStatus CR failure status example
78

@@ -109,4 +110,14 @@ File: /hostroot/etc/resolv.conf
109110
Events: <none>
110111
----
111112

112-
Due to the config map data size limit, AIDE logs over 1 MB are added to the failure config map as a base64-encoded gzip archive. In this case, you want to pipe the output of the above command to `base64 --decode | gunzip`. Compressed logs are indicated by the presence of a `file-integrity.openshift.io/compressed` annotation key in the config map.
113+
Due to the config map data size limit, AIDE logs over 1 MB are added to the failure config map as a base64-encoded gzip archive. Use the following command to extract the log:
114+
115+
[source,terminal]
116+
----
117+
$ oc get cm <failure-cm-name> -o json | jq -r '.data.integritylog' | base64 -d | gunzip
118+
----
119+
120+
[NOTE]
121+
====
122+
Compressed logs are indicated by the presence of a `file-integrity.openshift.io/compressed` annotation key in the config map.
123+
====

0 commit comments

Comments
 (0)