Skip to main content

Pact-Broker Patching Example

This document covers a high level patching example for the pact-broker app patching.

pact-broker is patched globally, rather than starting in sbox and working up through the environments, due to its limited use.

pact-broker is only needed to patch on CFT environment as its only setup there for ptl and ptlsbox environments.

Patching

Review chart-pact-broker Releases page to check for breaking changes.

There may be no new version released, in that case, check commit history to make sure the latest version released is after the last commit on the repo.

Also, check if there are pending renovate PRs which updating dependencies chart version - e.g. postgresql if there are PRs to review and merge, review them and then merge the PRs. Release new version of the chart and use that new version of chart for pact-broker app (example below)

CFT

Create a PR in cnp-flux-config to patch pact-broker in CFT.

Example PR

Checks to see if upgrade worked correctly

After above raised PR approved and merged, describe the pact-broker pod on ptl and ptlsbox environment and check the labels has new pact broker chart version. e.g.

kubectl describe pod -n pact-broker <pod name> | grep "helm.sh/chart=pact-broker"
This page was last reviewed on 19 February 2024. It needs to be reviewed again on 19 February 2025 by the page owner platops-build-notices .
This page was set to be reviewed before 19 February 2025 by the page owner platops-build-notices. This might mean the content is out of date.