add tsm-dev minio postgresql redis mongodb

This commit is contained in:
Haitao Pan 2024-02-23 14:21:28 +08:00
parent ce0f1a068c
commit ecb2e5eb4d
33 changed files with 264 additions and 20 deletions

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: ingress
resources:
- repository.yaml
- release.yaml

View File

@ -0,0 +1,16 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m
chart:
spec:
version: "0.1.12"
chart: itsm
sourceRef:
kind: HelmRepository
name: itsm
namespace: itsm-dev
interval: 1m

View File

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m0s
url: https://charts.onwalk.net

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: ingress
resources:
- repository.yaml
- release.yaml

50
apps/minio/release.yaml Normal file
View File

@ -0,0 +1,50 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m
chart:
spec:
version: "0.1.12"
chart: itsm
sourceRef:
kind: HelmRepository
name: itsm
namespace: itsm-dev
interval: 1m
values:
apisix:
enabled: false
novu:
enabled: false
windmill:
enabled: false
postgresql:
enabled: false
redis:
enabled: false
mongodb:
enabled: false
minio:
enabled: true
nameOverride: minio
mode: distributed
replicas: 4
ingress:
enabled: true
ingressClassName: "nginx"
hosts:
- minio.local
persistence:
enabled: false
size: 10Gi
existingSecret: minio-secret
resources:
requests:
memory: 50Mi
cpu: 50m
limits:
cpu: "100m"
memory: "100Mi"

View File

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m0s
url: https://charts.onwalk.net

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: ingress
resources:
- repository.yaml
- release.yaml

57
apps/mongodb/release.yaml Normal file
View File

@ -0,0 +1,57 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m
chart:
spec:
version: "0.1.12"
chart: itsm
sourceRef:
kind: HelmRepository
name: itsm
namespace: itsm-dev
interval: 1m
values:
apisix:
enabled: false
novu:
enabled: false
windmill:
enabled: false
postgresql:
enabled: false
minio:
enabled: false
redis:
enabled: false
mongodb:
enabled: true
nameOverride: "mongodb"
architecture: standalone
useStatefulSet: true
global:
imageRegistry: ""
persistence:
enabled: true
auth:
enabled: true
rootUser: root
rootPassword: "mongodb"
usernames:
- novu
passwords:
- novu
databases:
- novu-db
persistence:
enabled: true
resources:
requests:
memory: 100Mi
cpu: 100m
limits:
cpu: "500m"
memory: "500Mi"

View File

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m0s
url: https://charts.onwalk.net

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: ingress
resources:
- repository.yaml
- release.yaml

View File

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m0s
url: https://charts.onwalk.net

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: ingress
resources:
- repository.yaml
- release.yaml

51
apps/redis/release.yaml Normal file
View File

@ -0,0 +1,51 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m
chart:
spec:
version: "0.1.12"
chart: itsm
sourceRef:
kind: HelmRepository
name: itsm
namespace: itsm-dev
interval: 1m
values:
apisix:
enabled: false
novu:
enabled: false
windmill:
enabled: false
postgresql:
enabled: false
minio:
enabled: false
mongodb:
enabled: false
redis:
enabled: true
nameOverride: "redis"
architecture: standalone
global:
imageRegistry: ""
redis:
password: "redis"
auth:
enabled: true
sentinel: false
password: ""
master:
persistence:
enabled: false
resources:
requests:
memory: 100Mi
cpu: 100m
limits:
cpu: "200m"
memory: "300Mi"

View File

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: itsm-dev
namespace: itsm-dev
spec:
interval: 1m0s
url: https://charts.onwalk.net

View File

@ -5,8 +5,8 @@ resources:
- ../../apps/monitor/observability-agent/
- ../../apps/monitor/kube-prometheus-stack/
- ../../apps/monitor/flagger/
- ../../apps/c-demo/
- ../../apps/js-demo/
- ../../apps/python-demo/
- ../../apps/go-demo/
- ../../apps/rust-demo/
- ../../apps/demo/c-app
- ../../apps/demo/js-app
- ../../apps/demo/python-app
- ../../apps/demo/go-app
- ../../apps/demo/rust-app

View File

@ -5,8 +5,8 @@ resources:
- ../../apps/monitor/observability-agent/
- ../../apps/monitor/kube-prometheus-stack/
- ../../apps/monitor/flagger/
- ../../apps/c-demo/
- ../../apps/js-demo/
- ../../apps/python-demo/
- ../../apps/go-demo/
- ../../apps/rust-demo/
- ../../apps/demo/c-app
- ../../apps/demo/js-app
- ../../apps/demo/python-app
- ../../apps/demo/go-app
- ../../apps/demo/rust-app

View File

@ -5,8 +5,8 @@ resources:
- ../../apps/monitor/observability-agent/
- ../../apps/monitor/kube-prometheus-stack/
- ../../apps/monitor/flagger/
- ../../apps/c-demo/
- ../../apps/js-demo/
- ../../apps/python-demo/
- ../../apps/go-demo/
- ../../apps/rust-demo/
- ../../apps/demo/c-app
- ../../apps/demo/js-app
- ../../apps/demo/python-app
- ../../apps/demo/go-app
- ../../apps/demo/rust-app

View File

@ -5,8 +5,8 @@ resources:
- ../../apps/monitor/observability-agent/
- ../../apps/monitor/kube-prometheus-stack/
- ../../apps/monitor/flagger/
- ../../apps/c-demo/
- ../../apps/js-demo/
- ../../apps/python-demo/
- ../../apps/go-demo/
- ../../apps/rust-demo/
- ../../apps/demo/c-app
- ../../apps/demo/js-app
- ../../apps/demo/python-app
- ../../apps/demo/go-app
- ../../apps/demo/rust-app