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.
This commit is contained in:
2023-10-10 22:42:14 -05:00
parent 934c07ceba
commit d943c936a7

View File

@@ -34,7 +34,7 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
storageClassName: longhorn-static
resources:
requests:
storage: 1Gi