-
Notifications
You must be signed in to change notification settings - Fork 45
feat: add Envoy Gateway Component #2685
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
Merged
Merged
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b76b779
feat: add Envoy Gateway Component
chance-coleman 9aa7c63
Merge branch 'main' into chance/core-482
chance-coleman dca48e7
fix(envoy-gateway): fix CI failures for registry1 image, SSA upgrade …
chance-coleman a1f86a0
fix image arch test
chance-coleman 7c44b11
add basic e2e tests
chance-coleman 8dd2477
fix: lint
chance-coleman 135bc2b
pr feedback: fix license header date and remove empty helpers.tpl file
chance-coleman 9420051
pr feedback: address comments
chance-coleman babf613
fix: lint
chance-coleman c85787d
Merge branch 'main' into chance/core-482
chance-coleman 423ea34
Merge branch 'main' into chance/core-482
chance-coleman bc7263d
Merge branch 'main' into chance/core-482
chance-coleman 5a2b735
pr feedback: envoy proxy image and override
chance-coleman f7f1340
fix a few things
chance-coleman 26701a2
add minimal e2e test
chance-coleman 3097ae7
chore: update envoy distroless for reg1, remove e2e-test
chance-coleman 7d0c1c7
fix: add tests back
chance-coleman 3269dc3
fix: deploy envoy gateway config as raw manifests
chance-coleman aaf7f6c
fix: move EnvoyProxy and GatewayClass into config chart
chance-coleman c62ecc4
fix: apply EnvoyProxy and GatewayClass via kubectl to avoid Zarf heal…
chance-coleman 1928c4b
fix(envoy-gateway): manage GatewayClass via config chart, remove Envo…
chance-coleman 716a0f5
chore: remove envoy-gateway-crds pre-apply component
chance-coleman a1d11e8
chore: enable envoy-gateway in iac bundles
chance-coleman 8dc7f46
fix: add network policy egress for managed envoy proxy pods
chance-coleman 9158b69
fix(ci): bump postgres engine version to 16.14 for AWS RDS 16.8 hit e…
chance-coleman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| apiVersion: v2 | ||
| name: uds-envoy-gateway-config | ||
| version: 0.1.0 | ||
| description: "UDS configuration chart for Envoy Gateway" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| apiVersion: gateway.networking.k8s.io/v1 | ||
| kind: GatewayClass | ||
| metadata: | ||
| name: envoy-gateway | ||
| spec: | ||
| controllerName: gateway.envoyproxy.io/gatewayclass-controller |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| apiVersion: uds.dev/v1alpha1 | ||
| kind: Package | ||
| metadata: | ||
| name: envoy-gateway | ||
| namespace: {{ .Release.Namespace }} | ||
| spec: | ||
| monitor: | ||
| - selector: | ||
| control-plane: envoy-gateway | ||
| portName: metrics | ||
| targetPort: 19001 | ||
| description: Metrics | ||
| network: | ||
| serviceMesh: | ||
| mode: ambient | ||
| allow: | ||
| - direction: Egress | ||
| selector: | ||
| control-plane: envoy-gateway | ||
| remoteGenerated: KubeAPI | ||
| description: "KubeAPI access for controller" | ||
| - direction: Egress | ||
| selector: | ||
| control-plane: envoy-gateway | ||
| remoteGenerated: IntraNamespace | ||
| description: "Intra-namespace communication for managed proxies and cert generation" | ||
| - direction: Ingress | ||
| selector: | ||
| control-plane: envoy-gateway | ||
| remoteGenerated: IntraNamespace | ||
| description: "Intra-namespace communication from managed proxies" | ||
| - direction: Ingress | ||
| selector: | ||
| control-plane: envoy-gateway | ||
| # todo: evaluate a "KubeAPI" ingress generated rule for webhook calls | ||
| remoteGenerated: Anywhere | ||
| port: 9443 | ||
| description: "Webhook admission from kube-apiserver" | ||
| - direction: Egress | ||
| selector: | ||
| app: certgen | ||
| remoteGenerated: KubeAPI | ||
| description: "KubeAPI access for certgen pre-install job" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| kind: ZarfPackageConfig | ||
| metadata: | ||
| name: uds-core-envoy-gateway-common | ||
| description: "UDS Core Envoy Gateway Common" | ||
| url: https://github.com/envoyproxy/gateway | ||
|
|
||
| components: | ||
| - name: envoy-gateway | ||
| required: false | ||
| charts: | ||
| - name: envoy-gateway | ||
| namespace: envoy-gateway-system | ||
| url: oci://docker.io/envoyproxy/gateway-helm | ||
| version: v1.8.0 | ||
| # SSA disabled to avoid field manager conflict: the chart's crds/ dir contains the | ||
| # safe-upgrades.gateway.networking.k8s.io VAP, which Istio already owns with field | ||
| # manager "uds". SSA causes a conflict on the .spec.matchConstraints field. | ||
| # Once https://github.com/envoyproxy/gateway/issues/8560 lands we can skip CRDs | ||
| # entirely and remove this. | ||
| serverSideApply: "false" | ||
| valuesFiles: | ||
| - "../values/values.yaml" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| tasks: | ||
| - name: validate | ||
| actions: | ||
| - description: Wait for envoy-gateway deployment to be ready | ||
| wait: | ||
| cluster: | ||
| kind: Deployment | ||
| name: envoy-gateway | ||
| namespace: envoy-gateway-system | ||
| condition: available | ||
| - description: Wait for GatewayClass envoy-gateway to be accepted | ||
| wait: | ||
| cluster: | ||
| kind: GatewayClass | ||
| name: envoy-gateway | ||
| condition: Accepted | ||
|
|
||
| - name: e2e-test | ||
| actions: | ||
| - description: "Run Envoy Gateway E2E tests" | ||
| cmd: | | ||
| npm ci && npx vitest run "envoy-gateway" | ||
| dir: test/vitest | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| global: | ||
| images: | ||
| envoyGateway: | ||
| image: registry1.dso.mil/ironbank/opensource/envoy_proxy/community/gateway:v1.8.0 | ||
| envoyProxy: | ||
| image: registry1.dso.mil/ironbank/opensource/envoy_proxy/envoy-distroless:v1.38.0 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| global: | ||
| images: | ||
| envoyGateway: | ||
| image: cgr.dev/defenseunicorns.com/envoy-gateway-fips:1.8.0 | ||
| envoyProxy: | ||
| image: cgr.dev/defenseunicorns.com/envoy-fips:distroless-v1.38.0 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| global: | ||
| images: | ||
| envoyGateway: | ||
| image: docker.io/envoyproxy/gateway:v1.8.0 | ||
| envoyProxy: | ||
| image: docker.io/envoyproxy/envoy:distroless-v1.38.0 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Copyright 2024-2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # Copyright 2026 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| kind: ZarfPackageConfig | ||
| metadata: | ||
| name: uds-core-envoy-gateway | ||
| description: "UDS Core Envoy Gateway" | ||
| url: https://github.com/envoyproxy/gateway | ||
|
|
||
| components: | ||
| - name: envoy-gateway | ||
| required: false | ||
| only: | ||
| flavor: upstream | ||
| import: | ||
| path: common | ||
| charts: | ||
| - name: envoy-gateway | ||
| valuesFiles: | ||
| - "values/upstream-values.yaml" | ||
| - name: uds-envoy-gateway-config | ||
| namespace: envoy-gateway-system | ||
| version: 0.1.0 | ||
| localPath: chart | ||
| valuesFiles: | ||
| - "values/upstream-values.yaml" | ||
| images: | ||
| - docker.io/envoyproxy/gateway:v1.8.0 | ||
| - docker.io/envoyproxy/envoy:distroless-v1.38.0 | ||
|
|
||
| - name: envoy-gateway | ||
| required: false | ||
| only: | ||
| flavor: registry1 | ||
| import: | ||
| path: common | ||
| charts: | ||
| - name: envoy-gateway | ||
| valuesFiles: | ||
| - "values/registry1-values.yaml" | ||
| - name: uds-envoy-gateway-config | ||
| namespace: envoy-gateway-system | ||
| version: 0.1.0 | ||
| localPath: chart | ||
| valuesFiles: | ||
| - "values/registry1-values.yaml" | ||
| images: | ||
| - registry1.dso.mil/ironbank/opensource/envoy_proxy/community/gateway:v1.8.0 | ||
| - registry1.dso.mil/ironbank/opensource/envoy_proxy/envoy-distroless:v1.38.0 | ||
|
|
||
| - name: envoy-gateway | ||
| required: false | ||
| only: | ||
| flavor: unicorn | ||
| import: | ||
| path: common | ||
| charts: | ||
| - name: envoy-gateway | ||
| valuesFiles: | ||
| - "values/unicorn-values.yaml" | ||
| - name: uds-envoy-gateway-config | ||
| namespace: envoy-gateway-system | ||
| version: 0.1.0 | ||
| localPath: chart | ||
| valuesFiles: | ||
| - "values/unicorn-values.yaml" | ||
| images: | ||
| - cgr.dev/defenseunicorns.com/envoy-gateway-fips:1.8.0 | ||
| - cgr.dev/defenseunicorns.com/envoy-fips:distroless-v1.38.0 |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.