Making it an actual typescript operator framework #510
yairyairyair
started this conversation in
Ideas
Replies: 1 comment
-
If this is not the scope or not the purpose of this project then let me know |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am thinking about this project and it can be an operator framework like other golang based operator frameworks or rust based. This will be typescript cdk8s based.
Once a chart/App is defined instead of creating an operator and synthing it, we will create an operator like this:
Const operator = new Operator({
apiVersion:'blablabla',
kind: 'MyCustomCRD',
apply: (props=>new MyChart(props))
})
await operator.listen();
The operator will listen to the custom CR via k8s client and api-server and will apply the chart when a new CR is create or updated, if it is deleted it will delete the resources.
Simple to use, simple to implement, simple to consume.
Beta Was this translation helpful? Give feedback.
All reactions