Skip to content

refactor: introduce policy-based config schema - #3

Merged
ktrubilo9 merged 3 commits into
mainfrom
refactor/config-types
Jun 18, 2026
Merged

ktrubilo9 merged 3 commits into
mainfrom
refactor/config-types

Conversation

@ktrubilo9

Copy link
Copy Markdown
Owner

Summary

  • moves config to server/load_balancing/security.policies structure
  • replaces backend URL references with backend IDs
  • adds security_policy_id for virtual hosts
  • regenerates adminpb from updated admin.proto
  • updates admin gRPC/HTTP handlers and example configs

Main changes

  • old root-level proxy_port and lb_strategy are removed
  • virtual hosts now use backends_ids instead of backend URLs
  • per-vhost inline security config is replaced by reusable security policies

Verification

  • go test ./...
  • go vet ./...

@ktrubilo9
ktrubilo9 merged commit 955dfb5 into main Jun 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant