mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
Adds the `coder-ai-gateway` Helm chart for deploying the Coder AI Gateway as a standalone Kubernetes workload. Adds the coder-ai-gateway Helm chart for deploying the Coder AI Gateway as a standalone Kubernetes workload. The chart supports AI Gateway keys from an existing Secret or environment configuration, Coder connectivity through CODER_URL, listener and Coder-facing TLS, and optional Service, Ingress, and Gateway API HTTPRoute resources. Integrates the chart with existing Helm build, lint, golden generation, release artifact, Helm repository, and OCI publishing workflows.
36 lines
931 B
Makefile
36 lines
931 B
Makefile
# Use a single bash shell for each job, and immediately exit on failure
|
|
SHELL := bash
|
|
.SHELLFLAGS = -ceu
|
|
.ONESHELL:
|
|
|
|
# This doesn't work on directories.
|
|
# See https://stackoverflow.com/questions/25752543/make-delete-on-error-for-directory-targets
|
|
.DELETE_ON_ERROR:
|
|
|
|
all: lint
|
|
.PHONY: all
|
|
|
|
lint: lint/helm
|
|
.PHONY: lint
|
|
|
|
lint/helm: lint/helm/coder lint/helm/provisioner lint/helm/ai-gateway
|
|
.PHONY: lint/helm
|
|
|
|
lint/helm/coder:
|
|
helm dependency update --skip-refresh coder/
|
|
helm lint --strict --set coder.image.tag=v0.0.1 coder/
|
|
.PHONY: lint/helm/coder
|
|
|
|
lint/helm/provisioner:
|
|
helm dependency update --skip-refresh provisioner/
|
|
helm lint --strict --set coder.image.tag=v0.0.1 provisioner/
|
|
.PHONY: lint/helm/provisioner
|
|
|
|
lint/helm/ai-gateway:
|
|
helm dependency update --skip-refresh ai-gateway/
|
|
helm lint --strict \
|
|
--set coder.image.tag=v0.0.1 \
|
|
--set aigateway.keySecret.name=test \
|
|
ai-gateway/
|
|
.PHONY: lint/helm/ai-gateway
|