* Chore: Bump golang.org/x/net to v0.36.0
* Chore: Bump filippo.io/age to v1.2.1
* Chore: Bump github.com/ua-parser/uap-go to v0.0.0-20250213224047-9c035f085b90
* Chore: Bump github.com/moby/moby to v27.5.1
* Chore: Bump github.com/go-jose/go-jose/v3 to v3.0.4
* Zanzana: bump openfga version (#94485)
* Bump openfga
* Remove internall sqlite implementation for openfga
* Use sqlite implementation from openfga
(cherry picked from commit 9ece88d585)
* Chore: Bump github.com/openfga/openfga to v1.8.5
* Chore: Bump github.com/elazarl/goproxy to v1.7.1
* Chore: Pin Prometheus to v1.20.3 for ngalert
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Kubernetes HACK Alert
This is a hack folder for kubernetes codegen scripts. Oddly, a /hack/ folder seems to be standard kubernetes development practice ¯_(ツ)_/¯
The workflow is a WIP, however we are trying to leverage as many off-the-shelf patterns as possible.
For these scripts to work, your local GOROOT/src/grafana/grafana must point to this git checkout. For my setup this is:
❯ pwd
/Users/ryan/go/src/github.com/grafana
❯ ls -l
total 0
lrwxr-xr-x 1 ryan staff 37 Oct 5 09:34 grafana -> /Users/ryan/workspace/grafana/grafana
The current workflow is to run the following:
# ensure k8s.io/code-generator pkg is up to date
go mod download
# the happy path
./hack/update-codegen.sh
Note that the script deletes existing openapi go code and regenerates in place so that you will temporarily see
deleted files in your git status. After a successful run, you should see them restored.
If resource client is not generated for your resource make sure that it follows the k8s guidelines for structuring the resource definition
- the directory is named after resource version, i.e.
<resource_name>/v<version>(e.g. service/v0alpha1) - the resource directory contains file
types.gothat includes resource definitions - the resource definitions are annotated with comment
// +genclient