Skip to content

openeverest-database-tools 2026.11.8: remove the deprecated securityContext; note the mongosh signing key expiry - #56

Open
BaptGosse wants to merge 2 commits into
mainfrom
chore/openeverest-2026-11-followups
Open

BaptGosse wants to merge 2 commits into
mainfrom
chore/openeverest-2026-11-followups

Conversation

@BaptGosse

Copy link
Copy Markdown
Member

Description

Two follow-ups for openeverest-database-tools and its mongosh image.

1. Remove securityContext (chart 2026.11.7 to 2026.11.8). The value was deprecated in 2026.10.1
(2026-10-20) in favour of podSecurityContext, with removeNotBefore 2026-11-19, so it is due. Following the
deprecation policy, this release:

  • drops the value from values.yaml (and the schema and README table), and its merge into the pod security context in
    _helpers.tpl; the pod security context now comes from podSecurityContext alone;
  • removes the NOTES WARNING;
  • moves the README "Deprecations" entry to a "To 2026.11.8" Upgrading note that shows how to move the keys to
    podSecurityContext; the Deprecations section now says nothing is deprecated;
  • sets removedIn: "2026.11.8" in deprecations.yaml (entry kept as history);
  • rewrites artifacthub.io/changes with a kind: removed entry; containsSecurityUpdates is "false" (no
    image or vulnerability change in this release);
  • replaces the tests of the deprecated behaviour with tests showing the value is ignored: Jobs of all three engines
    render with the default pod security context when securityContext is set, the compat values written for 2026.2.x
    (which set securityContext with uid 1000) still render with uid 65532, and the release notes no longer mention it.

values.schema.json has no additionalProperties: false at the top level, so the schema does not reject the old
key: an upgrade that still sets it succeeds, and the value is ignored. The Upgrading note and the changes entry say
so.

2. Mongosh release signing key. images/mongosh checks the release archives against SHA-256 values taken from
archives verified with the Mongosh Release Signing Key (ED58 1728 F2A4 69C9 4D18 BB58 CEED 0419 D361 CB16), which
expires on 2026-12-20. Checked on 2026-11-30: https://pgp.mongodb.com/mongosh.asc (last modified 2022-03-24) and
keyserver.ubuntu.com still serve that key with the same expiry date, MongoDB's verification page
(https://www.mongodb.com/docs/mongodb-shell/install/verify-signatures/gpg/) still names key ID CEED0419D361CB16, and
the 2.14.3 archives are signed by it (2026-11-19). No new key is out yet, so this PR only adds a comment in the
Dockerfile and a note in images/README.md with the expiry date and the URLs, so that the next version bump fetches the
key again. The build itself is unchanged (comment only).

Related issues

Follow-up of #55.

Checklist

  • Chart version bumped following calendar versioning (year.month.number): 2026.11.8
  • artifacthub.io/changes annotation updated in Chart.yaml
  • artifacthub.io/images annotation matches the images in values.yaml (unchanged)
  • values.schema.json regenerated (./generate-schemas.sh) and README updated
  • helm lint --strict passes locally with every ci/*-values.yaml; ct lint runs in CI
  • Compatibility (deprecation policy):
    the only removal is securityContext, past its removeNotBefore; .github/scripts/deprecations.py --base origin/release/2026-11-30 (and --base origin/main) reports 0 errors and 0 warnings

Compatibility

  • Removed: securityContext (deprecated since 2026.10.1, removed not before 2026-11-19). Set
    podSecurityContext instead, with the same keys. Values that still set securityContext keep installing and
    upgrading (the schema accepts unknown keys), but the value is ignored: the pods run with podSecurityContext
    (uid and gid 65532 by default). Anyone who relied on it, for example for a uid range their cluster enforces, must
    move the keys before upgrading; NOTES warned about it since 2026.10.1.
  • The Jobs get new names (the hash covers the chart version) and run again, which is harmless.
  • Images: nothing changes.

CI

Local: helm-unittest 128/128 passed for the chart, helm lint --strict with each ci/*-values.yaml, deprecation check
0 errors. CI results below.

securityContext was deprecated in 2026.10.1 (2026-10-20) in favour of
podSecurityContext, removable from 2026-11-19. Remove the value, its merge
into the pod security context and its NOTES warning; record removedIn
2026.11.8 in deprecations.yaml and a `kind: removed` change.

The values schema accepts unknown keys, so values that still set
securityContext install and upgrade without an error: the value is ignored
and the pods run with podSecurityContext alone. The README Upgrading note
says so and shows how to move the keys. Unit tests now check that the value
is ignored (Jobs of every engine, compat values, release notes).
The archives of mongosh 2.14.3 are signed (2026-11-19) by the Mongosh
Release Signing Key ED58 1728 F2A4 69C9 4D18 BB58 CEED 0419 D361 CB16,
which expires on 2026-12-20. On 2026-11-30, https://pgp.mongodb.com/mongosh.asc
(last modified in 2022) and keyserver.ubuntu.com still serve it without a
later expiry date, and MongoDB has published no new key. Note the expiry
and where to fetch the key in the Dockerfile and images/README.md, so that
the next version bump verifies its archives with an extended or new key.
The build itself is unchanged: it checks the SHA-256 of the archives.
@BaptGosse
BaptGosse changed the base branch from release/2026-11-30 to main November 30, 2026 14:14
@BaptGosse

Copy link
Copy Markdown
Member Author

Closing and reopening to start the pull request checks: #55 merged and this PR now targets main, but a base change does not trigger the workflows.

@BaptGosse BaptGosse closed this Nov 30, 2026
@BaptGosse BaptGosse reopened this Nov 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant