Skip to content

Commit 0098447

Browse files
authored
Update preflight.yamls to new config (#75)
* Update preflight.yamls to new config Updating after #67 was merged Signed-off-by: Charlie Egan <[email protected]> * Update preflight.yamls to new config Updating after #67 was merged Signed-off-by: Charlie Egan <[email protected]> * Add pods package to aks example Signed-off-by: Charlie Egan <[email protected]> * Remove pods from both aks and gke examples Signed-off-by: Charlie Egan <[email protected]>
1 parent baa0bc7 commit 0098447

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

deployment/kubernetes/overlays/scanner/config/preflight.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ package-sources:
1616
dir: /preflight-packages/
1717

1818
enabled-packages:
19-
- "examples.jetstack.io/gke_basic"
20-
- "jetstack.io/pods"
19+
- id: "examples.jetstack.io/gke_basic"
20+
- id: "jetstack.io/pods"
2121

2222
outputs:
2323
- type: gcs

examples/aks.preflight.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ package-sources:
1212
dir: preflight-packages/
1313

1414
enabled-packages:
15-
- "examples.jetstack.io/aks_basic"
15+
- id: "examples.jetstack.io/aks_basic"
1616

1717
# This configures how the results will be reported.
1818
outputs:

examples/gke.preflight.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@ data-gatherers:
1313
# Path to a file containing the credentials. If empty, it will try to use Workload Identity (run `gcloud auth application-default login`).
1414
# credentials: /tmp/credentials.json
1515

16-
k8s/pods:
17-
kubeconfig: ~/.kube/config
18-
1916
# This configures where the preflight packages are located.
2017
package-sources:
2118
- type: local
2219
dir: preflight-packages/
2320

2421
# Preflight will only evaluate the packages listed here.
2522
enabled-packages:
26-
- "examples.jetstack.io/gke_basic"
27-
- "jetstack.io/pods"
23+
- id: "examples.jetstack.io/gke_basic"
2824

2925
# This configures how the results will be reported.
3026
outputs:

examples/pods.preflight.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package-sources:
99
dir: preflight-packages/
1010

1111
enabled-packages:
12-
- "jetstack.io/pods"
12+
- id: "jetstack.io/pods"
1313

1414
outputs:
1515
- type: local

0 commit comments

Comments
 (0)