Add port info.
This commit is contained in:
parent
6ec91e7a7e
commit
5b12606b58
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue