@@ -613,10 +613,15 @@ HELM ?= go tool helm
613613HELM_PACKAGE_ARGS ?= --version $(VERSION ) --app-version $(VERSION )
614614HELM_CHART_DIR =install/helm/kgateway
615615HELM_CHART_DIR_CRD =install/helm/kgateway-crds
616+ HELM_CHART_DIR_AGW =install/helm/agentgateway
617+ HELM_CHART_DIR_AGW_CRD =install/helm/agentgateway-crds
616618
617619.PHONY : package-kgateway-charts
618620package-kgateway-charts : package-kgateway-chart package-kgateway-crd-chart # # Package the kgateway charts
619621
622+ .PHONY : package-agentgateway-charts
623+ package-agentgateway-charts : package-agentgateway-chart package-agentgateway-crd-chart # # Package the agentgateway charts
624+
620625.PHONY : package-kgateway-chart
621626package-kgateway-chart : # # Package the kgateway charts
622627 mkdir -p $(TEST_ASSET_DIR ) ; \
@@ -629,10 +634,24 @@ package-kgateway-crd-chart: ## Package the kgateway crd chart
629634 $(HELM ) package $(HELM_PACKAGE_ARGS ) --destination $(TEST_ASSET_DIR ) $(HELM_CHART_DIR_CRD ) ; \
630635 $(HELM ) repo index $(TEST_ASSET_DIR ) ;
631636
637+ .PHONY : package-agentgateway-chart
638+ package-agentgateway-chart : # # Package the agentgateway chart
639+ mkdir -p $(TEST_ASSET_DIR ) ; \
640+ $(HELM ) package $(HELM_PACKAGE_ARGS ) --destination $(TEST_ASSET_DIR ) $(HELM_CHART_DIR_AGW ) ; \
641+ $(HELM ) repo index $(TEST_ASSET_DIR ) ;
642+
643+ .PHONY : package-agentgateway-crd-chart
644+ package-agentgateway-crd-chart : # # Package the agentgateway crd chart
645+ mkdir -p $(TEST_ASSET_DIR ) ; \
646+ $(HELM ) package $(HELM_PACKAGE_ARGS ) --destination $(TEST_ASSET_DIR ) $(HELM_CHART_DIR_AGW_CRD ) ; \
647+ $(HELM ) repo index $(TEST_ASSET_DIR ) ;
648+
632649.PHONY : release-charts
633- release-charts : package-kgateway-charts # # Release the kgateway charts
650+ release-charts : package-kgateway-charts package-agentgateway-charts # # Release the kgateway and agentgateway charts
634651 $(HELM ) push $(TEST_ASSET_DIR ) /kgateway-$(VERSION ) .tgz oci://$(IMAGE_REGISTRY ) /charts
635652 $(HELM ) push $(TEST_ASSET_DIR ) /kgateway-crds-$(VERSION ) .tgz oci://$(IMAGE_REGISTRY ) /charts
653+ $(HELM ) push $(TEST_ASSET_DIR ) /agentgateway-$(VERSION ) .tgz oci://$(IMAGE_REGISTRY ) /charts
654+ $(HELM ) push $(TEST_ASSET_DIR ) /agentgateway-crds-$(VERSION ) .tgz oci://$(IMAGE_REGISTRY ) /charts
636655
637656.PHONY : deploy-kgateway-crd-chart
638657deploy-kgateway-crd-chart : # # Deploy the kgateway crd chart
@@ -647,10 +666,24 @@ deploy-kgateway-chart: ## Deploy the kgateway chart
647666 --set image.tag=$(VERSION ) \
648667 -f $(HELM_ADDITIONAL_VALUES )
649668
669+ .PHONY : deploy-agentgateway-crd-chart
670+ deploy-agentgateway-crd-chart : # # Deploy the agentgateway crd chart
671+ $(HELM ) upgrade --install agentgateway-crds $(TEST_ASSET_DIR ) /agentgateway-crds-$(VERSION ) .tgz --namespace $(INSTALL_NAMESPACE ) --create-namespace
672+
673+ .PHONY : deploy-agentgateway-chart
674+ deploy-agentgateway-chart : # # Deploy the agentgateway chart
675+ $(HELM ) upgrade --install agentgateway $(TEST_ASSET_DIR ) /agentgateway-$(VERSION ) .tgz \
676+ --namespace $(INSTALL_NAMESPACE ) --create-namespace \
677+ --set image.registry=$(IMAGE_REGISTRY ) \
678+ --set image.tag=$(VERSION ) \
679+ -f $(HELM_ADDITIONAL_VALUES )
680+
650681.PHONY : lint-kgateway-charts
651- lint-kgateway-charts : # # Lint the kgateway charts
682+ lint-kgateway-charts : # # Lint the kgateway and agentgateway charts
652683 $(HELM ) lint $(HELM_CHART_DIR )
653684 $(HELM ) lint $(HELM_CHART_DIR_CRD )
685+ $(HELM ) lint $(HELM_CHART_DIR_AGW )
686+ $(HELM ) lint $(HELM_CHART_DIR_AGW_CRD )
654687
655688# ----------------------------------------------------------------------------------
656689# Release
@@ -702,11 +735,14 @@ metallb: ## Install the MetalLB load balancer
702735.PHONY : deploy-kgateway
703736deploy-kgateway : package-kgateway-charts deploy-kgateway-crd-chart deploy-kgateway-chart # # Deploy the kgateway chart and CRDs
704737
738+ .PHONY : deploy-agentgateway
739+ deploy-agentgateway : package-agentgateway-charts deploy-agentgateway-crd-chart deploy-agentgateway-chart # # Deploy the agentgateway chart and CRDs
740+
705741.PHONY : setup-base
706742setup-base : kind-create gw-api-crds gie-crds metallb # # Setup the base infrastructure (kind cluster, CRDs, and MetalLB)
707743
708744.PHONY : setup
709- setup : setup-base kind-build-and-load package-kgateway-charts # # Setup the complete infrastructure (base setup plus images and charts)
745+ setup : setup-base kind-build-and-load package-kgateway-charts package-agentgateway-charts dummy-idp-docker kind-load-dummy-idp dummy-auth0-docker kind-load-dummy-auth0 # # Setup the complete infrastructure (base setup plus images and charts)
710746
711747.PHONY : run
712748run : setup deploy-kgateway # # Set up complete development environment
0 commit comments