Skip to content

Commit 8982a0d

Browse files
authored
chore: add hook to install validator crds in devspace (#221)
## Description Quality of life improvement. Handles installing the validator crds for us when using devspace.
1 parent be40010 commit 8982a0d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

build

devspace.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ deployments:
3232
manifests:
3333
- config/devspace
3434

35+
hooks:
36+
- name: validator-crds
37+
command: |
38+
kubectl apply -f https://raw.githubusercontent.com/validator-labs/validator/main/chart/validator/crds/validation.spectrocloud.labs_validatorconfigs.yaml
39+
kubectl apply -f https://raw.githubusercontent.com/validator-labs/validator/main/chart/validator/crds/validation.spectrocloud.labs_validationresults.yaml
40+
events: ["before:deploy"]
41+
3542
dev:
3643
validator-plugin-azure:
3744
imageSelector: ${IMAGE}

0 commit comments

Comments
 (0)