https://github.com/stenic/well-known
well-known
https://github.com/stenic/well-known
kubernetes service-discovery well-known
Last synced: 6 months ago
JSON representation
well-known
- Host: GitHub
- URL: https://github.com/stenic/well-known
- Owner: stenic
- License: other
- Created: 2023-03-11T19:58:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-17T01:14:36.000Z (7 months ago)
- Last Synced: 2025-12-20T14:40:28.974Z (7 months ago)
- Topics: kubernetes, service-discovery, well-known
- Language: Go
- Homepage:
- Size: 141 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Well-known
A tiny service collecting and aggregating [well-known](https://www.rfc-editor.org/rfc/rfc5785) data from
services in the same Kubernetes namespace. The data is merged and exposed as a JSON object.
## Usage
Add an annotation to a service:
| annotation | path |
| ------------------------------ | --------------------- |
| ` well-known.stenic.io/[path]` | `/.well-known/[path]` |
## Example
```yaml
apiVersion: v1
kind: Service
metadata:
annotations:
well-known.stenic.io/test-config: |
{"example": "value"}
```
```
curl http://[ingress]/.well-known/test-config
{
"example": "value"
}
```