Skip to content

Commit

Permalink
Release v1.17.1 (#85)
Browse files Browse the repository at this point in the history
Signed-off-by: Tao Li <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: John Long <[email protected]>
Co-authored-by: Tao Li <[email protected]>
Co-authored-by: Jaime Silvela <[email protected]>
Co-authored-by: Gabriele Bartolini <[email protected]>
Co-authored-by: John Long <[email protected]>
  • Loading branch information
5 people authored Apr 17, 2023
1 parent a925436 commit f76c060
Show file tree
Hide file tree
Showing 23 changed files with 2,615 additions and 804 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v3.5.0
with:
fetch-depth: 0

Expand All @@ -22,8 +22,8 @@ jobs:

- name: Deploy using helm chart
run: |
helm upgrade --install cnp --namespace postgresql-operator-system \
--create-namespace charts/cloud-native-postgresql --wait
helm upgrade --install edb-pg4k --namespace postgresql-operator-system \
--create-namespace charts/edb-postgres-for-kubernetes --wait
- name: Install kubectl
uses: azure/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Cloud Native PostgreSQL Helm Charts - Contributor Code of Conduct
# EDB Postgres for Kubernetes Operator Helm Charts - Contributor Code of Conduct

## Our Pledge

Expand Down
22 changes: 0 additions & 22 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ docs:


schema:
helm schema-gen charts/cloud-native-postgresql/values.yaml > charts/cloud-native-postgresql/values.schema.json || \
helm schema-gen charts/edb-postgres-for-kubernetes/values.yaml > charts/edb-postgres-for-kubernetes/values.schema.json || \
(echo "Please, run: helm plugin install https://github.com/karuppiah7890/helm-schema-gen.git" && exit 1)
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# Cloud Native PostgreSQL Helm Chart
# EDB Postgres for Kubernetes Operator Helm Chart

Helm chart to install the
[Cloud Native PostgreSQL operator](https://docs.enterprisedb.io/cloud-native-postgresql/),
[EDB Postgres for Kubernetes operator](https://docs.enterprisedb.io/edb-postgres-for-kubernetes/),
designed by EnterpriseDB to manage PostgreSQL workloads on any
supported Kubernetes cluster running in private, public, or hybrid cloud
environments.
environments. Derived from CloudNativePG's Helm chart.

## Deployment using the latest release

```console
helm repo add cnp https://enterprisedb.github.io/cloud-native-postgresql-helm/
helm upgrade --install cnp \
helm repo add edb-pg4k https://enterprisedb.github.io/edb-postgres-for-kubernetes-charts/
helm upgrade --install edb-pg4k \
--namespace postgresql-operator-system \
--create-namespace \
cnp/cloud-native-postgresql
edb-pg4k/edb-postgres-for-kubernetes
```

## Deployment using local chart

To deploy the operator from sources you can run the following command:

```console
helm upgrade --install cnp \
helm upgrade --install edb-pg4k \
--namespace postgresql-operator-system \
--create-namespace \
charts/cloud-native-postgresql
charts/edb-postgres-for-kubernetes
```

## Copyright

`cloud-native-postgresql-helm` is distributed under Apache License 2.0.
`edb-postgres-for-kubernetes-charts` is distributed under Apache License 2.0.

**IMPORTANT:** Both the operator and the operand images are distributed
under different license terms, in particular the Cloud Native PostgreSQL
under different license terms, in particular the EDB Postgres for Kubernetes
operator is distributed under the
[EnterpriseDB Limited Use License](https://www.enterprisedb.com/limited-use-license).

Expand Down
6 changes: 3 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Cloud Native PostgreSQL release procedure
# EDB Postgres for Kubernetes Operator release procedure

## Required tools:

Expand All @@ -22,8 +22,8 @@ instructions accordingly.

To check the chart was updated correctly, run:
```bash
helm repo add cnp https://enterprisedb.github.io/cloud-native-postgresql-helm/
helm repo add edb-pg4k https://enterprisedb.github.io/edb-postgres-for-kubernetes-charts/
# or "helm repo update" if already added
helm search repo cnp
helm search repo edb-pg4k
```
and you should see the latest version available.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,27 @@
# limitations under the License.
#
apiVersion: v2
name: cloud-native-postgresql
description: Cloud Native Postgresql Helm Chart
name: edb-postgres-for-kubernetes
description: EDB Postgres for Kubernetes Helm Chart
icon: https://www.enterprisedb.com/themes/custom/edb_bootstrap_sass/edb-logo-disc-dark-2.svg
type: application
version: "0.13.0"
version: "0.17.1"
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning, they should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.15.0"
appVersion: "1.19.1"
sources:
- https://github.com/EnterpriseDB/cloud-native-postgresql-helm
- https://github.com/EnterpriseDB/edb-postgres-for-kubernetes-charts
keywords:
- postgresql
- postgres
- database
- edb
- enterprisedb
home: https://www.enterprisedb.com/products/postgresql-on-kubernetes-ha-clusters-k8s-containers-scalable
maintainers:
- name: phisco
email: [email protected]
- name: gbartolini
email: [email protected]
- name: jsilvela
email: [email protected]
File renamed without changes.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Cloud Native Postgresql operator should be installed in namespace "{{ .Release.Namespace }}".
EDB Postgres for Kubernetes Operator should be installed in namespace "{{ .Release.Namespace }}".
You can now create a PostgreSQL cluster with 3 nodes in the current namespace as follows:

cat <<EOF | kubectl apply -f -
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "cloud-native-postgresql.name" -}}
{{- define "edb-postgres-for-kubernetes.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

Expand All @@ -10,7 +10,7 @@ Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "cloud-native-postgresql.fullname" -}}
{{- define "edb-postgres-for-kubernetes.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
Expand All @@ -26,16 +26,16 @@ If release name contains chart name it will be used as a full name.
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "cloud-native-postgresql.chart" -}}
{{- define "edb-postgres-for-kubernetes.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "cloud-native-postgresql.labels" -}}
helm.sh/chart: {{ include "cloud-native-postgresql.chart" . }}
{{ include "cloud-native-postgresql.selectorLabels" . }}
{{- define "edb-postgres-for-kubernetes.labels" -}}
helm.sh/chart: {{ include "edb-postgres-for-kubernetes.chart" . }}
{{ include "edb-postgres-for-kubernetes.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
Expand All @@ -45,17 +45,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "cloud-native-postgresql.selectorLabels" -}}
app.kubernetes.io/name: {{ include "cloud-native-postgresql.name" . }}
{{- define "edb-postgres-for-kubernetes.selectorLabels" -}}
app.kubernetes.io/name: cloud-native-postgresql
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Create the name of the service account to use
*/}}
{{- define "cloud-native-postgresql.serviceAccountName" -}}
{{- define "edb-postgres-for-kubernetes.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "cloud-native-postgresql.fullname" .) .Values.serviceAccount.name }}
{{- default (include "edb-postgres-for-kubernetes.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kind: ConfigMap
metadata:
name: {{ .Values.config.name }}
labels:
{{- include "cloud-native-postgresql.labels" . | nindent 4 }}
{{- include "edb-postgres-for-kubernetes.labels" . | nindent 4 }}
{{- with .Values.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand All @@ -34,7 +34,7 @@ type: Opaque
metadata:
name: {{ .Values.config.name }}
labels:
{{- include "cloud-native-postgresql.labels" . | nindent 4 }}
{{- include "edb-postgres-for-kubernetes.labels" . | nindent 4 }}
{{- with .Values.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
Loading

0 comments on commit f76c060

Please sign in to comment.