feat(adguard): add netbird sidecar
This commit is contained in:
1 parent
0859479c0f
commit
7a81b4ea8b
3 files changed
+53
No files matched your search
@@ -68,6 +68,35 @@ spec:
|
||||
reloader.stakater.com/auto: "true"
|
||||
spec:
|
||||
containers:
|
||||
- name: netbird
|
||||
image: netbirdio/netbird:0.80.0
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: adguard-config
|
||||
env:
|
||||
- name: NB_SETUP_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: adguard-netbird-secrets
|
||||
key: NB_SETUP_KEY
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
- SYS_ADMIN
|
||||
- SYS_RESOURCE
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "200m"
|
||||
volumeMounts:
|
||||
- name: netbird-state
|
||||
mountPath: /var/lib/netbird
|
||||
- name: dev-tun
|
||||
mountPath: /dev/net/tun
|
||||
- name: adguard
|
||||
image: adguard/adguardhome:v0.107.79
|
||||
resources:
|
||||
@@ -95,6 +124,12 @@ spec:
|
||||
mountPath: /certs
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: netbird-state
|
||||
emptyDir: {}
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
type: CharDevice
|
||||
- name: adguard-data
|
||||
persistentVolumeClaim:
|
||||
claimName: adguard-pvc
|
||||
|
||||
Reference in new issue
Block a user