kube: add .volume field on PVCs and ConfigMaps

Change-Id: I93eec44bd6df4ecb0044a4797faa9bf6fd26802d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1811
Reviewed-by: q3k <q3k@hackerspace.pl>
diff --git a/hswaw/kube/pretalx.libsonnet b/hswaw/kube/pretalx.libsonnet
index 1e340b0..9025a9e 100644
--- a/hswaw/kube/pretalx.libsonnet
+++ b/hswaw/kube/pretalx.libsonnet
@@ -38,7 +38,7 @@
         cfg+: {
             image: cfg.image,
             volumes+: {
-                data: kube.PersistentVolumeClaimVolume(pretalx.volumeData),
+                data: pretalx.volumeData.volume,
                 config: kube.SecretVolume(pretalx.config),
             },