forked from jsonnet-libs/k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add aiven-operator (jsonnet-libs#196)
* Add aiven-operator * Remove unused file
- Loading branch information
1 parent
1992340
commit 24c7a5f
Showing
1 changed file
with
30 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
local config = import 'jsonnet/config.jsonnet'; | ||
|
||
config.new( | ||
name='aiven', | ||
specs=[ | ||
{ | ||
# output directory, usually the version of the upstream application/CRD | ||
output: '0.3.0', | ||
|
||
# crds Endpoints of the CRD manifests, should be omitted if there is an openapi spec | ||
# Only resources of kind CustomResourceDefintion are applied; the default policy is to just | ||
# pass in the CRDs here though. | ||
crds: ['https://github.com/aiven/aiven-operator/releases/download/v0.3.0/deployment.yaml'], | ||
|
||
# openapi spec v2 endpoint | ||
# No need to define this if `crds` is defined | ||
// openapi: 'http://localhost:8001/openapi/v2', | ||
|
||
# prefix Regex that should match the reverse of the CRDs spec.group | ||
# for example `group: networking.istio.io` | ||
# would become ^io\\.istio\\.networking\\..*" | ||
prefix: '^io\\.aiven\\..*', | ||
|
||
# localName used in the docs for the example(s) | ||
localName: 'aiven', | ||
}, | ||
] | ||
) | ||
|
||
|