-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into kustomize-liquid
- Loading branch information
Showing
29 changed files
with
6,027 additions
and
4,660 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
run: | ||
modules-download-mode: readonly | ||
allow-parallel-runners: true | ||
timeout: 5m | ||
|
||
linters: | ||
|
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,4 +1,4 @@ | ||
FROM golang:1.22.4-alpine3.20 as builder | ||
FROM golang:1.22.6-alpine3.20 AS builder | ||
|
||
ARG TARGETARCH | ||
|
||
|
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ $(LOCALBIN): | |
mkdir -p $(LOCALBIN) | ||
|
||
ENVTEST_K8S_VERSION := 1.28.3 | ||
CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen | ||
CONTROLLER_GEN ?= $(shell which controller-gen) | ||
MOCKERY ?= $(shell which mockery) | ||
include tools.mk | ||
|
||
|
@@ -35,10 +35,6 @@ PRE = --ensure | |
help: ## Display this help. | ||
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) | ||
|
||
.PHONY: controller-gen | ||
controller-gen: ## Download controller-gen locally if necessary. | ||
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/[email protected]) | ||
|
||
.PHONY: crd-docs | ||
crd-docs: ##generate docs from the CRDs | ||
$(CRDDOCS) --source-path=./api --renderer=markdown --output-path=./docs/api.md --config=config.yaml | ||
|
@@ -177,6 +173,10 @@ mockery: --tool | |
crd-ref-docs: TOOL = crd-ref-docs | ||
crd-ref-docs: --tool | ||
|
||
.PHONY: controller-gen | ||
controller-gen: TOOL = controller-gen | ||
controller-gen: --tool | ||
|
||
# go-get-tool will 'go get' any package $2 and install it to $1. | ||
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST)))) | ||
define go-get-tool | ||
|
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.