Skip to content

Commit

Permalink
feat: Add kustomize annotations to prevent immutable field updates in…
Browse files Browse the repository at this point in the history
… db-migration job
  • Loading branch information
irony committed Jan 30, 2025
1 parent d79d11b commit fd2e39a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions k8s/base/pre-deploy/db-migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ apiVersion: batch/v1
kind: Job
metadata:
name: db-migration
annotations:
kustomize.toolkit.fluxcd.io/substitute: disabled
spec:
template:
metadata:
annotations:
kustomize.toolkit.fluxcd.io/substitute: disabled
spec:
restartPolicy: Never
containers:
Expand Down

0 comments on commit fd2e39a

Please sign in to comment.