versionstore-operator

Crates.ioversionstore-operator
lib.rsversionstore-operator
version0.1.1
sourcesrc
created_at2022-02-03 17:24:59.914144
updated_at2022-02-03 17:29:45.686839
descriptionA k8s operator that updates deployment pod versions based on an external key-value store
homepagehttps://github.com/farcaller/versionstore-operator
repositoryhttps://github.com/farcaller/versionstore-operator
max_upload_size
id526320
size107,370
Vladimir Pouzanov (farcaller)

documentation

README

versionstore-operator

A k8s operator that updates deployment pod versions based on an external key-value store

Crates.io License

  1. About

About

versionstore-operator observes the changes in an external key-value store and updates the k8s Deployment image tags. This allows one to e.g. decouple CI from the k8s cluster, as the CI can update the tag in the version store and the operator will then update the deployments within the cluster.

Usage

$ versionstore-operator --gcp-project ${PROJECT} --gcp-gcs-bucket ${BUCKET} --gcp-pubsub-topic ${TOPIC} --gcp-pubsub-subscription ${TOPIC_SUBSCRIPTION}
  • PROJECT: GCP project that contains the GCS bucket and the PubSub subscription
  • BUCKET: GCS storage bucket that contains the image versions
  • TOPIC: Cloud PubSub topic that GCS publishes updates to
  • TOPIC_SUBSCRIPTION: The existing Cloud PubSub subscription for the topic
Commit count: 11

cargo fmt