Skip to content

Commit

Permalink
chore: Add envoy-gateway (#402)
Browse files Browse the repository at this point in the history
* chore: Add envoy-gateway

* Jsonnetfmt the new file

* GitHub workflows change
  • Loading branch information
wimnat authored Mar 5, 2024
1 parent c534bb9 commit 3d68a5c
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,46 @@
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/emissary"
"envoy-gateway":
"name": "Generate envoy-gateway Jsonnet library and docs"
"needs":
- "build"
- "repos"
"runs-on": "ubuntu-latest"
"steps":
- "uses": "actions/checkout@v3"
- "id": "filter"
"uses": "dorny/paths-filter@v2"
"with":
"filters": |
workflows:
- '.github/**'
- 'bin/**'
- 'Dockerfile'
- 'go.mod'
- 'go.sum'
- 'jsonnet/**'
- 'main.go'
- 'Makefile'
- 'pkg/**'
- 'scripts/**'
- 'tf/**'
- 'libs/envoy-gateway/**'
- "if": "steps.filter.outputs.workflows == 'true'"
"uses": "actions/download-artifact@v2"
"with":
"name": "docker-artifact"
"path": "artifacts"
- "if": "steps.filter.outputs.workflows == 'true'"
"run": "make load"
- "env":
"DIFF": "true"
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
"GIT_COMMITTER_EMAIL": "[email protected]"
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/envoy-gateway"
"external-dns":
"name": "Generate external-dns Jsonnet library and docs"
"needs":
Expand Down Expand Up @@ -1960,6 +2000,7 @@
- "eck-operator"
- "edp-keycloak-operator"
- "emissary"
- "envoy-gateway"
- "external-dns"
- "external-secrets"
- "flagger"
Expand Down
15 changes: 15 additions & 0 deletions libs/envoy-gateway/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
local config = import 'jsonnet/config.jsonnet';
local versions = ['v0.6.0'];

config.new(
name='envoy-gateway',
specs=[
{
output: version,
prefix: '^io\\.envoyproxy\\.gateway\\..*',
crds: ['https://github.com/envoyproxy/gateway/releases/download/%s/install.yaml' % version],
localName: 'envoy-gateway',
}
for version in versions
]
)

0 comments on commit 3d68a5c

Please sign in to comment.