Skip to content

Commit 89a287e

Browse files
authored
update kubernetes operator with the new operator sd layout (#207)
1 parent 18ecf74 commit 89a287e

File tree

187 files changed

+2261
-10728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+2261
-10728
lines changed

.dockerignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
2+
# Ignore build and test binaries.
3+
bin/
4+
testbin/

.github/workflows/acceptance-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
go-version: '1.18'
1616

17-
- run: make test-acc
17+
- run: make test
1818
env:
1919
AIVEN_TOKEN: ${{ secrets.AIVEN_TOKEN }}
2020
AIVEN_PROJECT_NAME: ${{ secrets.AIVEN_PROJECT_NAME }}

.github/workflows/lint.yaml

+10-5
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ on:
88

99
jobs:
1010
golang_ci_linter:
11+
name: golang_ci_linter
1112
runs-on: ubuntu-latest
1213
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-go@v3
15-
with:
16-
go-version: '1.18'
17-
- run: make lint
14+
- uses: actions/setup-go@v3
15+
with:
16+
go-version: 1.18
17+
- uses: actions/checkout@v3
18+
- name: golangci-lint
19+
uses: golangci/golangci-lint-action@v3
20+
with:
21+
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
22+
version: v1.50
1823

1924
codeql_analysis:
2025
runs-on: ubuntu-latest

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*.so
77
*.dylib
88
bin
9+
testbin/*
910

1011
# Test binary, build with `go test -c`
1112
*.test

.golangci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ linters:
1616
- gofmt
1717
- gosimple
1818
- ineffassign
19-
- makezero
2019
- misspell
2120
- nakedret
22-
- nilerr
2321
- staticcheck
2422
- structcheck
2523
- unconvert

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY api/ api/
1515
COPY controllers/ controllers/
1616

1717
# Build
18-
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go
18+
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
1919

2020
# Use distroless as minimal base image to package the manager binary
2121
# Refer to https://github.com/GoogleContainerTools/distroless for more details

0 commit comments

Comments
 (0)