Tags: backstage/charts
Tags
feat: allow configuring the Deployment update strategy (#328) Adds a new `backstage.strategy` value that maps to the Deployment `spec.strategy` field, so operators can opt into `Recreate` (or `RollingUpdate` with `maxSurge: 0`) to guarantee a single Backstage pod runs at a time. Motivation: Backstage plugins (catalog, auth, etc.) run knex database migrations during plugin initialization. Under the default RollingUpdate strategy (maxSurge 25%) a new pod starts while the old one is still running, and both race the `knex_migrations_lock` row. If a pod is killed mid-migration, the lock stays set (`is_locked=1`) and every subsequent pod fails catalog startup with `MigrationLocked: Migration table is already locked`, requiring manual DB intervention. Letting operators pin the strategy to Recreate (or maxSurge 0) prevents concurrent migration attempts entirely. The field defaults to `{}` and is only rendered into the manifest when set, preserving the current behavior (Kubernetes default RollingUpdate 25%/25%) for existing installs. Signed-off-by: Luis Brito <luis.brito@digitalfemsa.com>
chore: Removing default imagePullPolicy to honor Kubernetes defaults (#… …287) * Removing pullPolicy by default, so that default K8s behaviour is applied Signed-off-by: Leanne Ahern <lahern@redhat.com> * Bumping Chart.yaml based on change - patch Signed-off-by: Leanne Ahern <lahern@redhat.com> * Setting pullPolicy to empty string Signed-off-by: Leanne Ahern <lahern@redhat.com> * Updating schema and running pre-commits Signed-off-by: Leanne Ahern <lahern@redhat.com> * Updating schema to allow all docs options Signed-off-by: Leanne Ahern <lahern@redhat.com> * updating branch Signed-off-by: Leanne Ahern <lahern@redhat.com> --------- Signed-off-by: Leanne Ahern <lahern@redhat.com>
Workaround for Bitnami Registry migration (#284) * fix: move PSQL image to Bitnami Legacy registry Signed-off-by: Davi Garcia <davivcgarcia@gmail.com> * fix: bump semver of chart Signed-off-by: Davi Garcia <davivcgarcia@gmail.com> * chore(doc): updates readme with updated version Signed-off-by: Davi Garcia <davivcgarcia@gmail.com> --------- Signed-off-by: Davi Garcia <davivcgarcia@gmail.com>
chore: Pin the version of the K8s API to avoid unexpected changes to … …`values.schema.json` when the pre-commit hooks run (#277) * chore: Pin the version of the K8s API to prevent potential changes in the generated values.schema.json Signed-off-by: Armel Soro <asoro@redhat.com> * chore: Regenerate the values.schema.json file Signed-off-by: Armel Soro <asoro@redhat.com> * chore: Bump chart version Signed-off-by: Armel Soro <asoro@redhat.com> --------- Signed-off-by: Armel Soro <asoro@redhat.com>
feat: Support autoscaling via HPA (#268) * feat: expose autoscaling configuration using the HPA resource Signed-off-by: Armel Soro <asoro@redhat.com> * Set the Deployment replicas only if autoscaling is not enabled When autoscaling is enabled, the HPA controller controls the number of replicas [1] [1] https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/\#migrating-deployments-and-statefulsets-to-horizontal-autoscaling Signed-off-by: Armel Soro <asoro@redhat.com> * Add CI values file with autoscaling enabled Signed-off-by: Armel Soro <asoro@redhat.com> * Bump chart version This is a backward-compatible change Signed-off-by: Armel Soro <asoro@redhat.com> * Update values schema Signed-off-by: Armel Soro <asoro@redhat.com> * Update README Signed-off-by: Armel Soro <asoro@redhat.com> --------- Signed-off-by: Armel Soro <asoro@redhat.com>
chore(deps): bump sigstore/cosign-installer from 3.8.2 to 3.9.1 (#267) * chore(deps): bump sigstore/cosign-installer from 3.8.2 to 3.9.1 Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.8.2 to 3.9.1. - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](sigstore/cosign-installer@3454372...398d4b0) --- updated-dependencies: - dependency-name: sigstore/cosign-installer dependency-version: 3.9.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix: schema references Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> * bumps chart version to 2.5.3 Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com>
chore(deps): bump oras-project/setup-oras from 1.2.2 to 1.2.3 (#264) * chore(deps): bump oras-project/setup-oras from 1.2.2 to 1.2.3 Bumps [oras-project/setup-oras](https://github.com/oras-project/setup-oras) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/oras-project/setup-oras/releases) - [Commits](oras-project/setup-oras@5c0b487...8d34698) --- updated-dependencies: - dependency-name: oras-project/setup-oras dependency-version: 1.2.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * adds schema Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> * bumps chart Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com>
feat: adds codespell action to ensure correct spelling (#259) * feat: adds codespell action to ensure correct spelling Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> * bumps chart version Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> * merge conflicts Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> * adds codespell action Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> * bumps chart Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> --------- Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
PreviousNext