-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update kubebuilder scaffolding and dependencies, use CRD v1 (#59)
* update to latest kubebuilder scaffolding bump dependencies fix tests by creating valid service account token bump golang to 1.17.3 fix issue with zap-devel flag * bump controller-runtime to v0.10.2 * Use log from context kubernetes-sigs/kubebuilder#2181 * Tag boilerplate Makefile targets as .PHONY * Add default-container annotation * Add flag for ignore-not-found to make undeploy * fix(scaffolds): better defaults * Defer GinkgoRecover() in test goroutines * ignore non-go files during Docker build * bump golang to 1.17.5 * Apply suggestions from code review Co-authored-by: Lukas Gross <35373687+grolu@users.noreply.github.com> Co-authored-by: Lukas Gross <35373687+grolu@users.noreply.github.com>
- Loading branch information
1 parent
0c5634d
commit 1708f2f
Showing
59 changed files
with
2,223 additions
and
1,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file | ||
# Ignore everything | ||
** | ||
|
||
# Exclude files relevant for build | ||
!api/v1alpha1/*.go | ||
!controllers/*.go | ||
!test/*.go | ||
!utils/*.go | ||
!webhooks/*.go | ||
!main.go | ||
!go.mod | ||
!go.sum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.