-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.54.0' into develop
- Loading branch information
Showing
14 changed files
with
142 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.54.0-alpha | ||
0.54.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v2 | ||
appVersion: "1.0" | ||
description: A Helm chart for the streams backend | ||
name: streams | ||
name: api-streams | ||
version: 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: Postgresql | ||
sidebar_label: Postgresql | ||
--- | ||
|
||
[PostgreSQL](https://www.postgresql.org/), also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance. | ||
|
||
By install ing the Postgresql component, a complete Postgresql server will be installed with a Service that can be reached on the `postgresql` host and port `5432` from inside the Kubernetes cluster. At the moment the Postgresql instance is only available from inside the cluster and it cannot be reached from the outside. | ||
|
||
The Postgresql Helm chart can be installed either from the Catalog in the `Control Center` or by running `helm install`: | ||
|
||
``` | ||
helm repo add airy https://helm.airy.co | ||
helm repo update | ||
helm install postgresql airy/postgresql | ||
``` | ||
|
||
The default version is `15.1` but this can be modified by overwriting the `--set version` value, when deploying the Helm chart. | ||
|
||
To retrieve the administrative Postgresql password for the `postgres` user run: | ||
|
||
``` | ||
kubectl get secret postgresql -o jsonpath='{.data.postgresql-password}' | base64 -d | ||
``` | ||
|
||
Note that the password changes every time that the helm chart is updated. Would be best to use it as an environmental variable in the pod, mounted directly from the `postgresql` secret. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
infrastructure/helm-chart/charts/tools/charts/postgresql/BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
load("//tools/build:helm.bzl", "helm_ruleset_version") | ||
load("//tools/build:helm.bzl", "helm_ruleset_core_version") | ||
|
||
helm_ruleset_version( | ||
version = "15.1", | ||
) | ||
helm_ruleset_core_version() |
10 changes: 10 additions & 0 deletions
10
infrastructure/helm-chart/charts/tools/charts/postgresql/templates/configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Values.name }} | ||
labels: | ||
core.airy.co/managed: "true" | ||
core.airy.co/mandatory: "{{ .Values.mandatory }}" | ||
core.airy.co/component: "{{ .Values.name }}" | ||
annotations: | ||
core.airy.co/enabled: "{{ .Values.enabled }}" |
6 changes: 3 additions & 3 deletions
6
infrastructure/helm-chart/charts/tools/charts/postgresql/templates/secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: postgres | ||
name: {{ .Values.name }} | ||
labels: | ||
app: postgres | ||
app: {{ .Values.name }} | ||
type: Opaque | ||
data: | ||
postgres-password: {{ default (randAlphaNum 32) | b64enc | quote }} | ||
{{ .Values.name }}-password: {{ default (randAlphaNum 32) | b64enc | quote }} |
8 changes: 4 additions & 4 deletions
8
infrastructure/helm-chart/charts/tools/charts/postgresql/templates/service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: postgres | ||
name: {{ .Values.name }} | ||
labels: | ||
app: postgres | ||
app: {{ .Values.name }} | ||
spec: | ||
type: ClusterIP | ||
clusterIP: None | ||
ports: | ||
- name: postgres | ||
- name: {{ .Values.name }} | ||
port: {{ .Values.port }} | ||
targetPort: {{ .Values.port }} | ||
selector: | ||
app: postgres | ||
app: {{ .Values.name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
infrastructure/helm-chart/charts/tools/charts/postgresql/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
name: postgresql | ||
mandatory: false | ||
enabled: true | ||
image: postgres | ||
version: 15.1 | ||
port: 5432 | ||
storage: "5Gi" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
load("//tools/build:helm.bzl", "helm_ruleset_version") | ||
load("//tools/build:helm.bzl", "helm_ruleset_core_version") | ||
|
||
helm_ruleset_version( | ||
version = "7.0.8", | ||
) | ||
helm_ruleset_core_version() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters