feat(README): 文档更新
这个提交包含在:
+1
-20
@@ -1,20 +1 @@
|
||||
# postgresql-ha
|
||||
helm instll postgresql-ha \
|
||||
--set global.postgresql.username=rohow \
|
||||
--set global.postgresql.password=XXX \
|
||||
--set postgresql.postgresPassword=XXX \
|
||||
--set namespaceOverride=infra-data \
|
||||
oci://registry-1.docker.io/bitnamicharts/postgresql-ha --output-dir .
|
||||
|
||||
# redis
|
||||
helm instll redis \
|
||||
--set replica.replicaCount=0 \
|
||||
--set global.redis.password=XXX \
|
||||
--set namespaceOverride=infra-data \
|
||||
oci://registry-1.docker.io/bitnamicharts/redis --output-dir .
|
||||
|
||||
# gitea
|
||||
helm instll gitea \
|
||||
--set redis-cluster.enabled=false \
|
||||
--set postgresql-ha.enabled=false \
|
||||
oci://registry-1.docker.io/giteacharts/gitea --output-dir .
|
||||
### apps
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: helm.cattle.io/v1
|
||||
kind: HelmChart
|
||||
metadata:
|
||||
name: crowdsec
|
||||
namespace: infra-monitor
|
||||
spec:
|
||||
repo: https://crowdsecurity.github.io/helm-charts
|
||||
chart: crowdsec
|
||||
targetNamespace: infra-monitor
|
||||
valuesContent: |-
|
||||
container_runtime: containerd
|
||||
image:
|
||||
tag: v1.6.1
|
||||
config:
|
||||
config.yaml.local: |
|
||||
db_config:
|
||||
type: postgresql
|
||||
user: rohow
|
||||
password: L#GRtTR2QuL@20pm6+c~
|
||||
db_name: crowdsec
|
||||
host: postgresql-ha-pgpool.infra-data
|
||||
port: 5432
|
||||
|
||||
@@ -44,6 +44,8 @@ spec:
|
||||
i18n:
|
||||
LANGS: zh-CN,en-US
|
||||
NAMES: 简体中文,English
|
||||
log:
|
||||
LEVEL: Info
|
||||
extraVolumes:
|
||||
- name: gitea-custom-templates-volume
|
||||
configMap:
|
||||
|
||||
@@ -5,6 +5,11 @@ metadata:
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: infra-net
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: infra-data
|
||||
---
|
||||
|
||||
@@ -7,14 +7,13 @@ spec:
|
||||
chart: oci://registry-1.docker.io/bitnamicharts/postgresql-ha
|
||||
targetNamespace: infra-data
|
||||
valuesContent: |-
|
||||
global:
|
||||
postgresql:
|
||||
username: rohow
|
||||
password: L#GRtTR2QuL@20pm6+c~
|
||||
postgresql:
|
||||
image:
|
||||
debug: false
|
||||
username: rohow
|
||||
password: L#GRtTR2QuL@20pm6+c~
|
||||
postgresPassword: L#GRtTR2QuL@20pm6+c~
|
||||
repmgrPassword: yAn0l2eiLw
|
||||
nodeAffinityPreset:
|
||||
type: "hard"
|
||||
key: "topology.kubernetes.io/region"
|
||||
@@ -27,6 +26,7 @@ spec:
|
||||
pgpool:
|
||||
image:
|
||||
debug: false
|
||||
adminPassword: wc8FVC55JX
|
||||
nodeAffinityPreset:
|
||||
type: "hard"
|
||||
key: "topology.kubernetes.io/region"
|
||||
|
||||
在新议题中引用
屏蔽一个用户