mirror of
https://github.com/lukaszraczylo/kubemirror.git
synced 2026-07-08 13:24:28 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
---
|
||||
# Example: Mirror a ConfigMap to all namespaces (except excluded ones)
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: app-config
|
||||
namespace: default
|
||||
labels:
|
||||
kubemirror.raczylo.com/enabled: "true"
|
||||
annotations:
|
||||
kubemirror.raczylo.com/sync: "true"
|
||||
# Mirror to all namespaces (except kube-system, kube-public, etc.)
|
||||
kubemirror.raczylo.com/target-namespaces: "all"
|
||||
data:
|
||||
app.conf: |
|
||||
server {
|
||||
listen 8080;
|
||||
location / {
|
||||
proxy_pass http://backend:3000;
|
||||
}
|
||||
}
|
||||
log-level: "info"
|
||||
Reference in New Issue
Block a user