1
0
Fork 0

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.
dch-webhooks-secrets
Dustin 2023-10-10 22:42:14 -05:00
parent 934c07ceba
commit d943c936a7
1 changed files with 1 additions and 1 deletions

View File

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