You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing I am wanting to do is embed a valid example of a kubernetes manifest to illustrate how someone can fix a warning or a violation, e.g. if the rule is to check that the container is not running as root, I would like the policy documentation to look something like this:
# @title Containers should not run as root
#
# Containers should not run as root.
#
# The following snippet is an example of how to satisfy this requirement:
#
# ```
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: redis
# spec:
# template:
# spec:
# containers:
# - name: redis
# image: redis:6.2
# securityContext:
# runAsNonRoot: true
# runAsUser: 1000
# ```
#
# @kinds apps/DaemonSet apps/Deployment apps/StatefulSet core/Pod
I can do this just fine, but the resulting markdown loses all formatting and renders the following snippet:
Hi @poblahblahblah , thanks for opening this request. This is currently occurring because we trim the comments to make sure our @title etc. tags are recognized, even if someone accidentally has an extra space or similar.
This should be possible though, and definitely seems useful so we'll look into it.
Hello,
Love the project as it's super helpful.
One thing I am wanting to do is embed a valid example of a kubernetes manifest to illustrate how someone can fix a warning or a violation, e.g. if the rule is to check that the container is not running as root, I would like the policy documentation to look something like this:
I can do this just fine, but the resulting markdown loses all formatting and renders the following snippet:
I'm not sure what is reasonable as I am fairly new to the tool, so any guidance would be appreciated.
The text was updated successfully, but these errors were encountered: