Skip to content

Commit

Permalink
chore: set type field on plugin manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfm committed Aug 11, 2023
1 parent 7b888af commit 1891485
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/zora/templates/plugins/marvin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ metadata:
labels:
{{- include "zora.labels" . | nindent 4 }}
spec:
type: misconfiguration
image: "{{ .Values.scan.plugins.marvin.image.repository }}:{{ .Values.scan.plugins.marvin.image.tag }}"
{{- if .Values.scan.plugins.marvin.resources }}
resources:
Expand Down
1 change: 1 addition & 0 deletions charts/zora/templates/plugins/popeye.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ metadata:
labels:
{{- include "zora.labels" . | nindent 4 }}
spec:
type: misconfiguration
image: "{{ .Values.scan.plugins.popeye.image.repository }}:{{ .Values.scan.plugins.popeye.image.tag }}"
{{- if .Values.scan.plugins.popeye.resources }}
resources:
Expand Down
1 change: 1 addition & 0 deletions config/samples/zora_v1alpha1_plugin_marvin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
app.kubernetes.io/created-by: zora
name: marvin
spec:
type: misconfiguration
image: ghcr.io/undistro/marvin:v0.2.0
resources:
limits:
Expand Down
1 change: 1 addition & 0 deletions config/samples/zora_v1alpha1_plugin_popeye.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
app.kubernetes.io/created-by: zora
name: popeye
spec:
type: misconfiguration
image: ghcr.io/undistro/popeye:pr252
resources:
limits:
Expand Down
1 change: 1 addition & 0 deletions config/samples/zora_v1alpha1_plugin_popeye_all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
app.kubernetes.io/created-by: zora
name: popeye
spec:
type: misconfiguration
image: ghcr.io/undistro/popeye:pr252
resources:
limits:
Expand Down
1 change: 1 addition & 0 deletions config/samples/zora_v1alpha1_plugin_trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
app.kubernetes.io/created-by: zora
name: trivy
spec:
type: vulnerability
image: ghcr.io/aquasecurity/trivy:0.44.1
securityContext:
allowPrivilegeEscalation: false
Expand Down

0 comments on commit 1891485

Please sign in to comment.