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