Skip to content

Commit

Permalink
Make this explicit (implied by replicas = 1).
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlipp committed Feb 25, 2024
1 parent aa7fdbe commit bbe2d6e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit bbe2d6e

Please sign in to comment.