refactor(vikunja): replace hcloud volume with R2
All checks were successful
Renovate / renovate (push) Successful in 1m9s

This commit is contained in:
Peter 2023-11-22 20:27:05 +01:00
parent 30974b2f38
commit ec3cdd6410
No known key found for this signature in database
7 changed files with 48 additions and 8 deletions

1
vikunja/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
charts/

View file

@ -0,0 +1,31 @@
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

View file

@ -26,3 +26,11 @@ 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

View file

@ -4,7 +4,7 @@ metadata:
name: vikunja-config name: vikunja-config
type: Opaque type: Opaque
stringData: stringData:
config.yml: ENC[AES256_GCM,data:P7sj7n7HRrPbEPkiGdxU4AJa8eR65AJYgEuJCeEsbsVwFtJ6epf4vm1bbpJ625P9ZzgllqunJvaiGGYCcmkHfUro77eIHdUOc5uvgaIp+Cb+Cv9+RuWm76lJeh1JpteeQ6zXX/OjeuL9TOEY89fynsuV7OQv/LxzPayPJedcAMiNsUtCzfB+qV84AlcRzNlx6HtsG0q2Aj75lBn0SvAZF0YRXX+vnJW/85y6tHu1x3kbxW0GtFHo0XMETKugbV7dEM6UUCUhRab7Za4JwjNJMvgMb2u2MU3BvQHG/3maKtqKnOQfAS1Cnbaq1W4b0FDUBRbMPKyOXHrMMXfLXPKVC7ozYqYh65eQIylBHCPP2wm9zZZeSG7QJoAN3GIj0fJIKM7tnGuppJEM3ZNwx80DWjgnVBa+AuaZ07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M55wDhPyFFalvQmccz0E7jJ9TKJx3n9tLbRH/mvJO16eXLX5JDxwt5HTMS1A2vRUpOMqT8R7PAkZyfEeFdvLLW88RwF/y4b4XxdDzPsLdzWCjYjhXmnUTcpd1RGIQEYuclS/BaZtmN9DSNb3AIT4cPeVvKo+K/,iv:EzzlAkFPitzJxz2ccnIRbxGnDM99eB5AVc0OAGgQsHk=,tag:GKN7FG5Op4P0rliSaThowg==,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-21T19:37:33Z" lastmodified: "2023-11-22T19:23:29Z"
mac: ENC[AES256_GCM,data:2ObbulomnNRBy2/OjuYJhXge1SQJt7abb7PG1On8y5Tdgu+UR6oHK5Sdthr338+ZEkta2qjH58CCOh/wGFrHiihJNIbpFUMY9+yKWZ/1GJpt3MZ5U1PU1PYZjy+6RDTo4NYKqbhZvdGVh/KNGSGuCvALff/ZHXy3GhuZC6pFeF4=,iv:Pz9lTnU9zoocTFU2GVrMaJF+ANTUcJ5IYGt8ACUHLBw=,tag:KgB4fEzxrB3g62N4fAwCXA==,type:str] mac: ENC[AES256_GCM,data:o5z6T8vTpHpeFNqm/Ij+ewXlMYuLGU9Rms5Ydt9hsvbErAFCObdxHtQe0RIQl//A9FklslJWCbteGVpeG2G0ewr42iFIM7r+zI5+pXy01/42Ith8JN2bNm/BaNco6nIltIc15RwDsbDemrXG2A/aR8dBH9JC+QtMH6G6/Mjub1U=,iv:7/6Iz0ftHNMXlOyvYkGj3z2wJBQ8hGr1LUuI9u0kfF8=,tag:NNKVHWzvh40ygCte0PYFeA==,type:str]
pgp: [] pgp: []
unencrypted_regex: ^(apiVersion|metadata|kind|type)$ unencrypted_regex: ^(apiVersion|metadata|kind|type)$
version: 3.8.1 version: 3.8.1

View file

@ -4,8 +4,7 @@ kind: Deployment
metadata: metadata:
name: vikunja-api name: vikunja-api
spec: spec:
strategy: replicas: 2
type: Recreate
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: vikunja app.kubernetes.io/name: vikunja

View file

@ -4,10 +4,10 @@ kind: PersistentVolumeClaim
metadata: metadata:
name: vikunja-content name: vikunja-content
spec: spec:
storageClassName: hcloud-volumes storageClassName: r2
resources: resources:
requests: requests:
storage: 10Gi storage: 10Gi
volumeMode: Filesystem volumeMode: Filesystem
accessModes: accessModes:
- ReadWriteOnce - ReadWriteMany

View file

@ -4,6 +4,7 @@ kind: Deployment
metadata: metadata:
name: vikunja-ui name: vikunja-ui
spec: spec:
replicas: 2
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: vikunja app.kubernetes.io/name: vikunja