Skip to content

Commit

Permalink
feat: deprecate dockerhub. README.md and helm chart updated. (movetok…
Browse files Browse the repository at this point in the history
  • Loading branch information
hitman99 authored Mar 17, 2023
1 parent 68bdf9d commit d5f48aa
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/sponsors/hitman99" data-icon="octicon-heart" data-size="large" aria-label="Sponsor @hitman99 on GitHub">Sponsor</a>

## Features

* Creates a database from a CR
Expand Down
8 changes: 6 additions & 2 deletions charts/ext-postgres-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/ext-postgres-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down

0 comments on commit d5f48aa

Please sign in to comment.