diff --git a/examples/demo/01-server.yaml b/examples/demo/01-server.yaml index 901784d..e877a31 100644 --- a/examples/demo/01-server.yaml +++ b/examples/demo/01-server.yaml @@ -14,13 +14,21 @@ metadata: spec: image: repository: git.ryuvia.com/niklas/terdut-server - # v0.34.0: fixes callerMayManageServiceAccount so an instance-scoped - # service account can adopt/rotate a key on a team-scoped account it - # didn't just create in the same call -- without this, terdutteam-* - # can wedge permanently on exactly the crash-window race this demo - # hit live (niklas/terdut-operator#3). - tag: v0.34.0 - replicas: 1 + # v0.36.0 or newer is required now that replicas below is 2: that + # release put the sweeper, the notifier and the migration runner each + # behind a Postgres advisory lock, and gave incident creation its own + # conflict resolution, which is what makes a second replica safe + # instead of racing the first. (Still carries v0.34.0's fix too -- + # callerMayManageServiceAccount, so an instance-scoped service account + # can adopt/rotate a key on a team-scoped account it didn't just create + # in the same call -- without which terdutteam-* can wedge permanently + # on the crash-window race this demo hit live, niklas/terdut-operator#3.) + tag: v0.36.0 + # Matches this CRD's own spec.replicas default (v0.4.0) -- stated + # explicitly, like every other field in this file, rather than left to + # the default. RollingUpdate follows automatically; this operator does + # not expose Strategy as a spec field. + replicas: 2 networking: hostname: terdut-operator-demo.example servicePort: 8080