Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GatewayParameters CRD for dynamic proxy configuration #9233

Merged
merged 100 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from 82 commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
b1796de
add generate
jenshu Mar 11, 2024
9076ed1
only specified paths
jenshu Mar 11, 2024
a6307e0
fix go pkg and import
jenshu Mar 12, 2024
d781a10
codegen
jenshu Mar 12, 2024
bbb4b41
clean up logs
jenshu Mar 12, 2024
96042d8
add short name
jenshu Mar 12, 2024
9b5a334
add rbac
jenshu Mar 13, 2024
3645d1d
plumbing
jenshu Mar 13, 2024
2d57126
add scheme
jenshu Mar 13, 2024
207c393
generated cleanup
jenshu Mar 13, 2024
4eb78d4
Merge branch 'main' of github.com:solo-io/gloo into gateway-config-crd
jenshu Mar 13, 2024
fa28732
remove clients/controller
jenshu Mar 13, 2024
5827cba
different logs
jenshu Mar 13, 2024
8499b25
Merge branch 'main' of github.com:solo-io/gloo into gateway-config-crd
jenshu Mar 14, 2024
8437433
Merge branch 'main' of github.com:solo-io/gloo into gateway-config-crd
jenshu Mar 14, 2024
01f6935
fix compile
jenshu Mar 14, 2024
f84a54f
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 14, 2024
11d1508
add kube protos
jenshu Mar 17, 2024
253c683
proto updates
jenshu Mar 18, 2024
9d9c8a5
remove controlplane val
jenshu Mar 18, 2024
157b80f
use autoscaling v2
jenshu Mar 18, 2024
2635495
Merge branch 'main' of github.com:solo-io/gloo into gateway-config-crd
jenshu Mar 18, 2024
40ec940
Merge branch 'gateway-config-crd' of github.com:solo-io/gloo into gat…
jenshu Mar 18, 2024
81deaa2
gen
jenshu Mar 18, 2024
076b388
don't import resources
jenshu Mar 18, 2024
f8d43d8
move log level to container, make container less generic
jenshu Mar 19, 2024
693d72a
add import
jenshu Mar 19, 2024
a55d1c0
gen
jenshu Mar 19, 2024
8073acd
Merge branch 'main' of github.com:solo-io/gloo into gateway-config-crd
jenshu Mar 19, 2024
00a542e
Merge branch 'main' of github.com:solo-io/gloo into gateway-config-crd
jenshu Mar 19, 2024
703a995
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 20, 2024
4a9ce2d
Merge branch 'gateway-config-crd' of github.com:solo-io/gloo into gat…
jenshu Mar 21, 2024
47af4a6
Merge branch 'main' of github.com:solo-io/gloo into gateway-config-crd
jenshu Mar 21, 2024
b3cbe55
rename gatewayconfig to dataplaneconfig
jenshu Mar 21, 2024
b7fc404
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 21, 2024
43146a1
remove serviceaccount
jenshu Mar 21, 2024
101a351
Merge branch 'gateway-config-crd' of github.com:solo-io/gloo into gat…
jenshu Mar 22, 2024
a574cfe
service: use enum, add more fields
jenshu Mar 22, 2024
ac987b1
api refactoring
jenshu Mar 25, 2024
0b16531
remove scheme from NewDeployer args
jenshu Mar 25, 2024
6c7d551
add more comments
jenshu Mar 25, 2024
8abcb78
enum pullpolicy, add digest
jenshu Mar 25, 2024
23ad4a4
use most values
jenshu Mar 26, 2024
a4922f8
use structs
jenshu Mar 26, 2024
75fff17
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 26, 2024
ba48834
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 26, 2024
78dcdad
remove mod-tidy and descriptions
jenshu Mar 26, 2024
9908b41
Merge branch 'gateway-config-crd' of github.com:solo-io/gloo into gat…
jenshu Mar 26, 2024
76a58f6
comment
jenshu Mar 26, 2024
e3b2491
move pod/container up a level
jenshu Mar 26, 2024
e9db45e
cl
jenshu Mar 26, 2024
abaf58a
comment out status field
jenshu Mar 26, 2024
7add066
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 26, 2024
beb2c6d
envoybootstrap
jenshu Mar 27, 2024
d782251
switch order
jenshu Mar 27, 2024
4a453b6
fix istiosds val
jenshu Mar 27, 2024
af38d03
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 27, 2024
008661b
Adding changelog file to new location
Mar 28, 2024
c635722
Deleting changelog file from old location
Mar 28, 2024
83b2d7d
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 29, 2024
ba1f925
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Mar 29, 2024
2a8a9d1
Adding changelog file to new location
Mar 29, 2024
fa32281
Deleting changelog file from old location
Mar 29, 2024
e224206
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 1, 2024
03965ef
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 1, 2024
0895400
Merge branch 'main' of github.com:solo-io/gloo into gateway-config-crd
jenshu Apr 1, 2024
2a52eae
cleanup from merge
jenshu Apr 1, 2024
7bd7edc
rename to gatewayparameters
jenshu Apr 2, 2024
79acb80
use annotation
jenshu Apr 2, 2024
bff2979
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 2, 2024
ccffcef
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 2, 2024
c768106
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 2, 2024
622f744
image plumbing
jenshu Apr 3, 2024
edb2dec
Merge branch 'gateway-config-crd' of github.com:solo-io/gloo into gat…
jenshu Apr 3, 2024
c1ca1c5
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 3, 2024
4fd37f2
fix tests for Extensions
jbohanon Apr 3, 2024
c3394db
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 3, 2024
4ed0510
Adding changelog file to new location
Apr 3, 2024
2b9a207
Deleting changelog file from old location
Apr 3, 2024
9f7270b
gateway config crd tests (#9312)
jbohanon Apr 4, 2024
caa26a5
remove gatewayclass mention
jenshu Apr 4, 2024
84bd287
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 4, 2024
a359beb
app name gloo-gateway
jenshu Apr 5, 2024
9b8c468
crd comment clarification
jenshu Apr 5, 2024
9b04a8b
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 5, 2024
1267082
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 5, 2024
5742d72
add readmes
jenshu Apr 5, 2024
6ce5f43
Merge branch 'gateway-config-crd' of github.com:solo-io/gloo into gat…
jenshu Apr 5, 2024
37881be
add nil inputs error and test
jbohanon Apr 5, 2024
1656834
watch for gatewayparams changes
jenshu Apr 8, 2024
2c9a86e
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 8, 2024
c8f06f5
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 9, 2024
4374c43
Adding changelog file to new location
Apr 9, 2024
31ce9de
Deleting changelog file from old location
Apr 9, 2024
ccd1280
readme and comment updates
jenshu Apr 9, 2024
a02bff6
deployer comments
jenshu Apr 9, 2024
ea82332
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 9, 2024
75fdb14
Merge refs/heads/main into gateway-config-crd
soloio-bulldozer[bot] Apr 9, 2024
d37aaee
componentLogLevels map
jenshu Apr 9, 2024
2ee32cc
remove proxyConfig
jenshu Apr 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions changelog/v1.17.0-beta17/gatewayparameters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
changelog:
- type: NEW_FEATURE
issueLink: https://github.com/solo-io/solo-projects/issues/5909
resolvesIssue: false
description: >-
Add new GatewayParameters CRD to allow configuration of dynamically provisioned proxies
in Gloo Gateway.
14 changes: 11 additions & 3 deletions generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@ import (
//go:generate go run generate.go

func main() {
log.Printf("starting generate")
log.Printf("starting generate for gloo")

// explicitly specify the directories to be built (i.e. do not build gateway2 since
// it causes compilation errors in solo-kit, and also because gateway2 protos are not
// needed for gloo edge classic)
protoImports := sk_anyvendor.CreateDefaultMatchOptions(
[]string{"projects/**/*.proto", sk_anyvendor.SoloKitMatchPattern},
[]string{
"projects/gloo/**/*.proto",
"projects/gateway/**/*.proto",
"projects/ingress/**/*.proto",
sam-heilbron marked this conversation as resolved.
Show resolved Hide resolved
sk_anyvendor.SoloKitMatchPattern,
},
)
protoImports.External["github.com/solo-io/solo-apis"] = []string{
"api/rate-limiter/**/*.proto", // Import rate limit API
Expand Down Expand Up @@ -72,5 +80,5 @@ func main() {
if err := cmd.Generate(generateOptions); err != nil {
log.Fatalf("generate failed!: %v", err)
}
log.Printf("finished generating code")
log.Printf("finished generating code for gloo")
}
7 changes: 7 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ require (
github.com/go-stack/stack v1.8.0 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/go-test/deep v1.0.7 // indirect
github.com/gobuffalo/envy v1.8.1 // indirect
github.com/gobuffalo/packd v1.0.1 // indirect
github.com/gobuffalo/packr v1.30.1 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/snappy v0.0.4 // indirect
Expand Down Expand Up @@ -202,12 +205,15 @@ require (
github.com/hashicorp/vault/sdk v0.6.0 // indirect
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
github.com/huandu/xstrings v1.4.0 // indirect
github.com/iancoleman/orderedmap v0.0.0-20190318233801-ac98e3ecb4b0 // indirect
github.com/iancoleman/strcase v0.2.0 // indirect
github.com/imroc/req v0.3.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/invopop/jsonschema v0.7.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jmespath/go-jmespath v0.3.0 // indirect
github.com/jmoiron/sqlx v1.3.5 // indirect
github.com/joho/godotenv v1.3.0 // indirect
github.com/jonboulle/clockwork v0.2.2 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
Expand Down Expand Up @@ -268,6 +274,7 @@ require (
github.com/shopspring/decimal v1.3.1 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/solo-io/anyvendor v0.0.4 // indirect
github.com/solo-io/cue v0.4.7 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/stretchr/testify v1.8.4 // indirect
Expand Down
35 changes: 35 additions & 0 deletions go.sum

Large diffs are not rendered by default.

613 changes: 613 additions & 0 deletions install/helm/gloo/crds/gateway.gloo.solo.io_crds.yaml

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions install/helm/gloo/templates/44-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ metadata:
{{- include "gloo-gateway.gateway.constLabels" . | nindent 4 }}
{{- include "gloo-gateway.controlPlane.labels" . | nindent 4 }}
rules:
- apiGroups:
sam-heilbron marked this conversation as resolved.
Show resolved Hide resolved
- "gateway.gloo.solo.io"
resources:
- gatewayparameters
verbs: ["get", "list", "watch"]
- apiGroups:
- ""
resources:
Expand Down
Loading
Loading