diff --git a/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/Chart.yaml b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/Chart.yaml new file mode 100644 index 00000000000..23a75f3d18a --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/Chart.yaml @@ -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 diff --git a/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/README.md b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/README.md new file mode 100644 index 00000000000..32e3ed99318 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/README.md @@ -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 +``` + + diff --git a/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/templates/imagestreams.yaml b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/templates/imagestreams.yaml new file mode 100644 index 00000000000..b4c45bd739c --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.3/src/templates/imagestreams.yaml @@ -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