--- apiVersion: v1 kind: ConfigMap metadata: name: pdbmux-env namespace: pdbmux data: PDBMUX_LISTEN: ":8080" # Two PuppetDB backends merged during the VM -> k8s migration, in precedence # order (first wins ties / pass-through): # new = the in-cluster k8s PuppetDB (plain HTTP on 8080; in-cluster address # is preferred over the external gateway to avoid a hairpin) # old = legacy Consul-registered puppetdbapi (reachable from pods via the # Consul DNS the puppet workloads already use) PDBMUX_BACKENDS: "new=http://puppetdb.puppet.svc.cluster.local:8080,old=http://puppetdbapi.service.consul:8080" PDBMUX_MERGE: "freshness"