feat(README): 文档更新

这个提交包含在:
2024-04-18 19:12:26 +08:00 未验证
父节点 4a2fe0b8c7
当前提交 7ebe4cdb4c
修改 10 个文件,包含 70 行新增33 行删除
+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
+23
查看文件
@@ -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
+2
查看文件
@@ -44,6 +44,8 @@ spec:
i18n:
LANGS: zh-CN,en-US
NAMES: 简体中文,English
log:
LEVEL: Info
extraVolumes:
- name: gitea-custom-templates-volume
configMap:
+5
查看文件
@@ -5,6 +5,11 @@ metadata:
---
apiVersion: v1
kind: Namespace
metadata:
name: infra-net
---
apiVersion: v1
kind: Namespace
metadata:
name: infra-data
---
+4 -4
查看文件
@@ -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"