Skip to content

Red Hat Scanner - Atomic Documentation & Licenses #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions centos7/Dockerfile.pgo-apiserver.centos7
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM centos:7

LABEL Vendor="Crunchy Data Solutions" \
PostgresVersion="10" \
PostgresFullVersion="10.5" \
Version="7.5" \
Release="3.2.0" \
summary="crunchy data's postgres operator api" \
description="crunchy data postgres operator api"

PostgresVersion="10" \
PostgresFullVersion="10.5" \
Version="7.5" \
Release="3.2.0" \
summary="Crunchy Data PostgreSQL Operator - Apiserver" \
description="Crunchy Data PostgreSQL Operator - Apiserver"

ENV PGVERSION="10" PGDG_REPO="pgdg-centos10-10-2.noarch.rpm"

RUN rpm -Uvh https://download.postgresql.org/pub/repos/yum/${PGVERSION}/redhat/rhel-7-x86_64/${PGDG_REPO}
# PGDG PostgreSQL Repository

RUN rpm -Uvh https://download.postgresql.org/pub/repos/yum/${PGVERSION}/redhat/rhel-7-x86_64/${PGDG_REPO}

RUN yum -y update && yum -y install postgresql96 hostname && yum -y clean all

Expand Down
7 changes: 3 additions & 4 deletions centos7/Dockerfile.pgo-backrest.centos7
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM centos:7

LABEL Vendor="Crunchy Data Solutions" \
Release="3.2.0" \
summary="crunchy data's postgres operator backrest" \
description="crunchy data postgres operator backrest"
Release="3.2.0" \
summary="Crunchy Data PostgreSQL Operator - pgBackRest" \
description="pgBackRest image that is integrated for use with Crunchy Data's PostgreSQL Operator."

RUN yum -y update && yum -y clean all


RUN mkdir -p /opt/cpm/bin && chown -R 26:26 /opt/cpm
ADD bin/pgo-backrest/ /opt/cpm/bin

Expand Down
19 changes: 10 additions & 9 deletions centos7/Dockerfile.pgo-load.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ FROM centos:7

LABEL name="crunchydata/pgo-load" \
vendor="crunchy data" \
PostgresVersion="10" \
PostgresFullVersion="10.5" \
Version="7.5" \
Release="3.2.0" \
PostgresVersion="10" \
PostgresFullVersion="10.5" \
Version="7.5" \
Release="3.2.0" \
url="https://crunchydata.com" \
summary="loads a CSV or json file into a database" \
description="executed by the operator, loads a CSV or json file." \
summary="Crunchy Data PostgreSQL Operator - Load Data" \
description="Loads a CSV or JSON file into the database." \
io.k8s.description="pgo-load container" \
io.k8s.display-name="Crunchy pgo-load container" \
io.openshift.expose-services="" \
io.openshift.tags="crunchy,database"

ENV PGVERSION="10" PGDG_REPO="pgdg-centos10-10-2.noarch.rpm"

# PGDG Postgres repo
# PGDG PostgreSQL Repository

RUN rpm -Uvh https://download.postgresql.org/pub/repos/yum/${PGVERSION}/redhat/rhel-7-x86_64/${PGDG_REPO}

RUN yum -y update && yum -y install epel-release \
Expand All @@ -29,10 +30,10 @@ RUN yum -y update && yum -y install epel-release \
&& yum -y install postgresql10 \
&& yum clean all -y

RUN mkdir -p /opt/cpm/bin /opt/cpm/conf
RUN mkdir -p /opt/cpm/bin /opt/cpm/conf
ADD bin/pgo-load/ /opt/cpm/bin
ADD conf/pgo-load/ /opt/cpm/conf
RUN chown -R 26:26 /opt/cpm
RUN chown -R 26:26 /opt/cpm

VOLUME /pgdata

Expand Down
8 changes: 4 additions & 4 deletions centos7/Dockerfile.pgo-lspvc.centos7
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM centos:7

LABEL Vendor="Crunchy Data Solutions" \
Version="7.5" \
Release="3.2.0" \
summary="crunchy data's postgres operator lspvc" \
description="crunchy data postgres operator lspvc"
Version="7.5" \
Release="3.2.0" \
summary="Crunchy Data PostgreSQL Operator - Display PVC" \
description="Crunchy Data PostgreSQL Operator - Display contents of a PVC"

RUN yum -y update && yum -y clean all

Expand Down
8 changes: 4 additions & 4 deletions centos7/Dockerfile.pgo-rmdata.centos7
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM centos:7

LABEL Vendor="Crunchy Data Solutions" \
Version="7.5" \
Release="3.2.0" \
summary="crunchy data's postgres operator rmdata" \
description="crunchy data postgres operator rmdata"
Version="7.5" \
Release="3.2.0" \
summary="Crunchy Data PostgreSQL Operator - Remove Data" \
description="Crunchy Data PostgreSQL Operator - Remove Data"

RUN yum -y update && yum -y clean all

Expand Down
16 changes: 9 additions & 7 deletions centos7/Dockerfile.postgres-operator.centos7
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
FROM centos:7

LABEL Vendor="Crunchy Data Solutions" \
PostgresVersion="10" \
PostgresFullVersion="10.5" \
Version="7.5" \
Release="3.2.0" \
summary="crunchy data's postgres operator" \
description="postgres operator"
PostgresVersion="10" \
PostgresFullVersion="10.5" \
Version="7.5" \
Release="3.2.0" \
summary="Crunchy Data PostgreSQL Operator" \
description="Crunchy Data PostgreSQL Operator"

ENV PGVERSION="10" PGDG_REPO="pgdg-centos10-10-2.noarch.rpm"

# PGDG PostgreSQL Repository

RUN rpm -Uvh https://download.postgresql.org/pub/repos/yum/${PGVERSION}/redhat/rhel-7-x86_64/${PGDG_REPO}

RUN yum -y update && yum -y install hostname postgresql96 && yum -y clean all
Expand Down
55 changes: 55 additions & 0 deletions redhat/atomic/pgo_apiserver/help.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
.TH "pgo-apiserver " "1" " Container Image Pages" "Jeff McCormick" "August 17, 2018"
.nh
.ad l


.SH NAME
.PP
pgo-apiserver \- pgo-apiserver container image


.SH DESCRIPTION
.PP
The Postgres Operator is a controller, written in Golang, that uses the Kubernetes API and CustomResourceDefinition concepts to offer users a CLI which enables them to create and manage PostgreSQL databases and clusters running on a Kubernetes cluster.

The apiserver REST API allows users to interact freely with the Operator using a command line interface.

.PP
The container itself consists of:
\- RHEL7 base image
\- Bash script that performs the container startup
\- PostgreSQL binary packages

.PP
Files added to the container during Docker build include: /help.1.


.SH USAGE
.PP
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.


.SH LABELS
.PP
The starter container includes the following LABEL settings:

.PP
That atomic command runs the Docker command set in this label:

.PP
\fB\fCName=\fR

.PP
The registry location and name of the image. For example, Name="crunchydata/pgo-apiserver".

.PP
\fB\fCVersion=\fR

.PP
The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"

.PP
\fB\fCRelease=\fR

.PP
The specific release number of the container. For example, Release="3.2"
38 changes: 38 additions & 0 deletions redhat/atomic/pgo_apiserver/help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
= pgo-apiserver (1)
Jeff McCormick
August 17, 2018

== NAME
pgo-apiserver - The REST API container image for Crunchy Data's PostgreSQL Operator

== DESCRIPTION
The Postgres Operator is a controller, written in Golang, that uses the Kubernetes API and CustomResourceDefinition concepts to offer users a CLI which enables them to create and manage PostgreSQL databases and clusters running on a Kubernetes cluster.

The apiserver REST API allows users to interact freely with the Operator using a command line interface.

The container itself consists of:
- RHEL7 base image
- Bash script that performs the container startup
- PostgreSQL binary packages

Files added to the container during Docker build include: /help.1.

== USAGE
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.

== LABELS
The starter container includes the following LABEL settings:

That atomic command runs the Docker command set in this label:

`Name=`

The registry location and name of the image. For example, Name="crunchydata/pgo-apiserver".

`Version=`

The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"

`Release=`

The specific release number of the container. For example, Release="3.2"
53 changes: 53 additions & 0 deletions redhat/atomic/pgo_load/help.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.TH "pgo-load " "1" " Container Image Pages" "Jeff McCormick" "August 17, 2018"
.nh
.ad l


.SH NAME
.PP
pgo-load \- Loads a CSV or JSON file into a PostgreSQL database.


.SH DESCRIPTION
.PP
Works in conjunction with Crunchy Data's PostgreSQL Operator to load a CSV or JSON file into the database.

.PP
The container itself consists of:
\- RHEL7 base image
\- Bash script that performs the container startup
\- PostgreSQL binary packages

.PP
Files added to the container during Docker build include: /help.1.


.SH USAGE
.PP
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.


.SH LABELS
.PP
The starter container includes the following LABEL settings:

.PP
That atomic command runs the Docker command set in this label:

.PP
\fB\fCName=\fR

.PP
The registry location and name of the image. For example, Name="crunchydata/pgo-load".

.PP
\fB\fCVersion=\fR

.PP
The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"

.PP
\fB\fCRelease=\fR

.PP
The specific release number of the container. For example, Release="3.2"
36 changes: 36 additions & 0 deletions redhat/atomic/pgo_load/help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
= pgo-load (1)
Jeff McCormick
August 17, 2018

== NAME
pgo-load - Loads a CSV or JSON file into a PostgreSQL database.

== DESCRIPTION
Works in conjunction with Crunchy Data's PostgreSQL Operator to load a CSV or JSON file into the database.

The container itself consists of:
- RHEL7 base image
- Bash script that performs the container startup
- PostgreSQL binary packages

Files added to the container during Docker build include: /help.1.

== USAGE
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.

== LABELS
The starter container includes the following LABEL settings:

That atomic command runs the Docker command set in this label:

`Name=`

The registry location and name of the image. For example, Name="crunchydata/pgo-load".

`Version=`

The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"

`Release=`

The specific release number of the container. For example, Release="3.2"
52 changes: 52 additions & 0 deletions redhat/atomic/pgo_lspvc/help.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.TH "pgo-lspvc " "1" " Container Image Pages" "Jeff McCormick" "August 17, 2018"
.nh
.ad l


.SH NAME
.PP
pgo-lspvc \- Display contents of a PVC.


.SH DESCRIPTION
.PP
The pgo-lspvc image works in conjunction with Crunchy Data's PostgreSQL Operator to display the contents of a PVC using the ls command.

.PP
The container itself consists of:
\- RHEL7 base image
\- Command executing ls against the target container

.PP
Files added to the container during Docker build include: /help.1.


.SH USAGE
.PP
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.


.SH LABELS
.PP
The starter container includes the following LABEL settings:

.PP
That atomic command runs the Docker command set in this label:

.PP
\fB\fCName=\fR

.PP
The registry location and name of the image. For example, Name="crunchydata/pgo-lspvc".

.PP
\fB\fCVersion=\fR

.PP
The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"

.PP
\fB\fCRelease=\fR

.PP
The specific release number of the container. For example, Release="3.2"
Loading