Add oauth proxy and supporting ecr infra
This commit is contained in:
parent
675edad612
commit
bd1c17b09b
11 changed files with 222 additions and 2 deletions
10
Makefile
10
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: init plan apply destroy clean kubeconfig talosconfig argocd-password bootstrap decrypt post-apply
|
||||
.PHONY: init plan apply destroy clean kubeconfig talosconfig argocd-password bootstrap decrypt post-apply build-mcp-auth-proxy
|
||||
|
||||
SECRET ?= dumpnet
|
||||
TF_DIR=terraform
|
||||
|
|
@ -39,6 +39,14 @@ bootstrap:
|
|||
kubectl apply -f apps/apps.yaml
|
||||
@echo "ArgoCD will now manage apps/ directory - future group changes are self-healing via git push"
|
||||
|
||||
# Images
|
||||
build-mcp-auth-proxy:
|
||||
$(eval ECR=$(shell cd $(TF_DIR) && terraform output -raw ecr_registry))
|
||||
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $(ECR)
|
||||
docker build -t $(ECR):latest images/mcp-auth-proxy/
|
||||
docker push $(ECR):latest
|
||||
@echo "Pushed mcp-auth-proxy to $(ECR):latest"
|
||||
|
||||
# Credentials
|
||||
talosconfig:
|
||||
aws secretsmanager get-secret-value --secret-id $(SECRET) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue