Add port info.

This commit is contained in:
Michael Lipp 2023-08-17 18:00:58 +02:00
parent 6ec91e7a7e
commit 5b12606b58

View file

@ -49,6 +49,14 @@ spec:
<#if image.pullPolicy??>
imagePullPolicy: ${ image.pullPolicy.asString }
</#if>
<#if cr.spec.vm.display.spice??>
ports:
<#if cr.spec.vm.display.spice??>
- name: spice
containerPort: ${ cr.spec.vm.display.spice.port.asInt?c }
protocol: TCP
</#if>
</#if>
volumeMounts:
# Not needed because pod is priviledged:
# - mountPath: /dev/kvm