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

Latest commit

 

History

History
40 lines (28 loc) · 1.99 KB

File metadata and controls

40 lines (28 loc) · 1.99 KB

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