feat: add postgresql
This commit is contained in:
parent
5e1e436571
commit
d39a9a9c45
4 changed files with 81 additions and 0 deletions
18
_apps/kissj-postgresql.yml
Normal file
18
_apps/kissj-postgresql.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: kissj-postgres
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: argocd
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: kissj
|
||||||
|
source:
|
||||||
|
path: postgres
|
||||||
|
repoURL: https://gitlab.mareshq.com/gitops/skautdevs/kissj.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
6
postgresql/Chart.lock
Normal file
6
postgresql/Chart.lock
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
dependencies:
|
||||||
|
- name: postgresql
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
version: 11.1.19
|
||||||
|
digest: sha256:3d96a7bdd7eaadca57237f5114bef7d3cb9752c2b3ef3cfacc271165f53e2e96
|
||||||
|
generated: "2022-04-11T00:09:55.815395+02:00"
|
||||||
11
postgresql/Chart.yaml
Normal file
11
postgresql/Chart.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: v2
|
||||||
|
name: postgres
|
||||||
|
description: A Helm chart for Kubernetes
|
||||||
|
type: application
|
||||||
|
version: 0.1.0
|
||||||
|
appVersion: "1.0"
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: postgresql
|
||||||
|
version: 11.1.19
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
46
postgresql/values.yaml
Normal file
46
postgresql/values.yaml
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
postgresql:
|
||||||
|
global:
|
||||||
|
storageClass: longhorn
|
||||||
|
|
||||||
|
postgresql:
|
||||||
|
auth:
|
||||||
|
postgresPassword: Eycwrv4ECmxB63t37EwT
|
||||||
|
|
||||||
|
primary:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 2Gi
|
||||||
|
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 1Gi
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
size: 10Gi
|
||||||
|
|
||||||
|
readReplicas:
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 512Mi
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
size: 10Gi
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
prometheusRule:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
rules: []
|
||||||
Reference in a new issue