Skip to content

Commit

Permalink
Add spicedb-operator (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
bison authored May 14, 2024
1 parent 734dc60 commit 93c336c
Show file tree
Hide file tree
Showing 2 changed files with 58 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 @@ -2110,6 +2110,7 @@
- "rabbitmq-messaging-topology-operator"
- "secrets-store-csi-driver"
- "securecodebox"
- "spicedb-operator"
- "strimzi"
- "teleport-operator"
- "traefik"
Expand Down Expand Up @@ -2231,6 +2232,46 @@
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/securecodebox"
"spicedb-operator":
"name": "Generate spicedb-operator 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/spicedb-operator/**'
- "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/spicedb-operator"
"strimzi":
"name": "Generate strimzi Jsonnet library and docs"
"needs":
Expand Down
17 changes: 17 additions & 0 deletions libs/spicedb-operator/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
local config = import 'jsonnet/config.jsonnet';
local versions = [
{ version: '1.14', tag: 'v1.14.0' },
];

config.new(
name='spicedb-operator',
specs=[
{
output: v.version,
prefix: '^com\\.authzed\\..*',
crds: ['https://raw.githubusercontent.com/authzed/spicedb-operator/%(tag)s/config/crds/authzed.com_spicedbclusters.yaml' % v],
localName: 'spicedb-operator',
}
for v in versions
]
)

0 comments on commit 93c336c

Please sign in to comment.