diff --git a/pkg/controller/container-runtime-config/helpers.go b/pkg/controller/container-runtime-config/helpers.go index 56ba4607a5..1d11282629 100644 --- a/pkg/controller/container-runtime-config/helpers.go +++ b/pkg/controller/container-runtime-config/helpers.go @@ -568,7 +568,7 @@ func updatePolicyJSON(data []byte, internalBlocked, internalAllowed []string, re } } - policyJSON, err := json.Marshal(policyObj) + policyJSON, err := json.MarshalIndent(policyObj, "", " ") if err != nil { return nil, err }