Skip to content

Commit

Permalink
fix wrong example and name
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Labarussias <issif+github@gadz.org>
  • Loading branch information
Issif committed Sep 3, 2024
1 parent fabac43 commit 484ed7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions actionners/cilium/networkpolicy/networkpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,15 @@ rules:
verbs:
- get
`
Example string = `- action: Terminate the pod
actionner: kubernetes:terminate
parameters:
grace_period_seconds: 5
ignore_daemonsets: true
ignore_statefulsets: true
min_healthy_replicas: 33%
Example string = `- action: Create Cilium netpol
actionner: cilium:networkpolicy
parameters:
allow_cidr:
- "192.168.1.0/24"
- "172.17.0.0/16"
allow_namespaces:
- "green-ns"
- "blue-ns"
`
)

Expand Down
2 changes: 1 addition & 1 deletion actionners/kubernetes/script/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

const (
Name string = "exec"
Name string = "script"
Category string = "kubernetes"
Description string = "Run a script in a pod"
Source string = "syscalls"
Expand Down

0 comments on commit 484ed7c

Please sign in to comment.