Skip to content

Commit d5f48aa

Browse files
authored
feat: deprecate dockerhub. README.md and helm chart updated. (#109)
1 parent 68bdf9d commit d5f48aa

File tree

4 files changed

+44
-9
lines changed

4 files changed

+44
-9
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
echo ${{ github.ref }} | cut -d '/' -f 3 > DOCKER_TAG
1717
- name: Build and push container image
1818
run: |
19-
docker build --file build/Dockerfile.dist --tag movetokube/postgres-operator:$(cat DOCKER_TAG) .
20-
docker tag movetokube/postgres-operator:$(cat DOCKER_TAG) movetokube/postgres-operator:latest
21-
docker login --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_TOKEN }}
22-
docker push movetokube/postgres-operator:$(cat DOCKER_TAG)
23-
docker push movetokube/postgres-operator:latest
19+
docker build --file build/Dockerfile.dist --tag ghcr.io/movetokube/postgres-operator:$(cat DOCKER_TAG) .
20+
docker tag ghcr.io/movetokube/postgres-operator:$(cat DOCKER_TAG) ghcr.io/movetokube/postgres-operator:latest
21+
docker login ghcr.io --username USERNAME --password ${{ secrets.GITHUB_TOKEN }}
22+
docker push ghcr.io/movetokube/postgres-operator:$(cat DOCKER_TAG)
23+
docker push ghcr.io/movetokube/postgres-operator:latest

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# External PostgreSQL server operator for Kubernetes
22

3+
---------------------------------------------------------
4+
### IMPORTANT UPDATE
5+
6+
### Deprecation of DockerHub repository `movetokube/postgres-operator`
7+
8+
Dockerhub decided to sunset free organisations in docker hub and gave a timeline of 4 weeks to either pay the monthly fee for organisation
9+
or move somewhere else.
10+
Movetokube being an open source organisation (with me as a single member) in dockerhub cannot bear the requested price and is forced to move.
11+
12+
`movetokube/postgres-operator` images will be deleted from docker hub, by docker hub in May and will no longer be available in there.
13+
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
14+
locally in your own organisations.
15+
16+
All future `postgres-operator` images will be published to `ghcr.io/movetokube/postgres-operator` repository.
17+
18+
ext-postgres-operator Helm chart version **1.2.3** will automatically pull images
19+
from this new repository.
20+
21+
Here's how to install it (please install with care according to your configuration):
22+
```shell
23+
helm repo add ext-postgres-operator https://movetokube.github.io/postgres-operator/
24+
helm upgrade --install -n operators ext-postgres-operator ext-postgres-operator/ext-postgres-operator --version 1.2.3
25+
```
26+
27+
----------------------------------------------------------
28+
29+
30+
Please consider sponsoring my work
31+
<!-- Place this tag where you want the button to render. -->
32+
<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>
33+
334
## Features
435

536
* Creates a database from a CR

charts/ext-postgres-operator/Chart.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
apiVersion: v2
22
name: ext-postgres-operator
3-
description: A Helm chart for the External Postgres operator
3+
description: |
4+
A Helm chart for the External Postgres operator
5+
6+
helm repo add ext-postgres-operator https://movetokube.github.io/postgres-operator/
7+
helm upgrade --install -n operators ext-postgres-operator ext-postgres-operator/ext-postgres-operator --version 1.2.3
48
59
type: application
610

711
# This is the chart version. This version number should be incremented each time you make changes
812
# to the chart and its templates, including the app version.
913
# Versions are expected to follow Semantic Versioning (https://semver.org/)
10-
version: 1.2.2
14+
version: 1.2.3
1115

1216
# This is the version number of the application being deployed. This version number should be
1317
# incremented each time you make changes to the application. Versions are not expected to

charts/ext-postgres-operator/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
replicaCount: 1
66

77
image:
8-
repository: movetokube/postgres-operator
8+
repository: ghcr.io/movetokube/postgres-operator
99
pullPolicy: IfNotPresent
1010
# Overrides the image tag whose default is the chart appVersion.
11-
tag: ""
11+
tag: "latest"
1212

1313
# Override chart name, defaults to Chart.name
1414
nameOverride: ""

0 commit comments

Comments
 (0)