Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
junm-cloudnatix committed May 23, 2023
1 parent cac7d96 commit c0ea9a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.0-alpine AS builder
FROM golang:1.20.0-alpine AS builder

WORKDIR /app
RUN apk --no-cache add git make
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ all: mod test build
mod:
$(GO) mod download
tools:
$(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.43.0
$(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
test:
$(GO) test ./... -v
lint:
Expand Down
7 changes: 4 additions & 3 deletions crd/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

const (
CRDPlural string = "databases"
CRDGroup string = "k8s.io"
CRDGroup string = "cloudnatix.com" // TODO(junm): fix this later.
CRDVersion string = "v1"
FullCRDName string = "databases." + CRDGroup
StorageTypePattern string = `gp2|io1`
Expand All @@ -39,8 +39,9 @@ func NewDatabaseCRD() *apiextv1.CustomResourceDefinition {
Group: CRDGroup,
Versions: []apiextv1.CustomResourceDefinitionVersion{
{
Name: CRDVersion,
Served: true,
Name: CRDVersion,
Served: true,
Storage: true,
Schema: &apiextv1.CustomResourceValidation{
OpenAPIV3Schema: &apiextv1.JSONSchemaProps{
Type: "object",
Expand Down

0 comments on commit c0ea9a3

Please sign in to comment.