Skip to content

stenic/well-known

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Well-known

A tiny service collecting and aggregating well-known 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

apiVersion: v1
kind: Service
metadata:
  annotations:
    well-known.stenic.io/test-config: |
      {"example": "value"}
curl http://[ingress]/.well-known/test-config

{
    "example": "value"
}