Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

🐳 This project is impletation of "Admission Webhook Controller" of k8s , made possible to inject consul-template image as a init and sidecar container.

Notifications You must be signed in to change notification settings

Trendyol/trendyol-consul-template-injector

Repository files navigation

Welcome to trendyol-consul-template-injector 👋

Version Documentation License: MIT

This projects is an implementation of "Admission Webhook Controllers" concept in Kubernetes , checkout this page to get more detail about admission https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/

trendyol-consul-template-injector injects trendyol-consul-template image (https://hub.docker.com/r/trendyoltech/trendyol-consul-template) as a sidecar container into your application's pod.

It is configured using these annotations:

  • "trendyol.com/consul-template-inject" -> "true" for enabling sidecar injection
  • "trendyol.com/consul-template-consul-addr" -> consul url
  • "trendyol.com/consul-template-template-config-map-name" -> configmap name which contains configuration template file which is needed by consul-template for rendering configuration file for your application
  • "trendyol.com/consul-template-output-file" -> path to configuration file which is rendered by the consul-template

Example pod with annotations and config map are given in examples folder.

Demo

Author

👤 Trendyol

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

🐳 This project is impletation of "Admission Webhook Controller" of k8s , made possible to inject consul-template image as a init and sidecar container.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published