postgresql-imagestreams
Red Hat PostgreSQL database service imagestreams. For more information about PostgreSQL container see https://github.com/sclorg/postgresql-container/.
About this chart
PostgreSQL Helm Chart imagestreams
The file contains all supported PostgreSQL imagestreams.
For more information about helm charts see the offical Helm Charts Documentation.
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.
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:
$ 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:
$ helm install postgresql-imagestreams postgresql-imagestreams-v0.0.1.tgz
In order to check if everything is imported properly, run command:
$ 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:
// Error: INSTALLATION FAILED: cannot re-use a name that is still in use
you have to uninstall previous PostgreSQL Helm Chart by command:
$ helm uninstall postgresql-imagestreams
Deploy postgresql-imagestreams with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has postgresql-imagestreams on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpostgresql-imagestreams is pinned at v0.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply