diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6c5a0f8c..3d5a6125c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,8 @@ jobs: echo ${{ github.ref }} | cut -d '/' -f 3 > DOCKER_TAG - name: Build and push container image run: | - docker build --file build/Dockerfile.dist --tag movetokube/postgres-operator:$(cat DOCKER_TAG) . - docker tag movetokube/postgres-operator:$(cat DOCKER_TAG) movetokube/postgres-operator:latest - docker login --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_TOKEN }} - docker push movetokube/postgres-operator:$(cat DOCKER_TAG) - docker push movetokube/postgres-operator:latest + docker build --file build/Dockerfile.dist --tag ghcr.io/movetokube/postgres-operator:$(cat DOCKER_TAG) . + docker tag ghcr.io/movetokube/postgres-operator:$(cat DOCKER_TAG) ghcr.io/movetokube/postgres-operator:latest + docker login ghcr.io --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} + docker push ghcr.io/movetokube/postgres-operator:$(cat DOCKER_TAG) + docker push ghcr.io/movetokube/postgres-operator:latest diff --git a/README.md b/README.md index 1a3e6fdc5..268b33991 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,36 @@ # External PostgreSQL server operator for Kubernetes +--------------------------------------------------------- +### IMPORTANT UPDATE + +### Deprecation of DockerHub repository `movetokube/postgres-operator` + +Dockerhub decided to sunset free organisations in docker hub and gave a timeline of 4 weeks to either pay the monthly fee for organisation +or move somewhere else. +Movetokube being an open source organisation (with me as a single member) in dockerhub cannot bear the requested price and is forced to move. + +`movetokube/postgres-operator` images will be deleted from docker hub, by docker hub in May and will no longer be available in there. +All images with all tags have been migrated to Github Container Registry (GHCR.io). You will have to adjust your deployments to reflect that, or better: cache images +locally in your own organisations. + +All future `postgres-operator` images will be published to `ghcr.io/movetokube/postgres-operator` repository. + +ext-postgres-operator Helm chart version **1.2.3** will automatically pull images +from this new repository. + +Here's how to install it (please install with care according to your configuration): +```shell +helm repo add ext-postgres-operator https://movetokube.github.io/postgres-operator/ +helm upgrade --install -n operators ext-postgres-operator ext-postgres-operator/ext-postgres-operator --version 1.2.3 +``` + +---------------------------------------------------------- + + +Please consider sponsoring my work + +Sponsor + ## Features * Creates a database from a CR diff --git a/charts/ext-postgres-operator/Chart.yaml b/charts/ext-postgres-operator/Chart.yaml index aded9bb2c..ccb6303b8 100644 --- a/charts/ext-postgres-operator/Chart.yaml +++ b/charts/ext-postgres-operator/Chart.yaml @@ -1,13 +1,17 @@ apiVersion: v2 name: ext-postgres-operator -description: A Helm chart for the External Postgres operator +description: | + A Helm chart for the External Postgres operator + + helm repo add ext-postgres-operator https://movetokube.github.io/postgres-operator/ + helm upgrade --install -n operators ext-postgres-operator ext-postgres-operator/ext-postgres-operator --version 1.2.3 type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.2.2 +version: 1.2.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/ext-postgres-operator/values.yaml b/charts/ext-postgres-operator/values.yaml index 42bcadc39..110899401 100644 --- a/charts/ext-postgres-operator/values.yaml +++ b/charts/ext-postgres-operator/values.yaml @@ -5,10 +5,10 @@ replicaCount: 1 image: - repository: movetokube/postgres-operator + repository: ghcr.io/movetokube/postgres-operator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "" + tag: "latest" # Override chart name, defaults to Chart.name nameOverride: ""