object-propagation

command
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

README

Object Propagation Controller

This controller source objects into the target namespaces.

Each set of source objects is specified using:

  • apiVersion - required
  • kind - required
  • namespace - required
  • label selector - may be empty ("")

The target namespace is specified by a label selector, which may be empty ("").

target.detectAndReplaceSourceNSRef can be used to indicate that references to the source namespace should be replaced with the target namespace.

The controller reads configuration provided via --input CLI parameter (default: /dev/stdin). Example input:

- source:
    apiVersion: v1
    kind: ConfigMap
    namespace: tanzu-system
    labelSelector: 'run.tanzu.vmware.com/propagated'
  target:
    namespaceLabelSelector: '!cluster.x-k8s.io/provider'
    detectAndReplaceSourceNSRef: true
- source:
    apiVersion: v1
    kind: Secret
    namespace: tanzu-system
    labelSelector: 'run.tanzu.vmware.com/propagated'
  target:
    namespaceLabelSelector: '!cluster.x-k8s.io/provider'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package config provides structs for parsing object-propagation controller configuration.
Package config provides structs for parsing object-propagation controller configuration.
Package propagation provides object-propagation controller reconciler.
Package propagation provides object-propagation controller reconciler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL