Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2023-01-26 - (expected chart version 4.31.0) #3027

Merged
merged 40 commits into from
Jan 27, 2023

Conversation

zebot
Copy link
Contributor

@zebot zebot commented Jan 26, 2023

[2023-01-26] (Chart Release 4.31.0)

Release notes

  • wire-server helm charts using Ingress resources are now compatible with kubernetes versions 1.22, 1.23 and 1.24 (but remain compatible with older versions of kubernetes).

    If you upgrade to this version of helm charts and/or you upgrade your version of kubernetes while wire-server is deployed, you may find that helm update or helmfile apply/sync gives an error like this:

    Error: UPGRADE FAILED: current release manifest contains removed kubernetes api(s) for this kubernetes version and it is therefore unable to build the kubernetes objects for performing the diff. error from kubernetes: unable to recognize "": no matches for kind "Ingress" in version "extensions/v1beta1"

    In which case you can use the helm mapkubeapis plugin to upgrade an existing release with the following command:

    # install plugin version 0.1.0 (more recent may not work)
    helm plugin install --version v0.1.0 https://github.com/helm/helm-mapkubeapis
    # adjust helm release name and namespace as required
    helm mapkubeapis --namespace wire nginx-ingress-services

    Alternatively, if a few minutes of downtime are not a problem; you can helm delete a release and re-install it again, which will work without the above plugin. (Chart compatibility kubernetes 1.22 #3002)

  • Upgrade team-settings version to 4.14.0-v0.31.9-0-bf82b46 (Update team-settings version in Helm chart [skip ci] #2180)

  • Upgrade webapp version to 2023-01-24-production.0-v0.31.9-0-17b742f (Update webapp version in Helm chart [skip ci] #2302)

API changes

  • The unqualified GET /conversations/:id endpoint has been removed from API v3, and is restored to the previous behaviour of returning a Conversation using the v2 schema. Similarly, its qualified counterpart GET /conversations/:domain/:id now returns a v2 Conversation when accessed through API v2. (Fix v3 leak in get-conversation endpoints #2992)

Bug fixes and other updates

Documentation

Internal changes

jschaul and others added 30 commits December 5, 2022 15:58
Master->Develop after release
integrate post-install in the install guide
* fedcalls cli tool.

* Cleanup

* Output both dot and csv.

* Fixup

* Fixup

* Changelog.

* Fixup

* Fixup

* Update tools/fedcalls/README.md
This partially reverts commit 6f91151 (#2965).
This is not for production usage: E.g. the chart does not provide backups (medusa.)
It's meant to simplify k8ssandra setups in test systems.

Co-authored-by: jschaul <jschaul@users.noreply.github.com>
* Use v2 types in legacy get-conversation endpoints

* Use V3 get-conversation in most tests

* Test get-conversation@v2 endpoint directly

* Use galley v3 in brig's integration tests and RPC
The prior version relied on an image that has been removed from docker
hub. Thus, our own inbucket chart could not be deployed anymore.
* ingress compatibility k8s 1.22 and beyond

See https://kubernetes.io/docs/reference/using-api/deprecation-guide/

* batch api compatibility for k8s >= 1.25

* fixup lost closing parenthesis

* wording

* go templating: don't munch the newline break after a comment
* Hook federated API call docs into docs.wire.com (manually).

* Update fedcalls README.

* s/client api calls/api calls/

(Will also include fed calls from now on, and anyway an API is always
both a server and a client API, or it wouldn't work at all.)

* Dial down warning in link to swagger docs.

(it's gotten better since 2020)
Add sphinx-copybutton plugin to make copying snippets of code from do…
* log randomPrekey state of things

* Add an integration test to ensure list of prekeys does not become empty.

This test should also run for the dynamoDB case, to ensure our
implementation isn't buggy (it probably isn't, but to check for
regressions)

* add another test for last prekey validation

* Add one more test, fix warning from previous test

* logging on startup: log using info level, not warning

* fixup: expected status code is 201, not 200

* remove commented out code

* changelog

* linter? make format doesn't work; or local/CI don't agree
This reverts commit 804a3b5.
Based on current deploy conversation, this is out of date
* Add scripts to load nix-built images into kind

* Fix redis-cluster in kind setup

* Update how to use kind

* Changelog

* allow skopeo insecure policy

* fetch AWS secrets from Kubernetes

Co-authored-by: Stefan Berthold <stefan.berthold@wire.com>
stefanwire and others added 9 commits January 25, 2023 11:26
Co-authored-by: Zebot <zebot@users.noreply.github.com>
* Add mock creation utilities

* Remove Servant-based mocks

* Regenerate nix packages

Co-authored-by: Igor Ranieri Elland <54423+elland@users.noreply.github.com>

* Fold guardComponent

* Move MLS mocks to a separate module

Co-authored-by: Igor Ranieri Elland <54423+elland@users.noreply.github.com>
Co-authored-by: Zebot <zebot@users.noreply.github.com>
* document helm chart upgrades after k8s version upgrades

* Update docs/src/how-to/administrate/kubernetes/upgrade-cluster/index.md

Co-authored-by: Leif Battermann <leif.battermann@wire.com>
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jan 26, 2023
Add missing pull request (PR) id.
@supersven supersven merged commit 78e697e into master Jan 27, 2023
@supersven supersven deleted the release_2023-01-26_14_27 branch January 27, 2023 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.