1
0
Fork 0
Commit Graph

7 Commits (master)

Author SHA1 Message Date
Dustin e6f0261a44 phpipam: Migrate to Sealed Secrets 2023-10-14 10:56:20 -05:00
Dustin 3fb44e7ed6 phpipam: Set instance label for Argo CD
Argo CD wants every resource managed by an application to have that
application's name as the value of the `app.kubernetes.io/instance`
label.
2023-10-14 07:35:23 -05:00
Dustin d943c936a7 phpipam: Update PVC storage class name
The other day, when I was dealing with the mess that I accidentally
created by letting the *phpipam* MySQL database automaticall upgrade
itself, I attempted to restore from a Longhorn backup to try to get the
database working again.  This did work, but as a side-effect, it changed
the storage class name of the *phpipam-pvc* persistent volume claim from
`longhorn` to `longhorn-static`.  Now, when attempting to apply the
YAML manifest, `kubectl` complains because this field is immutable.  As
such, the manifest needs to be updated to reflect the value set by
Longhorn when the backup was restored and the PVC was recreated.
2023-10-10 22:42:14 -05:00
Dustin 6cd7eae0d3 phpipam: Use Authelia for authentication
phpIPAM supports "Apache authentication" which effectively delegates
authentication to the web server and trusts the `PHP_AUTH_USER` server
variable.  This variable is usually set by an Apache authentication
module, but it can be set manually in the config.  Here, we're using
`SetEnvIf` to populate it from the value of the `Remote-User` header
set by Authelia.
2023-09-22 21:24:24 -05:00
Dustin 2867210d38 phpipam: Pin to MariaDB 10.9.3
Using the *latest* tag for MariaDB is particularly problematic, as a
new version of the container may be pulled when the pod is scheduled on
a different host.  MariaDB will not start in this case, as it recognizes
that the data on disk need to be upgraded.

To prevent database outages in situations like this, we need to pin to a
specific version of MariaDB, ensuring that every pod runs the same
version.
2023-09-22 21:17:18 -05:00
Dustin b9b3c4762b phpipam: Update to v1.5.2
We don't need to build our own container image anymore, since the new
*pyrocufflink.blue* domain controllers use LDAPS certificates signed by
Let's Encrypt.
2023-04-20 13:59:30 -05:00
Dustin 157353ddb0 phpipam: Add manifest for phpipam 2022-07-31 01:31:53 -05:00