Skip to content

Commit abab648

Browse files
Merge pull request CrunchyData#313 from xenophenes/redhat
Red Hat Scanner - Atomic Documentation & Licenses
2 parents 1943809 + 0d94819 commit abab648

22 files changed

+544
-90
lines changed

centos7/Dockerfile.pgo-apiserver.centos7

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
FROM centos:7
22

33
LABEL Vendor="Crunchy Data Solutions" \
4-
PostgresVersion="10" \
5-
PostgresFullVersion="10.5" \
6-
Version="7.5" \
7-
Release="3.2.0" \
8-
summary="crunchy data's postgres operator api" \
9-
description="crunchy data postgres operator api"
10-
4+
PostgresVersion="10" \
5+
PostgresFullVersion="10.5" \
6+
Version="7.5" \
7+
Release="3.2.0" \
8+
summary="Crunchy Data PostgreSQL Operator - Apiserver" \
9+
description="Crunchy Data PostgreSQL Operator - Apiserver"
1110

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

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

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

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

centos7/Dockerfile.pgo-backrest.centos7

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
FROM centos:7
22

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

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

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

centos7/Dockerfile.pgo-load.centos7

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ FROM centos:7
22

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

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

19-
# PGDG Postgres repo
19+
# PGDG PostgreSQL Repository
20+
2021
RUN rpm -Uvh https://download.postgresql.org/pub/repos/yum/${PGVERSION}/redhat/rhel-7-x86_64/${PGDG_REPO}
2122

2223
RUN yum -y update && yum -y install epel-release \
@@ -29,10 +30,10 @@ RUN yum -y update && yum -y install epel-release \
2930
&& yum -y install postgresql10 \
3031
&& yum clean all -y
3132

32-
RUN mkdir -p /opt/cpm/bin /opt/cpm/conf
33+
RUN mkdir -p /opt/cpm/bin /opt/cpm/conf
3334
ADD bin/pgo-load/ /opt/cpm/bin
3435
ADD conf/pgo-load/ /opt/cpm/conf
35-
RUN chown -R 26:26 /opt/cpm
36+
RUN chown -R 26:26 /opt/cpm
3637

3738
VOLUME /pgdata
3839

centos7/Dockerfile.pgo-lspvc.centos7

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM centos:7
22

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

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

centos7/Dockerfile.pgo-rmdata.centos7

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM centos:7
22

33
LABEL Vendor="Crunchy Data Solutions" \
4-
Version="7.5" \
5-
Release="3.2.0" \
6-
summary="crunchy data's postgres operator rmdata" \
7-
description="crunchy data postgres operator rmdata"
4+
Version="7.5" \
5+
Release="3.2.0" \
6+
summary="Crunchy Data PostgreSQL Operator - Remove Data" \
7+
description="Crunchy Data PostgreSQL Operator - Remove Data"
88

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

centos7/Dockerfile.postgres-operator.centos7

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
FROM centos:7
22

33
LABEL Vendor="Crunchy Data Solutions" \
4-
PostgresVersion="10" \
5-
PostgresFullVersion="10.5" \
6-
Version="7.5" \
7-
Release="3.2.0" \
8-
summary="crunchy data's postgres operator" \
9-
description="postgres operator"
10-
4+
PostgresVersion="10" \
5+
PostgresFullVersion="10.5" \
6+
Version="7.5" \
7+
Release="3.2.0" \
8+
summary="Crunchy Data PostgreSQL Operator" \
9+
description="Crunchy Data PostgreSQL Operator"
10+
1111
ENV PGVERSION="10" PGDG_REPO="pgdg-centos10-10-2.noarch.rpm"
1212

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

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

redhat/atomic/pgo_apiserver/help.1

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
.TH "pgo-apiserver " "1" " Container Image Pages" "Jeff McCormick" "August 17, 2018"
2+
.nh
3+
.ad l
4+
5+
6+
.SH NAME
7+
.PP
8+
pgo-apiserver \- pgo-apiserver container image
9+
10+
11+
.SH DESCRIPTION
12+
.PP
13+
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.
14+
15+
The apiserver REST API allows users to interact freely with the Operator using a command line interface.
16+
17+
.PP
18+
The container itself consists of:
19+
\- RHEL7 base image
20+
\- Bash script that performs the container startup
21+
\- PostgreSQL binary packages
22+
23+
.PP
24+
Files added to the container during Docker build include: /help.1.
25+
26+
27+
.SH USAGE
28+
.PP
29+
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.
30+
31+
32+
.SH LABELS
33+
.PP
34+
The starter container includes the following LABEL settings:
35+
36+
.PP
37+
That atomic command runs the Docker command set in this label:
38+
39+
.PP
40+
\fB\fCName=\fR
41+
42+
.PP
43+
The registry location and name of the image. For example, Name="crunchydata/pgo-apiserver".
44+
45+
.PP
46+
\fB\fCVersion=\fR
47+
48+
.PP
49+
The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"
50+
51+
.PP
52+
\fB\fCRelease=\fR
53+
54+
.PP
55+
The specific release number of the container. For example, Release="3.2"

redhat/atomic/pgo_apiserver/help.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
= pgo-apiserver (1)
2+
Jeff McCormick
3+
August 17, 2018
4+
5+
== NAME
6+
pgo-apiserver - The REST API container image for Crunchy Data's PostgreSQL Operator
7+
8+
== DESCRIPTION
9+
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.
10+
11+
The apiserver REST API allows users to interact freely with the Operator using a command line interface.
12+
13+
The container itself consists of:
14+
- RHEL7 base image
15+
- Bash script that performs the container startup
16+
- PostgreSQL binary packages
17+
18+
Files added to the container during Docker build include: /help.1.
19+
20+
== USAGE
21+
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.
22+
23+
== LABELS
24+
The starter container includes the following LABEL settings:
25+
26+
That atomic command runs the Docker command set in this label:
27+
28+
`Name=`
29+
30+
The registry location and name of the image. For example, Name="crunchydata/pgo-apiserver".
31+
32+
`Version=`
33+
34+
The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"
35+
36+
`Release=`
37+
38+
The specific release number of the container. For example, Release="3.2"

redhat/atomic/pgo_load/help.1

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
.TH "pgo-load " "1" " Container Image Pages" "Jeff McCormick" "August 17, 2018"
2+
.nh
3+
.ad l
4+
5+
6+
.SH NAME
7+
.PP
8+
pgo-load \- Loads a CSV or JSON file into a PostgreSQL database.
9+
10+
11+
.SH DESCRIPTION
12+
.PP
13+
Works in conjunction with Crunchy Data's PostgreSQL Operator to load a CSV or JSON file into the database.
14+
15+
.PP
16+
The container itself consists of:
17+
\- RHEL7 base image
18+
\- Bash script that performs the container startup
19+
\- PostgreSQL binary packages
20+
21+
.PP
22+
Files added to the container during Docker build include: /help.1.
23+
24+
25+
.SH USAGE
26+
.PP
27+
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.
28+
29+
30+
.SH LABELS
31+
.PP
32+
The starter container includes the following LABEL settings:
33+
34+
.PP
35+
That atomic command runs the Docker command set in this label:
36+
37+
.PP
38+
\fB\fCName=\fR
39+
40+
.PP
41+
The registry location and name of the image. For example, Name="crunchydata/pgo-load".
42+
43+
.PP
44+
\fB\fCVersion=\fR
45+
46+
.PP
47+
The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"
48+
49+
.PP
50+
\fB\fCRelease=\fR
51+
52+
.PP
53+
The specific release number of the container. For example, Release="3.2"

redhat/atomic/pgo_load/help.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
= pgo-load (1)
2+
Jeff McCormick
3+
August 17, 2018
4+
5+
== NAME
6+
pgo-load - Loads a CSV or JSON file into a PostgreSQL database.
7+
8+
== DESCRIPTION
9+
Works in conjunction with Crunchy Data's PostgreSQL Operator to load a CSV or JSON file into the database.
10+
11+
The container itself consists of:
12+
- RHEL7 base image
13+
- Bash script that performs the container startup
14+
- PostgreSQL binary packages
15+
16+
Files added to the container during Docker build include: /help.1.
17+
18+
== USAGE
19+
For more information on the PostgreSQL Operator, see the official Crunchy Postgres Operator repository on GitHub.
20+
21+
== LABELS
22+
The starter container includes the following LABEL settings:
23+
24+
That atomic command runs the Docker command set in this label:
25+
26+
`Name=`
27+
28+
The registry location and name of the image. For example, Name="crunchydata/pgo-load".
29+
30+
`Version=`
31+
32+
The Red Hat Enterprise Linux version from which the container was built. For example, Version="7.5"
33+
34+
`Release=`
35+
36+
The specific release number of the container. For example, Release="3.2"

0 commit comments

Comments
 (0)