verifa / horizon Goto Github PK
View Code? Open in Web Editor NEWBuilding blocks and patterns for creating a minimal internal developer platform
License: Apache License 2.0
Building blocks and patterns for creating a minimal internal developer platform
License: Apache License 2.0
In the Greetings demo, the extension
link results in 404 error because the file doesn't exist.
The greetings example does not have an HTTP handler. Add one.
Right now the reconcile loop happens in a Go routine, and there is nothing to block and wait for it to finish.
Reconcile loops do important stuff, so we should sit and wait for them to finish.
Implement something like a sync.WaitGroup
in the ctlr.Stop()
method, or similar.
Writing reconcile logic always requires serious head scratching. In some cases, you simply want to separate the Create from the Update from the Delete.
It would be possible to provide some basic construct for doing Create/Update/Delete operations on objects, as an alternative to a Reconciler
.
How this could work requires some thought.
Return an operation result from an apply, such as: Updated
, Created
, NoChange
, Conflict
.
Currently the store does not check whether an accounts exists or not when creating objects.
We can get some inspiration from Kubernetes admission webhooks:
https://book.kubebuilder.io/cronjob-tutorial/webhook-implementation
Objects will not just be created. They will likely be mutated afterwards.
Hence it makes a lot of sense that creating an object also uses server-side apply managed fields.
If the auth
package supported a Roles(...)
method to get the list of roles for a user (e.g. based on groups and role bindings) this could be attached to the UserInfo and used by a web UI to hide/show elements, for example.
Create an Account watcher that automatically provisions default Roles and RoleBindings for that account.
This could be part of some "tutorials" or something.
This is fairly straightforward to implement, but the implications on server-side apply and managed fields needs to be carefully considered.
E.g. if a user applies an object (therefore managing those fields), if the mutator then adds some fields, who owns those fields?
Currently Account
sensitive information, like NATS NKeys for creating users, is stored directly in the Account.status
.
Move this to a secret, a bit like Kubernetes ServiceAccounts work.
Something similar to Terraform's lifecycle prevent destroy, to add an extra layer of protection for critical objects.
nice system architecture with Cue and NATS. Kind of perfect light system
htmx or htmz based GUI would be nice. If you have a Issue / Epic for it I can take a shot at it.
htmz is an iframe hack: https://github.com/Kalabasa/htmz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.