configpolicy/host_vars
Dustin 14a7d39e11 gw1/squid: Allow Frigate access to Github API
Frigate uses the Github API to check for new releases.  It then
populates the `update.frigate_server` entity in Home Assistant via MQTT
with the information it retrieved.  If it is unable to access the Github
API, the Home Assistant entity will be marked as "unavailable," which
triggers an alert notification from Home Assistant. Thus, we need to
allow Frigate to access Github if we want to use that entity as an
indicator of whether or not Frigate is connected to the MQTT broker.

I don't want to allow access to the Github API to everything on the
Frigate server, just Frigate itself.  To do that, I've assigned a unique
username and password for Frigate.  Only requests with the proper
`Proxy-Authorization` header will be allowed access.  By providing the
credentials only the Frigate container, we can ensure no other process
has access.

I think I did this mostly as an exercise; there's no particular reason
to disallow access to the Github API, since it's mostly read-only and
can't really be used to exfiltrate any data (probably?).
2024-08-14 20:26:11 -05:00
..
gw0 gw0: Set dhcpcd_nodev 2018-07-20 17:47:04 -05:00
gw1.pyrocufflink.blue gw1/squid: Allow Frigate access to Github API 2024-08-14 20:26:11 -05:00
smtp1.pyrocufflink.blue smtp-relay: Switch to Fastmail 2023-10-24 17:27:21 -05:00
build0-amd64.pyrocufflink.blue.yml hosts: Add build0-amd64 2019-09-19 19:50:35 -05:00
burp1.pyrocufflink.blue.yml {burp1, gw1}: Configure upsmon 2024-01-19 21:55:36 -06:00
bw0.pyrocufflink.blue.yml hosts: bw0: Use Lego cert 2020-03-17 08:45:34 -05:00
cloud0.pyrocufflink.blue.yml cloud0: Exclude Nextcloud trash from backups 2024-06-12 19:04:46 -05:00
db0.pyrocufflink.blue.yml hosts: db0: Promote to primary 2024-07-02 20:44:29 -05:00
dc0.pyrocufflink.blue.yml hosts: Add new domain controllers 2018-02-19 22:46:27 -06:00
dns0.pyrocufflink.blue.yml hosts: dns0: Allow DDNS updates from gw1 2021-10-17 14:12:19 -05:00
dns1.pyrocufflink.blue.yml hosts: Add dns1.pyrocufflink.blue 2018-08-12 17:24:37 -05:00
file0.pyrocufflink.blue.yml hosts: Add file0.p.b to burp-client 2018-08-08 22:07:32 -05:00
git0.pyrocufflink.blue.yml auto-updates: Install and configure dnf-automatic 2024-06-12 06:25:17 -05:00
hass0.pyrocufflink.blue.yml hosts: hass0: Add untracked host_vars file 2019-09-19 19:50:35 -05:00
hass1.pyrocufflink.blue.yml hosts: hass1: Set collectd network interface 2020-12-23 20:57:01 -06:00
hass2.pyrocufflink.blue.yml hosts: hass2.p.b: Enable collectd thermal plugin 2022-07-21 12:37:16 -05:00
hassdb0.pyrocufflink.blue.yml hosts: hassdb0: Add missing vars file 2020-08-29 14:01:50 -05:00
jenkins0.pyrocufflink.blue jenkins0: Bind Samba to real interface only 2019-01-06 12:24:52 -06:00
logs0.pyrocufflink.blue.yml hosts: Add logs0.p.b 2019-10-28 18:47:09 -05:00
mtrcs0.pyrocufflink.blue.yml hosts: Update mtrcs0 FQDN 2022-11-09 18:56:05 -06:00
nvr0.pyrocufflink.blue.yml hosts: Add nvr0.p.b 2021-08-21 17:20:19 -05:00
nvr1.pyrocufflink.blue.yml collectd: Control SELinux domain permissiveness 2022-07-24 10:35:32 -05:00
nvr2.pyrocufflink.blue.yml hosts: Deploy production Frigate on nvr2.p.b 2024-08-12 22:22:50 -05:00
vmhost0.pyrocufflink.blue.yml nut-monitor: Require both UPS to be online 2024-01-25 21:22:04 -06:00
vmhost1.pyrocufflink.blue.yml nut-monitor: Configure upsmon 2024-01-19 20:50:03 -06:00