forked from open-policy-agent/gatekeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In support of the move to v1 CRDs, we will need up-to-date generation tooling. Gatekeeper was still on controller-gen 0.3.0, so this PR updates that to 0.5.0. One notable detail here is the removal of the caBundle field from the webhook configurations. This is not a mistake. This field was related to a bug in k8s that is now fixed, and thus the field was removed from the generated output in controller-gen 0.4.1. See kubernetes-sigs/controller-tools#495 for more info. This PR contributes to open-policy-agent#550 Signed-off-by: juliankatz <juliankatz@google.com>
- Loading branch information
1 parent
f6d0fc9
commit 229d143
Showing
16 changed files
with
86 additions
and
215 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM golang:1.16 | ||
|
||
RUN GO111MODULE=on go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0 | ||
RUN GO111MODULE=on go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0 | ||
|
||
RUN mkdir /gatekeeper | ||
WORKDIR /gatekeeper |
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.