updated for local traffic policy

changed IPs to accomodate requirements for traffic policy change
This commit is contained in:
Radar231 2021-10-28 08:01:24 -04:00
parent 2e561cc864
commit 988f018a80
2 changed files with 8 additions and 4 deletions

View File

@ -28,6 +28,8 @@ spec:
- name: pihole-1
image: pihole/pihole:2021.10.1
env:
- name: ServerIP
value: "192.168.7.83"
- name: PUID
value: "1000"
- name: PGID

View File

@ -5,9 +5,10 @@ metadata:
name: pihole-1-tcp
annotations:
metallb.universe.tf/address-pool: default
metallb.universe.tf/allow-shared-ip: "dot80"
metallb.universe.tf/allow-shared-ip: "dot83"
spec:
loadBalancerIP: 192.168.7.80
externalTrafficPolicy: Local
loadBalancerIP: 192.168.7.83
ports:
- port: 53
targetPort: 53
@ -26,9 +27,10 @@ metadata:
name: pihole-1-udp
annotations:
metallb.universe.tf/address-pool: default
metallb.universe.tf/allow-shared-ip: "dot80"
metallb.universe.tf/allow-shared-ip: "dot83"
spec:
loadBalancerIP: 192.168.7.80
externalTrafficPolicy: Local
loadBalancerIP: 192.168.7.83
ports:
- port: 53
targetPort: 53