Skip to content

Commit

Permalink
chore: add hook to install validator crds in devspace (#78)
Browse files Browse the repository at this point in the history
## Description
Quality of life improvement. Handles installing the validator crds for
us when using devspace.
  • Loading branch information
ahmad-ibra authored Aug 1, 2024
1 parent cc30923 commit 450a792
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build
Submodule build updated 1 files
+3 −3 makelib/plugin.mk
7 changes: 7 additions & 0 deletions devspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ deployments:
manifests:
- config/devspace

hooks:
- name: validator-crds
command: |
kubectl apply -f https://raw.githubusercontent.com/validator-labs/validator/main/chart/validator/crds/validation.spectrocloud.labs_validatorconfigs.yaml
kubectl apply -f https://raw.githubusercontent.com/validator-labs/validator/main/chart/validator/crds/validation.spectrocloud.labs_validationresults.yaml
events: ["before:deploy"]

dev:
validator-plugin-kubescape:
imageSelector: ${IMAGE}
Expand Down

0 comments on commit 450a792

Please sign in to comment.