-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor nmap-prober and run it on all clusters
- Loading branch information
1 parent
02aaf91
commit 5cd85d4
Showing
10 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
apiVersion: "kustomize.config.k8s.io/v1beta1" | ||
kind: "Kustomization" | ||
resources: | ||
- "ch" | ||
- "rs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
clusters/svc.dd.soeren.cloud/nmap-prober/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
apiVersion: "kustomize.config.k8s.io/v1beta1" | ||
kind: "Kustomization" | ||
namespace: "nmap-prober" | ||
resources: | ||
- "namespace.yaml" | ||
- "../../common/nmap-prober" | ||
patches: | ||
- target: | ||
kind: "CronJob" | ||
patch: |- | ||
- op: "replace" | ||
path: "/spec/schedule" | ||
value: "15 * * * *" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
kind: "Namespace" | ||
apiVersion: "v1" | ||
metadata: | ||
name: "nmap-prober" | ||
labels: | ||
name: "nmap-prober" |
14 changes: 14 additions & 0 deletions
14
clusters/svc.ez.soeren.cloud/nmap-prober/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
apiVersion: "kustomize.config.k8s.io/v1beta1" | ||
kind: "Kustomization" | ||
namespace: "nmap-prober" | ||
resources: | ||
- "namespace.yaml" | ||
- "../../common/nmap-prober" | ||
patches: | ||
- target: | ||
kind: "CronJob" | ||
patch: |- | ||
- op: "replace" | ||
path: "/spec/schedule" | ||
value: "45 * * * *" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
kind: "Namespace" | ||
apiVersion: "v1" | ||
metadata: | ||
name: "nmap-prober" | ||
labels: | ||
name: "nmap-prober" |
14 changes: 14 additions & 0 deletions
14
clusters/svc.pt.soeren.cloud/nmap-prober/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
apiVersion: "kustomize.config.k8s.io/v1beta1" | ||
kind: "Kustomization" | ||
namespace: "nmap-prober" | ||
resources: | ||
- "namespace.yaml" | ||
- "../../common/nmap-prober" | ||
patches: | ||
- target: | ||
kind: "CronJob" | ||
patch: |- | ||
- op: "replace" | ||
path: "/spec/schedule" | ||
value: "0 * * * *" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
kind: "Namespace" | ||
apiVersion: "v1" | ||
metadata: | ||
name: "nmap-prober" | ||
labels: | ||
name: "nmap-prober" |