https://github.com/logicmonitor/lm-k8s-webhook
https://github.com/logicmonitor/lm-k8s-webhook
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/logicmonitor/lm-k8s-webhook
- Owner: logicmonitor
- License: mpl-2.0
- Created: 2021-09-21T09:10:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T21:19:41.000Z (over 2 years ago)
- Last Synced: 2025-05-22T03:38:20.831Z (about 1 year ago)
- Language: Go
- Size: 1.55 MB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LM-K8s-Webhook
[](https://codecov.io/gh/logicmonitor/lm-k8s-webhook)
[](https://github.com/logicmonitor/lm-k8s-webhook/actions/workflows/continuous-integration.yml)
[](https://pkg.go.dev/github.com/logicmonitor/lm-k8s-webhook)
[](https://goreportcard.com/report/github.com/logicmonitor/lm-k8s-webhook)
## Overview
**LM-K8s-Webhook** is the implementation of the [Kubernetes Mutating Admission webhook](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/). Some of the key features of the `LM-K8s-Webhook` are:
- LM-K8s-Webhook can be used to inject the kubernetes specific resource attributes like pod name, ip, pod namespace, service namespace, pod UUID in the pod as an environment variable, which avoids the need of manually updating the deployment manifests to include these resource attributes.
- Custom environment variables can also be injected by passing the external configuration.
## Getting started
See the [Getting Started](https://logicmonitor.github.io/lm-k8s-webhook/) document.
## Troubleshooting
If you encounter issues, review the [troubleshooting docs](https://logicmonitor.github.io/lm-k8s-webhook/troubleshooting-guide/)
## License
[](https://github.com/logicmonitor/lm-k8s-webhook/blob/main/LICENSE)