-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update postgresql imagestreams and remove RHEL-7 (#1565)
- Loading branch information
Showing
3 changed files
with
210 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
description: |- | ||
This content is experimental, do not use it in production. Red Hat PostgreSQL database service imagestreams. | ||
For more information about PostgreSQL container see https://github.com/sclorg/postgresql-container/. | ||
annotations: | ||
charts.openshift.io/name: Red Hat PostgreSQL database service imagestreams (experimental) | ||
apiVersion: v2 | ||
appVersion: 0.0.3 | ||
kubeVersion: '>=1.20.0' | ||
name: redhat-postgresql-imagestreams | ||
tags: database,postgresql | ||
sources: | ||
- https://github.com/sclorg/helm-charts | ||
version: 0.0.3 |
50 changes: 50 additions & 0 deletions
50
charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# PostgreSQL Helm Chart imagestreams | ||
|
||
The file contains all supported PostgreSQL imagestreams. | ||
|
||
For more information about helm charts see the offical [Helm Charts Documentation](https://helm.sh/). | ||
|
||
You need to have access to a cluster for each operation with OpenShift 4, like deploying and testing. | ||
|
||
## How to start with helm charts | ||
|
||
The first download and install Helm. Follow instructions mentioned [here](https://helm.sh/docs/intro/install/). | ||
|
||
## How to work with PostgreSQL helm chart | ||
|
||
Before deploying helm chart to OpenShift, you have to create a package. | ||
This can be done by command: | ||
|
||
```commandline | ||
$ helm package ./ | ||
``` | ||
|
||
that will create a helm package named, `postgresql-imagestreams-v0.0.1.tgz` in this directory. | ||
|
||
The next step is to upload Helm Chart to OpenShift. This is done by command: | ||
|
||
```commandline | ||
$ helm install postgresql-imagestreams postgresql-imagestreams-v0.0.1.tgz | ||
``` | ||
|
||
In order to check if everything is imported properly, run command: | ||
```commandline | ||
$ oc get is -o json | ||
``` | ||
that will print all support PostgreSQL imagestreams. | ||
|
||
|
||
## Troubleshooting | ||
For case you need a computer readable output you can add to command mentioned above option `-o json`. | ||
|
||
In case of installation failed for reason like: | ||
```commandline | ||
// Error: INSTALLATION FAILED: cannot re-use a name that is still in use | ||
``` | ||
you have to uninstall previous PostgreSQL Helm Chart by command: | ||
|
||
```commandline | ||
$ helm uninstall postgresql-imagestreams | ||
``` | ||
|
||
|
147 changes: 147 additions & 0 deletions
147
charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/templates/imagestreams.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
kind: ImageStream | ||
apiVersion: image.openshift.io/v1 | ||
metadata: | ||
name: postgresql | ||
annotations: | ||
openshift.io/display-name: PostgreSQL | ||
spec: | ||
tags: | ||
- name: latest | ||
annotations: | ||
openshift.io/display-name: PostgreSQL (Latest) | ||
openshift.io/provider-display-name: 'Red Hat, Inc.' | ||
description: >- | ||
Provides a PostgreSQL database on RHEL. For more information about | ||
using this database image, including OpenShift considerations, see | ||
https://github.com/sclorg/postgresql-container/blob/master/README.md. | ||
WARNING: By selecting this tag, your application will automatically | ||
update to use the latest version of PostgreSQL available on OpenShift, | ||
including major version updates. | ||
iconClass: icon-postgresql | ||
tags: 'database,postgresql' | ||
from: | ||
kind: ImageStreamTag | ||
name: 13-el8 | ||
referencePolicy: | ||
type: Local | ||
- name: 16-el9 | ||
annotations: | ||
openshift.io/display-name: PostgreSQL 16 (RHEL 9) | ||
openshift.io/provider-display-name: 'Red Hat, Inc.' | ||
description: >- | ||
Provides a PostgreSQL 16 database on RHEL 9. For more information | ||
about using this database image, including OpenShift considerations, | ||
see | ||
https://github.com/sclorg/postgresql-container/blob/master/README.md. | ||
iconClass: icon-postgresql | ||
tags: 'database,postgresql' | ||
version: '16' | ||
from: | ||
kind: DockerImage | ||
name: 'registry.redhat.io/rhel9/postgresql-16:latest' | ||
referencePolicy: | ||
type: Local | ||
- name: 16-el8 | ||
annotations: | ||
openshift.io/display-name: PostgreSQL 16 (RHEL 8) | ||
openshift.io/provider-display-name: 'Red Hat, Inc.' | ||
description: >- | ||
Provides a PostgreSQL 16 database on RHEL 8. For more information | ||
about using this database image, including OpenShift considerations, | ||
see | ||
https://github.com/sclorg/postgresql-container/blob/master/README.md. | ||
iconClass: icon-postgresql | ||
tags: 'database,postgresql' | ||
version: '16' | ||
from: | ||
kind: DockerImage | ||
name: 'registry.redhat.io/rhel8/postgresql-16:latest' | ||
referencePolicy: | ||
type: Local | ||
- name: 15-el9 | ||
annotations: | ||
openshift.io/display-name: PostgreSQL 15 (RHEL 9) | ||
openshift.io/provider-display-name: 'Red Hat, Inc.' | ||
description: >- | ||
Provides a PostgreSQL 15 database on RHEL 9. For more information | ||
about using this database image, including OpenShift considerations, | ||
see | ||
https://github.com/sclorg/postgresql-container/blob/master/README.md. | ||
iconClass: icon-postgresql | ||
tags: 'database,postgresql' | ||
version: '15' | ||
from: | ||
kind: DockerImage | ||
name: 'registry.redhat.io/rhel9/postgresql-15:latest' | ||
referencePolicy: | ||
type: Local | ||
- name: 15-el8 | ||
annotations: | ||
openshift.io/display-name: PostgreSQL 15 (RHEL 8) | ||
openshift.io/provider-display-name: 'Red Hat, Inc.' | ||
description: >- | ||
Provides a PostgreSQL 15 database on RHEL 8. For more information | ||
about using this database image, including OpenShift considerations, | ||
see | ||
https://github.com/sclorg/postgresql-container/blob/master/README.md. | ||
iconClass: icon-postgresql | ||
tags: 'database,postgresql' | ||
version: '15' | ||
from: | ||
kind: DockerImage | ||
name: 'registry.redhat.io/rhel8/postgresql-15:latest' | ||
referencePolicy: | ||
type: Local | ||
- name: 13-el9 | ||
annotations: | ||
openshift.io/display-name: PostgreSQL 13 (RHEL 9) | ||
openshift.io/provider-display-name: 'Red Hat, Inc.' | ||
description: >- | ||
Provides a PostgreSQL 13 database on RHEL 9. For more information | ||
about using this database image, including OpenShift considerations, | ||
see | ||
https://github.com/sclorg/postgresql-container/blob/master/README.md. | ||
iconClass: icon-postgresql | ||
tags: 'database,postgresql' | ||
version: '13' | ||
from: | ||
kind: DockerImage | ||
name: 'registry.redhat.io/rhel9/postgresql-13:latest' | ||
referencePolicy: | ||
type: Local | ||
- name: 13-el8 | ||
annotations: | ||
openshift.io/display-name: PostgreSQL 13 (RHEL 8) | ||
openshift.io/provider-display-name: 'Red Hat, Inc.' | ||
description: >- | ||
Provides a PostgreSQL 13 database on RHEL 8. For more information | ||
about using this database image, including OpenShift considerations, | ||
see | ||
https://github.com/sclorg/postgresql-container/blob/master/README.md. | ||
iconClass: icon-postgresql | ||
tags: 'database,postgresql' | ||
version: '13' | ||
from: | ||
kind: DockerImage | ||
name: 'registry.redhat.io/rhel8/postgresql-13:latest' | ||
referencePolicy: | ||
type: Local | ||
- name: 12-el8 | ||
annotations: | ||
openshift.io/display-name: PostgreSQL 12 (RHEL 8) | ||
openshift.io/provider-display-name: 'Red Hat, Inc.' | ||
description: >- | ||
Provides a PostgreSQL 12 database on RHEL 8. For more information | ||
about using this database image, including OpenShift considerations, | ||
see | ||
https://github.com/sclorg/postgresql-container/blob/master/README.md. | ||
iconClass: icon-postgresql | ||
tags: 'database,postgresql' | ||
version: '12' | ||
from: | ||
kind: DockerImage | ||
name: 'registry.redhat.io/rhel8/postgresql-12:latest' | ||
referencePolicy: | ||
type: Local |