This commit is contained in:
parent
a138342fb2
commit
6feba07ee9
8 changed files with 42 additions and 84 deletions
|
@ -6,4 +6,4 @@ DB_QUERY_LIMIT_MIN=1
|
||||||
NC_JWT_EXPIRES_IN=1h
|
NC_JWT_EXPIRES_IN=1h
|
||||||
NC_DISABLE_TELE=true
|
NC_DISABLE_TELE=true
|
||||||
NC_ADMIN_EMAIL=peter.kurfer@gmail.com
|
NC_ADMIN_EMAIL=peter.kurfer@gmail.com
|
||||||
NC_REDIS_URL=redis://nocodb-keydb:6379/0
|
NC_REDIS_URL=redis://nocodb-cache:6379/0
|
|
@ -1,33 +0,0 @@
|
||||||
imageRepository: code.icb4dc0.de/prskr/infrastructure/keydb
|
|
||||||
imageTag: v6.3.3
|
|
||||||
|
|
||||||
nodes: 3
|
|
||||||
podDisruptionBudget:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
persistentVolume:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 100Mi
|
|
||||||
limits:
|
|
||||||
cpu: 250m
|
|
||||||
memory: 256Mi
|
|
||||||
|
|
||||||
exporter:
|
|
||||||
enabled: true
|
|
||||||
imageTag: v1.51.0
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 50Mi
|
|
||||||
limits:
|
|
||||||
cpu: 150m
|
|
||||||
memory: 100Mi
|
|
||||||
|
|
||||||
serviceMonitor:
|
|
||||||
enabled: true
|
|
||||||
labels:
|
|
||||||
prometheus: default
|
|
|
@ -16,6 +16,7 @@ labels:
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- resources/namespace.yaml
|
- resources/namespace.yaml
|
||||||
|
- resources/dragonfly.yaml
|
||||||
- resources/pvc.yaml
|
- resources/pvc.yaml
|
||||||
- resources/deployment.yaml
|
- resources/deployment.yaml
|
||||||
- resources/service.yaml
|
- resources/service.yaml
|
||||||
|
@ -28,11 +29,3 @@ secretGenerator:
|
||||||
- envs:
|
- envs:
|
||||||
- config/base.env
|
- config/base.env
|
||||||
name: nocodb-base-config
|
name: nocodb-base-config
|
||||||
|
|
||||||
helmCharts:
|
|
||||||
- name: keydb
|
|
||||||
namespace: nocodb
|
|
||||||
releaseName: nocodb-keydb
|
|
||||||
repo: https://enapter.github.io/charts/
|
|
||||||
valuesFile: config/values.keydb.yaml
|
|
||||||
version: 0.48.0
|
|
||||||
|
|
18
nocodb/resources/dragonfly.yaml
Normal file
18
nocodb/resources/dragonfly.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
apiVersion: dragonflydb.io/v1alpha1
|
||||||
|
kind: Dragonfly
|
||||||
|
metadata:
|
||||||
|
name: nocodb-cache
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: nocodb-cache
|
||||||
|
app.kubernetes.io/instance: nocodb
|
||||||
|
app.kubernetes.io/part-of: nocodb
|
||||||
|
spec:
|
||||||
|
replicas: 2
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 350Mi
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 350Mi
|
|
@ -1,31 +0,0 @@
|
||||||
imageRepository: code.icb4dc0.de/prskr/infrastructure/keydb
|
|
||||||
imageTag: v6.3.2
|
|
||||||
|
|
||||||
podDisruptionBudget:
|
|
||||||
enabled: true
|
|
||||||
persistentVolume:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 10m
|
|
||||||
memory: 60Mi
|
|
||||||
limits:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 128Mi
|
|
||||||
|
|
||||||
serviceMonitor:
|
|
||||||
enabled: true
|
|
||||||
labels:
|
|
||||||
prometheus: default
|
|
||||||
|
|
||||||
exporter:
|
|
||||||
enabled: true
|
|
||||||
imageTag: v1.51.0
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 50Mi
|
|
||||||
limits:
|
|
||||||
cpu: 150m
|
|
||||||
memory: 100Mi
|
|
|
@ -19,6 +19,7 @@ labels:
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- resources/namespace.yaml
|
- resources/namespace.yaml
|
||||||
|
- resources/api/dragonfly.yaml
|
||||||
- resources/api/pvc.yaml
|
- resources/api/pvc.yaml
|
||||||
- resources/api/deployment.yaml
|
- resources/api/deployment.yaml
|
||||||
- resources/api/service.yaml
|
- resources/api/service.yaml
|
||||||
|
@ -28,11 +29,3 @@ resources:
|
||||||
|
|
||||||
generators:
|
generators:
|
||||||
- ./secret-generator.yaml
|
- ./secret-generator.yaml
|
||||||
|
|
||||||
helmCharts:
|
|
||||||
- name: keydb
|
|
||||||
repo: https://enapter.github.io/charts/
|
|
||||||
releaseName: vikunja-session-cache
|
|
||||||
namespace: nocodb
|
|
||||||
version: "0.48.0"
|
|
||||||
valuesFile: config/values.keydb.yaml
|
|
|
@ -4,7 +4,7 @@ metadata:
|
||||||
name: vikunja-config
|
name: vikunja-config
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
config.yml: ENC[AES256_GCM,data:eRgslzSRlN3e2+ZujSLwuvCq+5osN//n4p0mg7i9VGMXN0m3DJVsmlaV8ZYZrNHgnfx9hFXfMKgtQYOtsgBoiFn3Za6ZMOm9aLPx8T9oe1kRt3KtmE9YSHQAko3FF9sOQ1szvRgEGLiANUPEBzSw/+KhlHltw77hF5AVOhuM3Rd0nxxkFHxkBaBf77cjANuEeE1qDXQUuiLD8eGU3EjXY+fEyKlELwIzkai+UBbVZiQ/RpKlHFk5XtibH6pW27idScKxlrJ5WJ3HjhaGPAqv6uOvr3589xWJKcB9xLqKxo49Cb2gisTPio1vBhxtGTs7hd3xmuABreaBqUoBMMkCt/MZjAUs6Jg5KQ16cjxPOva8rOilnoJPFZW9iqiuuyo3VPWzWSdzd/9A/QWtSKlliITbntIItiHmWbScq3vZ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mmsLSknL6IUrWTZX5BtofAaraHB5ZTEdZ1vBeTOaFnq95MaruVR5yQ31bTikT0oDL+a1JnOpi5JspKsD4b1IjPMQEw6hdIgjDtZfIzUz9UTMReA+ysbY95tghvBhd4sTEAYGcOzRbBZGC5+vfXCh92It2owrBCZjud7bDF97KciiGKXOpxPCZd6oJUfEx+teHcyEVUkEXyPa0pyRgIvGwsZlfho0+gvSRh9AtGIt1RlEm0XJhmzheIy0MOGxv8O1M9GAiqP5nrqj2CRYO/BXScz13muIAj0a26WctgRyhgOPBuWyZe0fxv35ykzUe0fzJGOHPDCmeoaFzAjwl33cODSrJHP0di/QtNjVg9HkF/nJ4KGji12f3++iKhutZrwzKrHku9cLsMRL3iu9jxZRjlSmQxV8fBv3Hmwg50e3KxxCAphSSFhT1CWiIT6YjA4lp5SlXh8Zv9QKVObZAw/4oG+5MIrrUq7UsQbiJ2OWWN8/F+dC1AbpiwN0UlUoFHLkAgzzkmmmlsL+92cw==,iv:tT5PiheJJvzi99dYg2m5pmd0G5g6dOrfsztuIn1fXFM=,tag:1sf17XtRr8Fq9R2Djac2/A==,type:str]
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
gcp_kms: []
|
gcp_kms: []
|
||||||
|
@ -29,8 +29,8 @@ sops:
|
||||||
UnE2NTVSSUp1OEVFVDd5bHJYOEZpaVkKqmw9GLZavqaPQOJjGhLqXo4ggfmFDgXz
|
UnE2NTVSSUp1OEVFVDd5bHJYOEZpaVkKqmw9GLZavqaPQOJjGhLqXo4ggfmFDgXz
|
||||||
C9HNxeDVr2kY452gleVS/YFTPWo0QPevl0SjpZg2gvnz28qLDSNXYQ==
|
C9HNxeDVr2kY452gleVS/YFTPWo0QPevl0SjpZg2gvnz28qLDSNXYQ==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2023-11-22T19:23:29Z"
|
lastmodified: "2024-04-10T19:09:31Z"
|
||||||
mac: ENC[AES256_GCM,data:o5z6T8vTpHpeFNqm/Ij+ewXlMYuLGU9Rms5Ydt9hsvbErAFCObdxHtQe0RIQl//A9FklslJWCbteGVpeG2G0ewr42iFIM7r+zI5+pXy01/42Ith8JN2bNm/BaNco6nIltIc15RwDsbDemrXG2A/aR8dBH9JC+QtMH6G6/Mjub1U=,iv:7/6Iz0ftHNMXlOyvYkGj3z2wJBQ8hGr1LUuI9u0kfF8=,tag:NNKVHWzvh40ygCte0PYFeA==,type:str]
|
mac: ENC[AES256_GCM,data:D+izZl07sm3DGP44qdCYsjIPhQ2S1eURKtB+CYULmsFnI+8FiCV0cgq3zA/af6PTeVV62lFoLiaZzSeLTRi41c1qvGL3KUwjLMm/cPLKZXygtzcDAeJun3JN+DejJmdNZkqBy6m4IWJPbEH4LcXP3RglV1KQGNXxDdL/fzLcKgc=,iv:yvpEjmldoblZyrfNUValNxEkNiTCdkSe7i/GjIE+26o=,tag:vTN2nI/o35doWvUMlLrrzw==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
unencrypted_regex: ^(apiVersion|metadata|kind|type)$
|
unencrypted_regex: ^(apiVersion|metadata|kind|type)$
|
||||||
version: 3.8.1
|
version: 3.8.1
|
||||||
|
|
18
vikunja/resources/api/dragonfly.yaml
Normal file
18
vikunja/resources/api/dragonfly.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
apiVersion: dragonflydb.io/v1alpha1
|
||||||
|
kind: Dragonfly
|
||||||
|
metadata:
|
||||||
|
name: vikunja-cache
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: vikunja-cache
|
||||||
|
app.kubernetes.io/instance: vikunja
|
||||||
|
app.kubernetes.io/part-of: vikunja
|
||||||
|
spec:
|
||||||
|
replicas: 2
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 350Mi
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 350Mi
|
Loading…
Reference in a new issue