package
0.20.0
Repository: https://github.com/kcp-dev/contrib-tmc.git
Documentation: pkg.go.dev

# README

nsmap

Name

nsmap - performs rewriting of Kubernetes namespace in DNS name.

Description

Rewrite DNS names from <service>.<logical-namespace>.svc.<zone> to <service>.<physical-namespace>.svc.<zone>

Syntax

nsmap  

# Functions

StartWatcher starts watching for nsmap ConfigMap updates and notifies the given callback when an update occurs.

# Variables

ConfigMapName is the name of the configmap containing logical to physical namespace mappings.

# Structs

LogicalToPhysicalNamespaceMapper is a CoreDNS plugin to map logical namespaces to physical namespaces.

# Type aliases

OnUpdateFn is the function signature for receiving ConfigMap updates.