Make this explicit (implied by replicas = 1).
This commit is contained in:
parent
aa7fdbee08
commit
bbe2d6efbc
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ spec:
|
|||
app.kubernetes.io/name: ${ constants.APP_NAME }
|
||||
app.kubernetes.io/instance: ${ cr.metadata.name.asString }
|
||||
replicas: ${ (cr.spec.vm.state.asString == "Running")?then(1, 0) }
|
||||
updateStrategy:
|
||||
type: OnDelete
|
||||
template:
|
||||
metadata:
|
||||
namespace: ${ cr.metadata.namespace.asString }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue