Skip to content

Commit

Permalink
Fix Typo in InCluster Job Example (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
J12934 authored Oct 13, 2020
1 parent 7d46836 commit e429a88
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ Kubeaudit can be run in a Kubernetes cluster by using the [official Docker image
Example Job configuration:

```yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: kubeaudit
namespace: default

---

apiVersion: batch/v1
kind: Job
metadata:
Expand All @@ -19,7 +27,7 @@ spec:
container.apparmor.security.beta.kubernetes.io/kubeaudit: runtime/default
seccomp.security.alpha.kubernetes.io/pod: runtime/default
spec:
automountServiceAccount: false
serviceAccountName: kubeaudit
restartPolicy: OnFailure
containers:
- name: kubeaudit
Expand Down

0 comments on commit e429a88

Please sign in to comment.