Skip to content

Commit

Permalink
Merge pull request #10 from controlplaneio-fluxcd/release-v2.2.1
Browse files Browse the repository at this point in the history
Release v2.2.1
  • Loading branch information
stefanprodan authored Feb 4, 2024
2 parents 582fa8f + e7cc17e commit a5d07e8
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ on:
push:
branches:
- 'main'
- 'test-*'
- 'release-*'
tags-ignore:
- 'v*'
pull_request:
branches:
- 'main'
- '*'

permissions:
contents: read
Expand All @@ -37,10 +36,22 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Latest release
id: release
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION=$(gh release view --json tagName -q '.tagName')
branch=${{ github.ref_name }}
prefix="release-"
if [[ "${branch}" =~ ^$prefix.* ]]; then
VERSION=${branch#"$prefix"}
fi
if [ "${{ github.event.inputs.version }}" != "" ]; then
VERSION="${{ github.event.inputs.version }}"
fi
echo "version=${VERSION}" >> $GITHUB_OUTPUT
- name: Setup Flux
uses: fluxcd/flux2/action@5c5c15ea212b8f029a110f9975851d25c8272695 #v2.2.2
Expand All @@ -54,29 +65,22 @@ jobs:
- name: Install Flux
id: install
run: |
VERSION="${{ steps.release.outputs.version }}"
if [ "${{ github.event.inputs.version }}" != "" ]; then
VERSION="${{ github.event.inputs.version }}"
fi
echo "version=${VERSION}" >> $GITHUB_OUTPUT
kubectl create ns flux-system
flux create secret oci flux-enterprise-auth \
--url=ghcr.io \
--username=${{ github.actor }} \
--password=${{ secrets.GHCR_READONLY }}
flux install --version=${VERSION} \
flux install \
--components-extra="image-reflector-controller,image-automation-controller" \
--registry=ghcr.io/controlplaneio-fluxcd/${{ matrix.variant }} \
--image-pull-secret=flux-enterprise-auth
- name: Verify images
run: kubectl -n flux-system get deployments.apps -o yaml | grep ${{ matrix.variant }}
- name: Setup cluster reconciliation
env:
FLUX_VERSION: ${{ steps.install.outputs.version }}
FLUX_VERSION: ${{ steps.release.outputs.version }}
shell: bash
run: |
flux create source git flux-system \
Expand Down
46 changes: 46 additions & 0 deletions releases/release-v2.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
- [ga](#general-availability-ga)
- [beta](#beta-preview)
- [promotions](#promotions)
- [v2.2.1](#v221)
- [standard](#standard-v221)
- [FIPS-compliant](#fips-compliant-v221)
- [v2.2.0](#v220)
- [standard](#standard-v220)
- [FIPS-compliant](#fips-compliant-v220)
Expand Down Expand Up @@ -41,6 +44,49 @@
| Provider | **v1beta3** | v1beta2 | `notification.toolkit.fluxcd.io` |
| HelmRelease | **v2beta2** | v2beta2 | `helm.toolkit.fluxcd.io` |


## v2.2.1

Upstream changelog: [fluxcd/flux2 v2.2.1](https://github.com/fluxcd/flux2/releases/tag/v2.2.1)

### Standard v2.2.1

#### Flux Controllers

| Controller | Version | Architectures |
|:-------------------------------------------------------------------|---------|---------------|
| `ghcr.io/controlplaneio-fluxcd/alpine/source-controller` | v1.2.3 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/alpine/kustomize-controller` | v1.2.1 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/alpine/helm-controller` | v0.37.1 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/alpine/notification-controller` | v1.2.3 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/alpine/image-reflector-controller` | v0.31.1 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/alpine/image-automation-controller` | v0.37.0 | amd64 / arm64 |

#### Flux Manifests

| OCI Artifact | Version |
|:------------------------------------------------------|---------|
| `ghcr.io/controlplaneio-fluxcd/alpine/flux-manifests` | v2.2.1 |

### FIPS-compliant v2.2.1

#### Flux Controllers

| Controller | Version | Architectures |
|:------------------------------------------------------------------------|---------|---------------|
| `ghcr.io/controlplaneio-fluxcd/distroless/source-controller` | v1.2.3 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/distroless/kustomize-controller` | v1.2.1 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/distroless/helm-controller` | v0.37.1 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/distroless/notification-controller` | v1.2.3 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/distroless/image-reflector-controller` | v0.31.1 | amd64 / arm64 |
| `ghcr.io/controlplaneio-fluxcd/distroless/image-automation-controller` | v0.37.0 | amd64 / arm64 |

#### Flux Manifests

| OCI Artifact | Version |
|:-----------------------------------------------------------|---------|
| `ghcr.io/controlplaneio-fluxcd/distroless/flux-manifests` | v2.2.1 |

## v2.2.0

Upstream changelog: [fluxcd/flux2 v2.2.0](https://github.com/fluxcd/flux2/releases/tag/v2.2.0)
Expand Down

0 comments on commit a5d07e8

Please sign in to comment.