A breaking change was introduced by this grafana-app-sdk PR: https://github.com/grafana/grafana-app-sdk/pull/795 This PR refactors the definition of our CUE files (manifest and kinds) to match the new model in the latest version of grafana-app-sdk.
20 lines
329 B
CUE
20 lines
329 B
CUE
package kinds
|
|
|
|
import (
|
|
"github.com/grafana/grafana/apps/iam/kinds/v0alpha1"
|
|
)
|
|
|
|
serviceaccountKind: {
|
|
kind: "ServiceAccount"
|
|
pluralName: "ServiceAccounts"
|
|
codegen: {
|
|
ts: { enabled: false }
|
|
go: { enabled: true }
|
|
}
|
|
}
|
|
|
|
serviceaccountv0alpha1: serviceaccountKind & {
|
|
schema: {
|
|
spec: v0alpha1.ServiceAccountSpec
|
|
}
|
|
} |