Compare commits

...

12 commits

Author SHA1 Message Date
smeagol-help
a27cef9b40 ci(github-action): update renovatebot/github-action action ( v40.0.3 → v40.1.0 )
| datasource  | package                   | from    | to      |
| ----------- | ------------------------- | ------- | ------- |
| github-tags | renovatebot/github-action | v40.0.3 | v40.1.0 |
2024-02-12 11:01:19 +00:00
9f688c9058 Remove Xen Orchestra. 2024-02-10 12:31:51 -06:00
50ab126562 Bringing all of the zones up to date. 2024-02-08 09:27:43 -06:00
smeagol-help
4f0b77bab5 ci(github-action): update renovatebot/github-action action ( v40.0.2 → v40.0.3 )
| datasource  | package                   | from    | to      |
| ----------- | ------------------------- | ------- | ------- |
| github-tags | renovatebot/github-action | v40.0.2 | v40.0.3 |
2024-02-08 14:01:49 +00:00
7343bef3cf simplified script. 2024-02-07 15:48:36 -06:00
7b42579a02 Add image puller helper separate of apply script. 2024-02-07 15:18:46 -06:00
7cb83eae41 Adding Xen-Orchestra. 2024-02-07 13:33:39 -06:00
3c38da2778 Adding Graybeard as a NAS. 2024-02-07 13:33:39 -06:00
22e81c1207 Merge pull request 'fix(container): update image docker.io/library/haproxy ( 2.9.2 → 2.9.4 )' (#4) from renovate/docker.io-library-haproxy-2.x into main
Reviewed-on: #4
2024-02-01 17:50:55 +00:00
f59fca431e Merge pull request 'fix(container): update image ghcr.io/goofball222/unifi ( 8.0.26 → 8.0.28 )' (#5) from renovate/ghcr.io-goofball222-unifi-8.x into main
Reviewed-on: #5
2024-02-01 17:39:53 +00:00
smeagol-help
4ed40969bf fix(container): update image ghcr.io/goofball222/unifi ( 8.0.26 → 8.0.28 )
| datasource | package                   | from   | to     |
| ---------- | ------------------------- | ------ | ------ |
| docker     | ghcr.io/goofball222/unifi | 8.0.26 | 8.0.28 |
2024-02-01 17:12:55 +00:00
smeagol-help
a27892a120 fix(container): update image docker.io/library/haproxy ( 2.9.2 → 2.9.4 )
| datasource | package                   | from  | to    |
| ---------- | ------------------------- | ----- | ----- |
| docker     | docker.io/library/haproxy | 2.9.2 | 2.9.4 |
2024-02-01 17:12:53 +00:00
8 changed files with 38 additions and 28 deletions

View file

@ -45,7 +45,7 @@ jobs:
token: '${{ steps.generate-token.outputs.token }}' token: '${{ steps.generate-token.outputs.token }}'
- name: Renovate - name: Renovate
uses: renovatebot/github-action@v40.0.2 uses: renovatebot/github-action@v40.1.0
env: env:
DRY_RUN: ${{ inputs.dryRun }} DRY_RUN: ${{ inputs.dryRun }}
LOG_LEVEL: ${{ inputs.renovateLogLevel }} LOG_LEVEL: ${{ inputs.renovateLogLevel }}

View file

@ -19,7 +19,7 @@ set container name bind volume cache destination '/var/cache/bind'
set container name bind volume cache mode 'rw' set container name bind volume cache mode 'rw'
# haproxy-k8s-api # haproxy-k8s-api
set container name haproxy-k8s-api image 'docker.io/library/haproxy:2.9.2' set container name haproxy-k8s-api image 'docker.io/library/haproxy:2.9.4'
set container name haproxy-k8s-api memory '0' set container name haproxy-k8s-api memory '0'
set container name haproxy-k8s-api network containers address '10.5.0.2' set container name haproxy-k8s-api network containers address '10.5.0.2'
set container name haproxy-k8s-api restart 'on-failure' set container name haproxy-k8s-api restart 'on-failure'
@ -85,7 +85,7 @@ set container name unifi environment RUNAS_UID0 value 'false'
set container name unifi environment TZ value 'America/Chicago' set container name unifi environment TZ value 'America/Chicago'
set container name unifi environment PGID value '102' set container name unifi environment PGID value '102'
set container name unifi environment PUID value '999' set container name unifi environment PUID value '999'
set container name unifi image 'ghcr.io/goofball222/unifi:8.0.26' set container name unifi image 'ghcr.io/goofball222/unifi:8.0.28'
set container name unifi memory '0' set container name unifi memory '0'
set container name unifi network containers address '10.5.0.10' set container name unifi network containers address '10.5.0.10'
set container name unifi restart 'on-failure' set container name unifi restart 'on-failure'

View file

@ -38,14 +38,14 @@ set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 range 0 s
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 range 0 stop '10.1.1.254' set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 range 0 stop '10.1.1.254'
# Logging # Logging
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping graybeard ip-address '10.1.1.5'
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping graybeard mac-address 'a0:42:3f:2f:a9:69'
# NAS # NAS
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping elessar ip-address '10.1.1.11' set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping elessar ip-address '10.1.1.11'
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping elessar mac-address '00:11:32:87:f6:1d' set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping elessar mac-address '00:11:32:87:f6:1d'
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping sting ip-address '10.1.1.12' set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping sting ip-address '10.1.1.12'
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping sting mac-address 'a8:a1:59:4a:d1:b3' set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping sting mac-address 'a8:a1:59:4a:d1:b3'
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping graybeard ip-address '10.1.1.13'
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping graybeard mac-address 'd4:5d:64:91:b2:42'
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping shadowfax ip-address '10.1.1.30' set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping shadowfax ip-address '10.1.1.30'
set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping shadowfax mac-address '04:42:1a:ef:35:75' set service dhcp-server shared-network-name SERVERS subnet 10.1.1.0/24 static-mapping shadowfax mac-address '04:42:1a:ef:35:75'

View file

@ -1,7 +1,7 @@
#!/bin/vbash #!/bin/vbash
set system domain-name 'jahanson.tech' set system domain-name 'jahanson.tech'
set system host-name 'gandalf' set system host-name 'treebeard'
set system ipv6 disable-forwarding set system ipv6 disable-forwarding

View file

@ -4,8 +4,8 @@
; SOA Records ; SOA Records
$TTL 3600 $TTL 3600
$ORIGIN 1.10.in-addr.arpa. $ORIGIN 1.10.in-addr.arpa.
@ 3600 IN SOA gateway.jahanson.tech. gateway.jahanson.tech. ( @ 3600 IN SOA treebeard.jahanson.tech. treebeard.jahanson.tech. (
1686691675 ; serial number (epoch timestamp) 1707405658 ; serial number (epoch timestamp)
7200 ; refresh period 7200 ; refresh period
3600 ; retry period 3600 ; retry period
1209600 ; expire time 1209600 ; expire time
@ -13,33 +13,34 @@ $ORIGIN 1.10.in-addr.arpa.
) )
; NS Records ; NS Records
@ IN NS gateway.jahanson.tech. @ IN NS treebeard.jahanson.tech.
; Reset origin ; Reset origin
$ORIGIN in-addr.arpa. $ORIGIN in-addr.arpa.
; LAN ; LAN
1.0.1.10 IN PTR gateway.jahanson.tech. 1.0.1.10 IN PTR treebeard.jahanson.tech.
; Servers ; Servers
11.1.1.10 IN PTR elessar.jahanson.tech. 11.1.1.10 IN PTR elessar.jahanson.tech.
21.1.1.10 IN PTR sting.jahanson.tech. 12.1.1.10 IN PTR sting.jahanson.tech.
31.1.1.10 IN PTR gandalf.jahanson.tech. 13.1.1.10 IN PTR gandalf.jahanson.tech.
32.1.1.10 IN PTR glamdring.jahanson.tech. 30.1.1.10 IN PTR shadowfax.jahanson.tech.
33.1.1.10 IN PTR shadowfax.jahanson.tech.
41.1.1.10 IN PTR nenya.jahanson.tech. 41.1.1.10 IN PTR nenya.jahanson.tech.
42.1.1.10 IN PTR vilya.jahanson.tech. 42.1.1.10 IN PTR vilya.jahanson.tech.
43.1.1.10 IN PTR narya.jahanson.tech. 43.1.1.10 IN PTR nahar.jahanson.tech.
44.1.1.10 IN PTR nahar.jahanson.tech. 44.1.1.10 IN PTR narya.jahanson.tech.
51.1.1.10 IN PTR nextcloud.jahanson.tech. 52.1.1.10 IN PTR samwise.jahanson.tech.
52.1.1.10 IN PTR frodo.jahanson.tech. 54.1.1.10 IN PTR pippin.jahanson.tech.
53.1.1.10 IN PTR tulkas.jahanson.tech. 53.1.1.10 IN PTR tulkas.jahanson.tech.
61.1.1.10 IN PTR galadriel.jahanson.tech. 61.1.1.10 IN PTR galadriel.jahanson.tech.
62.1.1.10 IN PTR elrond.jahanson.tech. 62.1.1.10 IN PTR elrond.jahanson.tech.
63.1.1.10 IN PTR cirdan.jahanson.tech. 63.1.1.10 IN PTR cirdan.jahanson.tech.
81.1.1.10 IN PTR frodo.jahanson.tech.
; IOT ; IOT
18.3.1.10 IN PTR livingroom-vacuum.jahanson.tech. 18.3.1.10 IN PTR livingroom-vacuum.jahanson.tech.
; Video ; Video
12.4.1.10 IN PTR driveway-camera.jahanson.tech. 12.4.1.10 IN PTR driveway-camera.jahanson.tech.
13.4.1.10 IN PTR sidehouse-camera.jahanson.tech.

View file

@ -4,8 +4,8 @@
; SOA Records ; SOA Records
$TTL 3600 $TTL 3600
$ORIGIN jahanson.tech. $ORIGIN jahanson.tech.
@ 3600 IN SOA gateway.jahanson.tech. gateway.jahanson.tech. ( @ 3600 IN SOA treebeard.jahanson.tech. treebeard.jahanson.tech. (
1705263395 ; serial number (epoch timestamp) 1707405658 ; serial number (epoch timestamp)
7200 ; refresh period 7200 ; refresh period
3600 ; retry period 3600 ; retry period
1209600 ; expire time 1209600 ; expire time
@ -13,14 +13,15 @@ $ORIGIN jahanson.tech.
) )
; NS Records ; NS Records
@ IN NS gandalf.jahanson.tech. @ IN NS treebeard.jahanson.tech.
; LAN ; LAN
gateway IN A 10.1.0.1 treebeard IN A 10.1.0.1
; Servers ; Servers
elessar IN A 10.1.1.11 elessar IN A 10.1.1.11
sting IN A 10.1.1.12 sting IN A 10.1.1.12
gandalf IN A 10.1.1.13
; CNAME records ; CNAME records
nas IN CNAME elessar.jahanson.tech. nas IN CNAME elessar.jahanson.tech.

View file

@ -4,8 +4,8 @@
; SOA Records ; SOA Records
$TTL 3600 $TTL 3600
$ORIGIN unifi. $ORIGIN unifi.
@ 3600 IN SOA gateway.jahanson.tech. gateway.jahanson.tech. ( @ 3600 IN SOA treebeard.jahanson.tech. treebeard.jahanson.tech. (
1683235219 ; serial number (epoch timestamp) 1707405658 ; serial number (epoch timestamp)
7200 ; refresh period 7200 ; refresh period
3600 ; retry period 3600 ; retry period
1209600 ; expire time 1209600 ; expire time
@ -13,7 +13,7 @@ $ORIGIN unifi.
) )
; NS Records ; NS Records
@ IN NS gateway.jahanson.tech. @ IN NS treebeard.jahanson.tech.
; CNAME Records ; CNAME Records
@ IN A 10.5.0.10 @ IN A 10.5.0.10

8
scripts/pull_containers.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
mapfile -t CONFIG_IMAGES < <(find /config/config-parts/ -type f -exec sed -nr "s/set container name .* image '(.*)'/\1/p" {} + | sort | uniq)
for image in "${CONFIG_IMAGES[@]}"; do
echo "Pulling image ${image}"
podman pull "${image}"
done