Skip to content

Commit

Permalink
fixed validation
Browse files Browse the repository at this point in the history
  • Loading branch information
timmilesdw committed Dec 29, 2021
1 parent d363d44 commit 3f63dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

type Config struct {
APIVersion string `yaml:"apiVersion" validate:"v1alpha1"`
APIVersion string `yaml:"apiVersion" validate:"required,eq=v1alpha1"`
Spec Spec `yaml:"spec" validate:"required"`
}

Expand Down

0 comments on commit 3f63dc5

Please sign in to comment.