Skip to content

Commit

Permalink
Add Pgpool version 4.5.3, 4.4.8 (#1239)
Browse files Browse the repository at this point in the history
Signed-off-by: MobarakHsn <[email protected]>
  • Loading branch information
MobarakHsn authored Aug 20, 2024
1 parent ca03d48 commit bbaf24c
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 0 deletions.
2 changes: 2 additions & 0 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@
"1.17.0"
],
"Pgpool": [
"4.5.3",
"4.5.0",
"4.4.8",
"4.4.5"
],
"Postgres": [
Expand Down
13 changes: 13 additions & 0 deletions catalog/kubedb/raw/pgpool/pgpool-4.4.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: PgpoolVersion
metadata:
name: 4.4.8
spec:
exporter:
image: ghcr.io/appscode-images/pgpool2_exporter:v1.2.2
pgpool:
image: ghcr.io/appscode-images/pgpool2:4.4.8
securityContext:
runAsAnyNonRoot: true
runAsUser: 70
version: 4.4.8
13 changes: 13 additions & 0 deletions catalog/kubedb/raw/pgpool/pgpool-4.5.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: PgpoolVersion
metadata:
name: 4.5.3
spec:
exporter:
image: ghcr.io/appscode-images/pgpool2_exporter:v1.2.2
pgpool:
image: ghcr.io/appscode-images/pgpool2:4.5.3
securityContext:
runAsAnyNonRoot: true
runAsUser: 70
version: 4.5.3
23 changes: 23 additions & 0 deletions charts/kubedb-catalog/templates/pgpool/pgpool-4.4.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Pgpool }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: PgpoolVersion
metadata:
name: '4.4.8'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/pgpool2_exporter") $) }}:v1.2.2'
pgpool:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/pgpool2") $) }}:4.4.8'
securityContext:
runAsAnyNonRoot: true
runAsUser: 70
version: 4.4.8
{{ end }}
23 changes: 23 additions & 0 deletions charts/kubedb-catalog/templates/pgpool/pgpool-4.5.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Pgpool }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: PgpoolVersion
metadata:
name: '4.5.3'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
exporter:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/pgpool2_exporter") $) }}:v1.2.2'
pgpool:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/pgpool2") $) }}:4.5.3'
securityContext:
runAsAnyNonRoot: true
runAsUser: 70
version: 4.5.3
{{ end }}

0 comments on commit bbaf24c

Please sign in to comment.