Skip to content

Commit

Permalink
fix(config): add kubebuilder directives
Browse files Browse the repository at this point in the history
  • Loading branch information
kad-korpem committed Dec 10, 2024
1 parent 1aa39d2 commit 445253e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/ogcapi_tiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ var HealthCheckDefaultTiles = map[int]TileCoordinates{
// +kubebuilder:object:generate=true
type HealthCheck struct {
// Projection (SRS/CRS) used for tile healthcheck
// +kubebuilder:default="EPSG:28992"
// +kubebuilder:validation:Pattern=`^EPSG:\d+$`
// +optional
Srs string `yaml:"srs" json:"srs" default:"EPSG:28992" validate:"required,startswith=EPSG:"`

// Path to specific tile used for healthcheck
Expand Down

0 comments on commit 445253e

Please sign in to comment.