Skip to content

Commit

Permalink
chore: KIC version is fetched from go.mod
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Lavacca <[email protected]>
  • Loading branch information
mlavacca committed Jun 6, 2024
1 parent c7dd44b commit 9253fac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,11 @@ GATEWAY_API_RAW_REPO ?= https://raw.githubusercontent.com/$(GATEWAY_API_REPO)
GATEWAY_API_CRDS_STANDARD_URL = github.com/$(GATEWAY_API_REPO)/config/crd/standard?ref=$(GATEWAY_API_VERSION)
GATEWAY_API_CRDS_EXPERIMENTAL_URL = github.com/$(GATEWAY_API_REPO)/config/crd/experimental?ref=$(GATEWAY_API_VERSION)
GATEWAY_API_RAW_REPO_URL = $(GATEWAY_API_RAW_REPO)/$(GATEWAY_API_VERSION)
KIC_CRDS_URL ?= github.com/kong/kubernetes-ingress-controller/config/crd

KIC_REPO ?= kong/kubernetes-ingress-controller
KIC_PACKAGE ?= github.com/$(KIC_REPO)/v3
KIC_VERSION ?= $(shell go list -m -f '{{ .Version }}' $(KIC_PACKAGE))
KIC_CRDS_URL ?= github.com/$(KIC_REPO)/config/crd?ref=$(KIC_VERSION)

.PHONY: generate.gateway-api-urls
generate.gateway-api-urls:
Expand Down

0 comments on commit 9253fac

Please sign in to comment.