Repository navigation
feat: APISIX standalone gateway with access tiers - #1
Open
sitthadara wants to merge 3 commits into
Open
sitthadara wants to merge 3 commits into
sitthadara wants to merge 3 commits into
Conversation
Standalone APISIX image with routes baked in conf/apisix.yaml. Upstreams resolve via UPSTREAM_NAMESPACE so one image serves every env. /<svc>/public open, /<svc>/secure behind forward-auth to user service, /<svc>/private denied. CI pushes ghcr image for preview PRs and bumps SIT tag in CUGrader-infrastructure on merge to main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preview environmenthttps://pr-1-gateway-grader-sit.sittha.net Commit |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
conf/apisix.yaml.<svc>.${{UPSTREAM_NAMESPACE}}.svc.cluster.local. One image works in SIT, UAT, production and PR previews./<svc>/<access>/...:public/: open to everyone.secure/:forward-authtouseratGET /private/auth/verify, setsX-User-Id.private/: 403..github/workflows/build.yaml):previewpushesghcr.io/cu-devclub/cugrader-gateway:<head sha>, which Argo CD deploys asgateway-pr-<n>.mainpushes:<sha>and:latest, then bumps the SITnewTagin CUGrader-infrastructure.Test plan
%70rivate,//,..), unknown path 404, no error logs.gateway-pr-<n>and the pod becomes Ready.Before merge
INFRA_REPO_TOKEN(PAT, contents write on CUGrader-infrastructure). Without it the SIT bump job fails.🤖 Generated with Claude Code