No description
Find a file
2021-06-22 09:24:35 +02:00
doc use dryrun instead of kubeval 2021-06-22 09:21:07 +02:00
infrastructure/docker initial 2021-02-12 15:47:14 +01:00
public fix tests 2021-03-19 15:53:47 +01:00
src changed to hourly execution 2021-06-22 09:17:35 +02:00
.gitignore working deployment 2021-04-16 16:28:19 +02:00
.gitlab-ci.yml use dryrun instead of kubeval 2021-06-22 09:24:35 +02:00
graalvm-resource-config.json improve gralvm handling 2021-03-26 13:54:11 +01:00
LICENSE.md initial 2021-02-12 15:47:14 +01:00
package.json version bump 2021-04-19 18:30:30 +02:00
project.clj fix doc 2021-06-01 20:54:00 +02:00
README.md add rational 2021-04-26 17:57:22 +02:00
shadow-cljs.edn format 2021-06-18 13:39:31 +02:00

k8s-mastodon-bot

Clojars Project pipeline status

DeltaChat chat over e-mail | team@social.meissa-gmbh.de team@social.meissa-gmbh.de | Website & Blog

Purpose

k8s-mastodon-bot generates a k8s cron-job for your mastodon-bot. All inputs are validated, generaterd yaml will be wellformed, indenet and escaped.

Rational

There are many comparable solutions for creating k8s deployments like helm or kustomize. Why do we need another one?

  • We like the simplicity of kustomize. Yaml in, yaml out, the ability to lint the result and the option to split large yaml files into objects. But a simple overwriting per environment may not be enough ...
  • We like helm packages. A package encapsulates the setup for an application. On the one hand, but on the other hand we don't like the idea of having to program and debug in a template language. We can program much better in real programming languages.

Our k8s-* tools combine the advantages of both approaches:

  • Packages for one application
  • Programming in clojure
  • yaml / edn as input and output, no more magic
  • good validation, integration as api, cli or in the browser

Try out

Click on the image to try out live in your browser:

Try it out

Your input will stay in your browser. No server interaction is required.

You will also be able to try out on cli:

target/graalvm/k8s-mastodon-bot src/test/resources/valid-config.edn src/test/resources/valid-auth.edn | kubeval -
target/graalvm/k8s-mastodon-bot src/test/resources/valid-config.edn src/test/resources/valid-auth.edn | kubectl apply -f -

License

Copyright © 2021 meissa GmbH Licensed under the Apache License, Version 2.0 (the "License") Pls. find licenses of our subcomponents here