-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(grafana-alloy): add Grafana Alloy (#499)
This commit adds the Grafana Alloy (https://github.com/grafana/alloy/) CRDs in version 1.6.1.
- Loading branch information
1 parent
ad09991
commit a11f503
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -1419,6 +1419,46 @@ | |
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}" | ||
"if": "steps.filter.outputs.workflows == 'true'" | ||
"run": "make libs/grafana-agent" | ||
"grafana-alloy": | ||
"name": "Generate grafana-alloy Jsonnet library and docs" | ||
"needs": | ||
- "build" | ||
- "repos" | ||
"runs-on": "ubuntu-latest" | ||
"steps": | ||
- "uses": "actions/checkout@v4" | ||
- "id": "filter" | ||
"uses": "dorny/paths-filter@v3" | ||
"with": | ||
"filters": | | ||
workflows: | ||
- '.github/**' | ||
- 'bin/**' | ||
- 'Dockerfile' | ||
- 'go.mod' | ||
- 'go.sum' | ||
- 'jsonnet/**' | ||
- 'main.go' | ||
- 'Makefile' | ||
- 'pkg/**' | ||
- 'scripts/**' | ||
- 'tf/**' | ||
- 'libs/grafana-alloy/**' | ||
- "if": "steps.filter.outputs.workflows == 'true'" | ||
"uses": "actions/download-artifact@v4" | ||
"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/grafana-alloy" | ||
"grafana-operator": | ||
"name": "Generate grafana-operator Jsonnet library and docs" | ||
"needs": | ||
|
@@ -2413,6 +2453,7 @@ | |
- "gateway-api" | ||
- "google-cloud-sql-proxy-operator" | ||
- "grafana-agent" | ||
- "grafana-alloy" | ||
- "grafana-operator" | ||
- "harbor-operator" | ||
- "istio" | ||
|
This file contains 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,21 @@ | ||
local config = import 'jsonnet/config.jsonnet'; | ||
|
||
local versions = [ | ||
{ output: '1.6', version: '1.6.1' }, | ||
]; | ||
|
||
config.new( | ||
name='grafana-alloy', | ||
specs=[ | ||
{ | ||
local url = 'https://raw.githubusercontent.com/grafana/alloy/refs/tags/v%s/operations/helm/charts/alloy/charts/crds/crds' % v.version, | ||
output: v.output, | ||
prefix: '^com\\.grafana\\..*', | ||
crds: [ | ||
'%s/monitoring.grafana.com_podlogs.yaml' % url, | ||
], | ||
localName: 'grafana-alloy', | ||
} | ||
for v in versions | ||
] | ||
) |