Giter Site home page Giter Site logo

cluster-template's People

Contributors

lottspot avatar themightychris avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

nbey

cluster-template's Issues

publish GitHub action to apply a holobranch to a k8s cluster

Publish a javascript action for deploying a holobranch to a cluster

Potential inputs:

  • holobranch: Name of holobranch containing Kubernetes content
  • kubeconfig: Contents of kubeconfig file to use for authentication
  • ref: Commit-ish to read holobranch from (defaults to action context)
  • diff-since: Commit-ish of the last deployed source to compute a diff from to apply a changeset to the cluster
    • only way to have k8s resources get deleted when they're removed from git
    • defaults to unset, so entire content tree gets applied recursively
    • might typically be set to the previous head github action variable in pull request events
  • namespace: Namespace to apply manifests within, defaults to whatever is in kubeconfig

If the action is triggered from a PR, it should post comments back to the PR throughout the deploy process, documenting when projection starts, when deployment starts, each cohort of resources and their results, and the final result

minimize cluster-deployer clusterrole

Some projects are using a clusterrole provided in the jarvus library to create auth for github actions to kubectl diff and kubectl apply the whole cluster. The current example uses total * wildcards, perhaps the verbs could be restricted and still support deployment?

Also, should the manifests for such a role be baked into the cluster-template?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.