Apps: Add Example App to ./apps (#112069)
* [API Server] Add Example App for reference use. * Remove Printlns. * Upgrade app-sdk to v0.46.0, update apps to handle breaking changes. * Only start the reconciler for the example app if the v1alpha1 API version is enabled. * Some comment doc updates. * Run make update-workspace * Set codeowner for /apps/example * Run make gofmt and make update-workspace * Run prettier on apps/example/README.md * Add COPY apps/example to Dockerfile * Add an authorizer to the example app. * Fix import ordering. * Update apps/example/kinds/manifest.cue Co-authored-by: Owen Diehl <ow.diehl@gmail.com> * Run make update-workspace * Re-run make gen-go for enterprise import updates * Run make update-workspace --------- Co-authored-by: Owen Diehl <ow.diehl@gmail.com>
This commit is contained in:
co-authored by
Owen Diehl
parent
d25f5199c7
commit
bf65c43783
@@ -0,0 +1,15 @@
|
||||
package kinds
|
||||
|
||||
// This is the v0alpha1 version of the kind. Please see v1alpha1 for more complete comments
|
||||
// and a more complex schema and set of capabilities.
|
||||
examplev0alpha1: exampleKind & {
|
||||
schema: {
|
||||
// Spec is the schema of our resource. The spec should include all the user-editable information for the kind.
|
||||
spec: {
|
||||
firstField: int
|
||||
}
|
||||
status: {
|
||||
lastObservedGeneration: int64
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user