refactor: standardize namespace and PVC names in Helm templates

This commit is contained in:
Elmar Kresse
2024-11-22 03:53:42 +01:00
parent 74dcdd16d4
commit a96bcea806
7 changed files with 51 additions and 302 deletions

View File

@@ -1,8 +1,8 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: koha-{{ .Values.instance }}-pvc
namespace: koha-{{ .Values.instance }}
name: koha-pvc
namespace: koha
labels:
app: koha
spec:
@@ -17,8 +17,8 @@ spec:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: koha-{{ .Values.instance }}-mysql-pvc
namespace: koha-{{ .Values.instance }}
name: koha-mysql-pvc
namespace: koha
labels:
app: koha
spec: