-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add audit to demo #116
Add audit to demo #116
Conversation
demo/agilebank/demo.sh
Outdated
@@ -100,6 +100,16 @@ echo | |||
|
|||
pe "kubectl get k8sbannedimagetags -oyaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k8sbannedimagetags shows audit results (and mostly exists to show the audit results). Is there something specific we're trying to solve with the extra commands?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The k8sbannedimagetags example did not result in any violations (at least not in my test cluster) and we didnt create any deployment with latest tag images in the demo. Hence I added some thing that gives us violations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after nits.
@@ -88,19 +85,13 @@ echo | |||
NO_WAIT=true | |||
p "All is well with the world, until the big outage. The bank is down for hours." | |||
read | |||
p "We must never again use the :latest tag in production!" | |||
p "We had no idea there were resources in the cluster without resource limits. Now they are causing issues in production!" | |||
echo | |||
NO_WAIT=false | |||
|
|||
echo "===== ENTER admin =====" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move ENTER admin above "We had no idea there were ..."
demo/agilebank/demo.sh
Outdated
|
||
pe "kubectl get k8sbannedimagetags -oyaml" | ||
echo | ||
read | ||
NO_WAIT=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can leave NO_WAIT=true
until we switch back to actual shell input
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
No description provided.