some tries to get a functioning setup
This commit is contained in:
25
apps/avahi-reflector/daemonset.yaml
Normal file
25
apps/avahi-reflector/daemonset.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: avahi-reflector
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: avahi-reflector
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: avahi-reflector
|
||||
spec:
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: avahi-reflector
|
||||
image: avahi-reflector
|
||||
securityContext:
|
||||
privileged: true # required for raw sockets
|
||||
env:
|
||||
- name: REFLECTOR_ENABLE_REFLECTOR
|
||||
value: "yes"
|
||||
- name: SERVER_ALLOW_INTERFACES
|
||||
# use all interfaces
|
||||
value: ""
|
||||
14
apps/avahi-reflector/kustomization.yaml
Normal file
14
apps/avahi-reflector/kustomization.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: avahi
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- daemonset.yaml
|
||||
# - configmap.yaml
|
||||
|
||||
images:
|
||||
- name: avahi-reflector
|
||||
newName: flungo/avahi
|
||||
newTag: latest
|
||||
6
apps/avahi-reflector/namespace.yaml
Normal file
6
apps/avahi-reflector/namespace.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: placeholder
|
||||
labels:
|
||||
pod-security.kubernetes.io/enforce: privileged
|
||||
Reference in New Issue
Block a user