Compare commits

..

70 commits

Author SHA1 Message Date
74e634db15 chore(deps): update registry.k8s.io/sig-storage/csi-node-driver-registrar docker tag to v2.12.0 2024-08-28 03:34:29 +00:00
3f0a7fecd5 chore(deps): update helm release cloudnative-pg to v0.22.0 2024-08-26 08:21:25 +00:00
b6d242913a chore(deps): update helm release kube-prometheus-stack to v62.3.0 2024-08-26 07:59:10 +00:00
bd3e3fb11d chore(deps): update code.icb4dc0.de/infrastructure/images/ente/photos docker tag to v0.9.27 2024-08-26 07:54:01 +00:00
9b44a17e7d chore(deps): update code.icb4dc0.de/infrastructure/images/ente/cast docker tag to v0.9.27 2024-08-26 07:53:48 +00:00
3ee675b4fc chore(deps): update helm release argo-cd to v7.4.5 2024-08-26 07:32:48 +00:00
57494b5225 chore(deps): update code.icb4dc0.de/infrastructure/images/argocd docker tag to v2.12.2 2024-08-26 07:32:21 +00:00
b5c47c9254 chore(deps): update code.forgejo.org/forgejo/runner docker tag to v3.5.1 2024-08-24 09:34:57 +00:00
78bb78f83c chore(deps): update helm release meilisearch to v0.9.1 2024-08-24 09:34:17 +00:00
c5c3d4ff6d chore(deps): update forgejo docker tag to v8.2.0 2024-08-22 17:45:46 +00:00
85e53900fb chore(deps): update helm release coder to v2.14.2 2024-08-22 17:40:03 +00:00
3119515482 chore(deps): update docker.dragonflydb.io/dragonflydb/operator docker tag to v1.1.7 2024-08-22 17:33:10 +00:00
548cde94a5
fix(cnpg): increase max connections 2024-08-22 19:32:06 +02:00
094ef18553
fix(pgbouncer): revert back to session mode 2024-08-21 09:04:29 +02:00
9160ab95df
fix(linkwarden): use pgbouncer where possible 2024-08-20 21:38:04 +02:00
73b3eae0f0
fix: switch to transaction mode for pgbouncer 2024-08-20 21:20:04 +02:00
0ec8fbf5b9
fix(umami): don't use pgbouncer 2024-08-20 21:11:05 +02:00
33ddbde17b
feat(vikunja): switch to pooler for DB 2024-08-20 20:53:24 +02:00
2ed60f7f25
feat(grafana): provision new DB 2024-08-20 20:17:57 +02:00
2a7240b3f6 chore(deps): update helm release kube-prometheus-stack to v62 2024-08-20 09:45:41 +00:00
5752f56c1b chore(deps): update ghcr.io/linkwarden/linkwarden docker tag to v2.7.1 2024-08-20 09:44:55 +00:00
60c4f44e25 chore(deps): update code.icb4dc0.de/infrastructure/images/argocd docker tag to v2.12.1 2024-08-19 09:37:00 +00:00
3c65bb4213 chore(deps): update helm release argo-cd to v7.4.4 2024-08-17 21:04:06 +00:00
8973da87d5 chore(deps): update helm release cert-manager to v1.15.3 2024-08-17 21:03:02 +00:00
67d1d73232
feat(vikunja): switch to new DB 2024-08-16 15:12:05 +02:00
50d735c368
feat(vikunja): provision new DB 2024-08-16 15:06:47 +02:00
39678d3acf
chore(cnpg): enable monitoring of pgbouncer 2024-08-16 14:10:35 +02:00
cf85d6a35e
feat(zipline): switch to new DB 2024-08-16 13:43:14 +02:00
7c29ecf46d
feat(zipline): provision new DB 2024-08-16 13:31:20 +02:00
119804e9fe
feat(umami): switch to new DB 2024-08-16 13:20:59 +02:00
04ba2c63d7
feat(umami): provision new DB 2024-08-16 13:10:35 +02:00
00231308c5
feat(cnpg): increase resources 2024-08-15 15:56:07 +02:00
cbd75e1400
feat(noco): switch to new DB 2024-08-15 15:43:01 +02:00
1a12309a12
feat(noco): provision new DB 2024-08-15 15:38:06 +02:00
f815d05d58
feat(linkwarden): switch to new DB 2024-08-15 15:26:55 +02:00
a4e87ba7ff
feat(linkwarden): provision new DB 2024-08-15 15:20:33 +02:00
eaddde77c1
feat(hedgedoc): switch to new DB instance 2024-08-15 15:13:53 +02:00
1e612bc89d
feat(hedgedoc): provision new DB 2024-08-15 15:06:47 +02:00
e1d949b5a5
fix(fider): HTTP routes 2024-08-15 15:01:17 +02:00
6b79d1fcf3
feat(fider): switch to new DB 2024-08-15 14:53:18 +02:00
15552bba71
feat(fider): provision new DB 2024-08-15 14:41:58 +02:00
6e55c2c6ce
refactor(vaultwarden): move to new DB 2024-08-15 14:32:06 +02:00
4d8204a524
feat(vaultwarden): provision new DB 2024-08-15 14:24:47 +02:00
c3f2a1b6cd
refactor(ente): switch to new DB 2024-08-15 14:16:24 +02:00
21dfe900f2
feat(ente): provision new DB 2024-08-15 14:08:10 +02:00
aaa2c3a497
feat(coder): update Coder connection string 2024-08-15 11:48:12 +02:00
487603b1a5
feat(coder): bootstrap new DB 2024-08-15 11:25:21 +02:00
8f5c83a681
refactor(prometheus): get rid of label selectors 2024-08-15 11:08:18 +02:00
32e7426ae6
refactor(forgejo): switch to new DB cluster 2024-08-15 11:08:16 +02:00
47875352e1 chore(deps): update docker.io/nocodb/nocodb docker tag to v0.255.0 2024-08-15 03:33:59 +00:00
0e1d6d0f6f
feat(forgejo): include DB config 2024-08-14 21:53:04 +02:00
b394051f70
feat(forgejo): prepare new database 2024-08-14 21:51:45 +02:00
43b37e9b50
fix(postgres): pooler name 2024-08-14 21:49:51 +02:00
6930d5141b
fix(postgres): move pooler to right namespace 2024-08-14 21:44:22 +02:00
1fe2f119da
feat(postgres): deploy connection pooler 2024-08-14 21:43:10 +02:00
caede76c19
fix(postgres): include CRDs 2024-08-14 21:31:47 +02:00
a39444b044
fix(postgres): configure AWS region 2024-08-14 21:21:02 +02:00
eee5845b8d
refactor(postgres): custom bucket for cnpg backup 2024-08-14 20:48:01 +02:00
80e8dbfdaa
fix: allow ext_pgo_admin to login 2024-08-14 20:41:33 +02:00
84b3e7740e
feat(postgres): configure ext-postgres-operator 2024-08-14 20:35:02 +02:00
5c78f39f9e
fix(cnpg): configure object store endpoint 2024-08-14 20:18:29 +02:00
03352a4e7d
fix(cnpg): set namespace for backup 2024-08-14 20:08:25 +02:00
dbe213da6a
feat(cnpg): configure backup 2024-08-14 20:05:16 +02:00
00ed2b58f7 chore(deps): update helm release hcloud-csi to v2.9.0 2024-08-14 11:14:37 +00:00
91cc37c529 chore(deps): update docker docker tag to v27.1.2 2024-08-14 03:35:53 +00:00
a52afb8ce0 chore(deps): update helm release kube-prometheus-stack to v61.9.0 2024-08-13 16:35:15 +00:00
9448795a4e
chore(contour): bump CRDs 2024-08-13 18:31:58 +02:00
231d6ffb8e chore(deps): update ghcr.io/dani-garcia/vaultwarden docker tag to v1.32.0 2024-08-13 16:27:58 +00:00
f164b367e2 chore(deps): update helm release argo-cd to v7.4.3 2024-08-13 11:29:09 +00:00
d8f583cb70 chore(deps): update forgejo docker tag to v8.1.2 2024-08-13 03:33:31 +00:00
66 changed files with 14838 additions and 7795 deletions

View file

@ -13,7 +13,7 @@ resources:
images: images:
- name: argocd - name: argocd
newName: code.icb4dc0.de/infrastructure/images/argocd newName: code.icb4dc0.de/infrastructure/images/argocd
newTag: v2.12.0 newTag: v2.12.2
labels: labels:
- includeSelectors: true - includeSelectors: true
@ -26,7 +26,7 @@ helmCharts:
repo: https://argoproj.github.io/argo-helm repo: https://argoproj.github.io/argo-helm
releaseName: argo-cd releaseName: argo-cd
namespace: argo-system namespace: argo-system
version: "7.4.2" version: "7.4.5"
valuesFile: config/values.argo-cd.yaml valuesFile: config/values.argo-cd.yaml
apiVersions: apiVersions:
- monitoring.coreos.com/v1 - monitoring.coreos.com/v1

View file

@ -12,7 +12,7 @@ resources:
helmCharts: helmCharts:
- name: cert-manager - name: cert-manager
repo: https://charts.jetstack.io repo: https://charts.jetstack.io
version: "v1.15.2" version: "v1.15.3"
releaseName: cert-manager releaseName: cert-manager
namespace: kube-system namespace: kube-system
valuesFile: config/values.cert-manager.yaml valuesFile: config/values.cert-manager.yaml

View file

@ -6,14 +6,17 @@ resources:
- resources/secrets/ext-pgo-admin.yaml - resources/secrets/ext-pgo-admin.yaml
- resources/secrets/cnpg-backup-creds.yaml - resources/secrets/cnpg-backup-creds.yaml
- resources/cluster.yaml - resources/cluster.yaml
- resources/backup.yaml
- resources/pool.yaml
helmCharts: helmCharts:
- releaseName: cnpg - releaseName: cnpg
name: cloudnative-pg name: cloudnative-pg
repo: https://cloudnative-pg.github.io/charts repo: https://cloudnative-pg.github.io/charts
version: 0.21.6 version: 0.22.0
valuesFile: config/values.cnpg.yaml valuesFile: config/values.cnpg.yaml
namespace: postgres-system namespace: postgres-system
includeCRDs: true
- releaseName: ext-pgo - releaseName: ext-pgo
name: ext-postgres-operator name: ext-postgres-operator
@ -21,3 +24,4 @@ helmCharts:
version: 1.2.6 version: 1.2.6
valuesFile: config/values.ext-pgo.yaml valuesFile: config/values.ext-pgo.yaml
namespace: postgres namespace: postgres
includeCRDs: true

View file

@ -0,0 +1,11 @@
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: daily-backup
namespace: postgres
spec:
schedule: "0 1 * * *"
backupOwnerReference: self
cluster:
name: app-cluster

View file

@ -6,13 +6,22 @@ metadata:
spec: spec:
instances: 2 instances: 2
postgresql:
parameters:
max_connections: "150"
managed: managed:
roles: roles:
- name: ext_pgo_admin - name: ext_pgo_admin
ensure: present ensure: present
login: true
superuser: true superuser: true
createrole: true createrole: true
createdb: true createdb: true
inherit: true
connectionLimit: -1
passwordSecret:
name: ext-pgo-admin
storage: storage:
size: 10Gi size: 10Gi
@ -20,7 +29,8 @@ spec:
backup: backup:
barmanObjectStore: barmanObjectStore:
destinationPath: cnpg destinationPath: "s3://cnpg/app-cluster/"
endpointURL: "http://garage.garage.svc:3900"
s3Credentials: s3Credentials:
accessKeyId: accessKeyId:
name: cnpg-backup-creds name: cnpg-backup-creds
@ -28,15 +38,20 @@ spec:
secretAccessKey: secretAccessKey:
name: cnpg-backup-creds name: cnpg-backup-creds
key: ACCESS_SECRET_KEY key: ACCESS_SECRET_KEY
region:
name: cnpg-backup-creds
key: AWS_REGION
wal:
compression: snappy
retentionPolicy: "30d" retentionPolicy: "30d"
resources: resources:
requests: requests:
cpu: 100m cpu: 100m
memory: 400Mi memory: 600Mi
limits: limits:
cpu: 500m cpu: 500m
memory: 800Mi memory: 900Mi
affinity: affinity:
enablePodAntiAffinity: true enablePodAntiAffinity: true

18
cnpg/resources/pool.yaml Normal file
View file

@ -0,0 +1,18 @@
apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
name: app-cluster-pooler-rw
namespace: postgres
spec:
cluster:
name: app-cluster
instances: 3
type: rw
pgbouncer:
poolMode: session
parameters:
max_client_conn: "1000"
default_pool_size: "10"
monitoring:
enablePodMonitor: true

View file

@ -10,8 +10,8 @@ coder:
- name: CODER_PG_CONNECTION_URL - name: CODER_PG_CONNECTION_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-coder name: coder-db-credentials-coder
key: uri key: PQ_URL
- name: CODER_DISABLE_PASSWORD_AUTH - name: CODER_DISABLE_PASSWORD_AUTH
value: "true" value: "true"
- name: CODER_OIDC_ISSUER_URL - name: CODER_OIDC_ISSUER_URL

View file

@ -7,12 +7,14 @@ resources:
- "resources/namespace.yaml" - "resources/namespace.yaml"
- "resources/http_routes.yaml" - "resources/http_routes.yaml"
- "resources/secret.yaml" - "resources/secret.yaml"
- "resources/db/db.yaml"
- "resources/db/user.yaml"
helmCharts: helmCharts:
- name: coder - name: coder
repo: https://helm.coder.com/v2 repo: https://helm.coder.com/v2
releaseName: coder releaseName: coder
namespace: coder namespace: coder
version: "2.14.1" version: "2.14.2"
valuesFile: config/values.coder.yml valuesFile: config/values.coder.yml
skipTests: true skipTests: true

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: coder
spec:
database: coder
dropOnDelete: false

View file

@ -0,0 +1,12 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: coder
spec:
role: coder
database: coder
secretName: coder-db-credentials
privileges: OWNER
secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@{{.Host}}:5432/{{.Database}}?sslmode=require&search_path=coder"

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.14.0 controller-gen.kubebuilder.io/version: v0.15.0
name: contourconfigurations.projectcontour.io name: contourconfigurations.projectcontour.io
spec: spec:
preserveUnknownFields: false preserveUnknownFields: false
@ -120,6 +120,12 @@ spec:
defaults to 3. defaults to 3.
format: int32 format: int32
type: integer type: integer
perHostMaxConnections:
description: |-
PerHostMaxConnections is the maximum number of connections
that Envoy will allow to each individual host in a cluster.
format: int32
type: integer
type: object type: object
dnsLookupFamily: dnsLookupFamily:
description: |- description: |-
@ -600,9 +606,9 @@ spec:
description: |- description: |-
FeatureFlags defines toggle to enable new contour features. FeatureFlags defines toggle to enable new contour features.
Available toggles are: Available toggles are:
useEndpointSlices - configures contour to fetch endpoint data useEndpointSlices - Configures contour to fetch endpoint data
from k8s endpoint slices. defaults to false and reading endpoint from k8s endpoint slices. defaults to true,
data from the k8s endpoints. If false then reads endpoint data from the k8s endpoints.
items: items:
type: string type: string
type: array type: array
@ -1141,8 +1147,10 @@ spec:
type: type:
description: |- description: |-
Defines the XDSServer to use for `contour serve`. Defines the XDSServer to use for `contour serve`.
Values: `contour` (default), `envoy`. Values: `envoy` (default), `contour (deprecated)`.
Other values will produce an error. Other values will produce an error.
Deprecated: this field will be removed in a future release when
the `contour` xDS server implementation is removed.
type: string type: string
type: object type: object
type: object type: object
@ -1360,7 +1368,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.14.0 controller-gen.kubebuilder.io/version: v0.15.0
name: contourdeployments.projectcontour.io name: contourdeployments.projectcontour.io
spec: spec:
preserveUnknownFields: false preserveUnknownFields: false
@ -1814,6 +1822,8 @@ spec:
to container and the other way around. to container and the other way around.
When not set, MountPropagationNone is used. When not set, MountPropagationNone is used.
This field is beta in 1.10. This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume. description: This must match the Name of a Volume.
@ -1823,6 +1833,21 @@ spec:
Mounted read-only if true, read-write otherwise (false or unspecified). Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false. Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
description: |-
RecursiveReadOnly specifies whether read-only mounts should be handled
recursively.
If ReadOnly is false, this field has no meaning and must be unspecified.
If ReadOnly is true, and this field is set to Disabled, the mount is not made
recursively read-only. If this field is set to IfPossible, the mount is made
recursively read-only, if it is supported by the container runtime. If this
field is set to Enabled, the mount is made recursively read-only if it is
supported by the container runtime, otherwise the pod will not be started and
an error will be generated to indicate the reason.
If this field is set to IfPossible or Enabled, MountPropagation must be set to
None (or be unspecified, which defaults to None).
If this field is not specified, it is treated as an equivalent of Disabled.
type: string
subPath: subPath:
description: |- description: |-
Path within the volume from which the container's volume should be mounted. Path within the volume from which the container's volume should be mounted.
@ -1950,6 +1975,7 @@ spec:
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: atomic
path: path:
description: 'path is Optional: Used as the mounted description: 'path is Optional: Used as the mounted
root, rather than the full Ceph tree, default is /' root, rather than the full Ceph tree, default is /'
@ -1971,10 +1997,15 @@ spec:
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -2010,10 +2041,15 @@ spec:
to OpenStack. to OpenStack.
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -2078,11 +2114,17 @@ spec:
- path - path
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
optional: optional:
description: optional specify whether the ConfigMap description: optional specify whether the ConfigMap
@ -2115,10 +2157,15 @@ spec:
secret object contains more than one secret, all secret references are passed. secret object contains more than one secret, all secret references are passed.
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -2162,8 +2209,8 @@ spec:
properties: properties:
fieldRef: fieldRef:
description: 'Required: Selects a field of the description: 'Required: Selects a field of the
pod: only annotations, labels, name and namespace pod: only annotations, labels, name, namespace
are supported.' and uid are supported.'
properties: properties:
apiVersion: apiVersion:
description: Version of the schema the FieldPath description: Version of the schema the FieldPath
@ -2222,6 +2269,7 @@ spec:
- path - path
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
type: object type: object
emptyDir: emptyDir:
description: |- description: |-
@ -2313,6 +2361,7 @@ spec:
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: atomic
dataSource: dataSource:
description: |- description: |-
dataSource field can be used to specify either: dataSource field can be used to specify either:
@ -2457,11 +2506,13 @@ spec:
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: atomic
required: required:
- key - key
- operator - operator
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
matchLabels: matchLabels:
additionalProperties: additionalProperties:
type: string type: string
@ -2489,7 +2540,7 @@ spec:
If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
exists. exists.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
(Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
type: string type: string
volumeMode: volumeMode:
@ -2533,6 +2584,7 @@ spec:
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: atomic
wwids: wwids:
description: |- description: |-
wwids Optional: FC volume world wide identifiers (wwids) wwids Optional: FC volume world wide identifiers (wwids)
@ -2540,6 +2592,7 @@ spec:
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: atomic
type: object type: object
flexVolume: flexVolume:
description: |- description: |-
@ -2576,10 +2629,15 @@ spec:
scripts. scripts.
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -2760,6 +2818,7 @@ spec:
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: atomic
readOnly: readOnly:
description: |- description: |-
readOnly here will force the ReadOnly setting in VolumeMounts. readOnly here will force the ReadOnly setting in VolumeMounts.
@ -2770,10 +2829,15 @@ spec:
target and initiator authentication target and initiator authentication
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -2944,11 +3008,13 @@ spec:
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: atomic
required: required:
- key - key
- operator - operator
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
matchLabels: matchLabels:
additionalProperties: additionalProperties:
type: string type: string
@ -3027,11 +3093,17 @@ spec:
- path - path
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
optional: optional:
description: optional specify whether the description: optional specify whether the
@ -3054,7 +3126,7 @@ spec:
fieldRef: fieldRef:
description: 'Required: Selects a field description: 'Required: Selects a field
of the pod: only annotations, labels, of the pod: only annotations, labels,
name and namespace are supported.' name, namespace and uid are supported.'
properties: properties:
apiVersion: apiVersion:
description: Version of the schema description: Version of the schema
@ -3118,6 +3190,7 @@ spec:
- path - path
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
type: object type: object
secret: secret:
description: secret information about the secret description: secret information about the secret
@ -3161,11 +3234,17 @@ spec:
- path - path
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
optional: optional:
description: optional field specify whether description: optional field specify whether
@ -3204,6 +3283,7 @@ spec:
type: object type: object
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
type: object type: object
quobyte: quobyte:
description: quobyte represents a Quobyte mount on the host description: quobyte represents a Quobyte mount on the host
@ -3274,6 +3354,7 @@ spec:
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: atomic
pool: pool:
description: |- description: |-
pool is the rados pool name. pool is the rados pool name.
@ -3294,10 +3375,15 @@ spec:
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -3341,10 +3427,15 @@ spec:
sensitive information. If this is not provided, Login operation will fail. sensitive information. If this is not provided, Login operation will fail.
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -3429,6 +3520,7 @@ spec:
- path - path
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
optional: optional:
description: optional field specify whether the Secret description: optional field specify whether the Secret
or its keys must be defined or its keys must be defined
@ -3460,10 +3552,15 @@ spec:
credentials. If not specified, default values will be attempted. credentials. If not specified, default values will be attempted.
properties: properties:
name: name:
default: ""
description: |- description: |-
Name of the referent. Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid? TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string type: string
type: object type: object
x-kubernetes-map-type: atomic x-kubernetes-map-type: atomic
@ -3805,6 +3902,12 @@ spec:
Service; defaults to 3. Service; defaults to 3.
format: int32 format: int32
type: integer type: integer
perHostMaxConnections:
description: |-
PerHostMaxConnections is the maximum number of connections
that Envoy will allow to each individual host in a cluster.
format: int32
type: integer
type: object type: object
dnsLookupFamily: dnsLookupFamily:
description: |- description: |-
@ -4285,9 +4388,9 @@ spec:
description: |- description: |-
FeatureFlags defines toggle to enable new contour features. FeatureFlags defines toggle to enable new contour features.
Available toggles are: Available toggles are:
useEndpointSlices - configures contour to fetch endpoint data useEndpointSlices - Configures contour to fetch endpoint data
from k8s endpoint slices. defaults to false and reading endpoint from k8s endpoint slices. defaults to true,
data from the k8s endpoints. If false then reads endpoint data from the k8s endpoints.
items: items:
type: string type: string
type: array type: array
@ -4828,8 +4931,10 @@ spec:
type: type:
description: |- description: |-
Defines the XDSServer to use for `contour serve`. Defines the XDSServer to use for `contour serve`.
Values: `contour` (default), `envoy`. Values: `envoy` (default), `contour (deprecated)`.
Other values will produce an error. Other values will produce an error.
Deprecated: this field will be removed in a future release when
the `contour` xDS server implementation is removed.
type: string type: string
type: object type: object
type: object type: object
@ -4923,7 +5028,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.14.0 controller-gen.kubebuilder.io/version: v0.15.0
name: extensionservices.projectcontour.io name: extensionservices.projectcontour.io
spec: spec:
preserveUnknownFields: false preserveUnknownFields: false
@ -4968,6 +5073,39 @@ spec:
description: ExtensionServiceSpec defines the desired state of an ExtensionService description: ExtensionServiceSpec defines the desired state of an ExtensionService
resource. resource.
properties: properties:
circuitBreakerPolicy:
description: |-
CircuitBreakerPolicy specifies the circuit breaker budget across the extension service.
If defined this overrides the global circuit breaker budget.
properties:
maxConnections:
description: The maximum number of connections that a single Envoy
instance allows to the Kubernetes Service; defaults to 1024.
format: int32
type: integer
maxPendingRequests:
description: The maximum number of pending requests that a single
Envoy instance allows to the Kubernetes Service; defaults to
1024.
format: int32
type: integer
maxRequests:
description: The maximum parallel requests a single Envoy instance
allows to the Kubernetes Service; defaults to 1024
format: int32
type: integer
maxRetries:
description: The maximum number of parallel retries a single Envoy
instance allows to the Kubernetes Service; defaults to 3.
format: int32
type: integer
perHostMaxConnections:
description: |-
PerHostMaxConnections is the maximum number of connections
that Envoy will allow to each individual host in a cluster.
format: int32
type: integer
type: object
loadBalancerPolicy: loadBalancerPolicy:
description: |- description: |-
The policy for load balancing GRPC service requests. Note that the The policy for load balancing GRPC service requests. Note that the
@ -5371,7 +5509,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.14.0 controller-gen.kubebuilder.io/version: v0.15.0
name: httpproxies.projectcontour.io name: httpproxies.projectcontour.io
spec: spec:
preserveUnknownFields: false preserveUnknownFields: false
@ -8226,6 +8364,7 @@ spec:
x-kubernetes-list-type: atomic x-kubernetes-list-type: atomic
type: object type: object
type: array type: array
x-kubernetes-list-type: atomic
type: object type: object
type: object type: object
required: required:
@ -8241,7 +8380,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.14.0 controller-gen.kubebuilder.io/version: v0.15.0
name: tlscertificatedelegations.projectcontour.io name: tlscertificatedelegations.projectcontour.io
spec: spec:
preserveUnknownFields: false preserveUnknownFields: false

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,7 @@ images:
newTag: v0.16.0 newTag: v0.16.0
- name: dragonfly-operator - name: dragonfly-operator
newName: docker.dragonflydb.io/dragonflydb/operator newName: docker.dragonflydb.io/dragonflydb/operator
newTag: v1.1.6 newTag: v1.1.7
resources: resources:

View file

@ -10,10 +10,10 @@ images:
newTag: cdbf8c5f0971cb383df03c6b2f72ffb85387beef newTag: cdbf8c5f0971cb383df03c6b2f72ffb85387beef
- name: photos - name: photos
newName: code.icb4dc0.de/infrastructure/images/ente/photos newName: code.icb4dc0.de/infrastructure/images/ente/photos
newTag: v0.9.16 newTag: v0.9.27
- name: cast - name: cast
newName: code.icb4dc0.de/infrastructure/images/ente/cast newName: code.icb4dc0.de/infrastructure/images/ente/cast
newTag: v0.9.16 newTag: v0.9.27
labels: labels:
- includeSelectors: true - includeSelectors: true
@ -23,6 +23,8 @@ labels:
resources: resources:
- resources/namespace.yaml - resources/namespace.yaml
- resources/museum/db/db.yaml
- resources/museum/db/user.yaml
- resources/museum/deployment.yaml - resources/museum/deployment.yaml
- resources/museum/service.yaml - resources/museum/service.yaml
- resources/photos/deployment.yaml - resources/photos/deployment.yaml

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: ente
spec:
database: ente
dropOnDelete: false

View file

@ -0,0 +1,10 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: ente
spec:
role: ente
database: ente-ente
secretName: ente-db-credentials
privileges: OWNER

View file

@ -23,23 +23,23 @@ spec:
- name: ENTE_DB_HOST - name: ENTE_DB_HOST
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-ente name: ente-db-credentials-ente-ente
key: host key: HOST
- name: ENTE_DB_NAME - name: ENTE_DB_NAME
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-ente name: ente-db-credentials-ente-ente
key: dbname key: DATABASE_NAME
- name: ENTE_DB_USER - name: ENTE_DB_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-ente name: ente-db-credentials-ente-ente
key: user key: LOGIN
- name: ENTE_DB_PASSWORD - name: ENTE_DB_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-ente name: ente-db-credentials-ente-ente
key: password key: PASSWORD
- name: ENTE_DB_SSLMODE - name: ENTE_DB_SSLMODE
value: require value: require
resources: resources:

Binary file not shown.

View file

@ -11,6 +11,8 @@ labels:
resources: resources:
- "resources/namespace.yaml" - "resources/namespace.yaml"
- "resources/db/db.yaml"
- "resources/db/user.yaml"
- "resources/deployment.yaml" - "resources/deployment.yaml"
- "resources/service.yaml" - "resources/service.yaml"
- "resources/http_routes.yaml" - "resources/http_routes.yaml"

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: fider
spec:
database: fider
dropOnDelete: false

View file

@ -0,0 +1,12 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: fider
spec:
role: fider
database: fider
secretName: db-credentials
privileges: OWNER
secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require"

View file

@ -26,6 +26,11 @@ spec:
valueFrom: valueFrom:
resourceFieldRef: resourceFieldRef:
resource: limits.memory resource: limits.memory
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: db-credentials-fider
key: PQ_URL
envFrom: envFrom:
- secretRef: - secretRef:
name: fider-config name: fider-config

View file

@ -28,10 +28,56 @@ spec:
parentRefs: parentRefs:
- name: contour - name: contour
namespace: projectcontour namespace: projectcontour
sectionName: https
hostnames: hostnames:
- fider.icb4dc0.de - fider.icb4dc0.de
- login.fider.icb4dc0.de rules:
- community.buildr.icb4dc0.de - backendRefs:
- name: fider
port: 3000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: fider-login-https
spec:
parentRefs:
- name: contour
namespace: projectcontour
sectionName: fider-login
hostnames:
- fider.icb4dc0.de
rules:
- backendRefs:
- name: fider
port: 3000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: inetmock-fider-https
spec:
parentRefs:
- name: contour
namespace: projectcontour
sectionName: inetmock-fider-community
hostnames:
- community.inetmock.icb4dc0.de
rules:
- backendRefs:
- name: fider
port: 3000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: buildr-fider-https
spec:
parentRefs:
- name: contour
namespace: projectcontour
sectionName: buildr-fider-community
hostnames:
- community.inetmock.icb4dc0.de - community.inetmock.icb4dc0.de
rules: rules:
- backendRefs: - backendRefs:

View file

@ -91,9 +91,9 @@ gitea:
STORAGE_TYPE: minio STORAGE_TYPE: minio
database: database:
DB_TYPE: postgres DB_TYPE: postgres
HOST: default-cluster-primary.postgres.svc HOST: app-cluster-pooler-rw.postgres.svc
NAME: forgejo NAME: forgejo
USER: forgejo USER: forgejo-6a95jj
SSL_MODE: require SSL_MODE: require
log_sql: "false" log_sql: "false"
cache: cache:

View file

@ -12,12 +12,14 @@ labels:
images: images:
- name: act_runner - name: act_runner
newName: code.forgejo.org/forgejo/runner newName: code.forgejo.org/forgejo/runner
newTag: "3.5.0" newTag: "3.5.1"
- name: dind - name: dind
newName: docker newName: docker
newTag: 27.1.1-dind newTag: 27.1.2-dind
resources: resources:
- resources/db/db.yaml
- resources/db/user.yaml
- resources/secrets/admin-credentials.yaml - resources/secrets/admin-credentials.yaml
- resources/secrets/infra-credentials.yaml - resources/secrets/infra-credentials.yaml
- resources/secrets/meili-credentials.yaml - resources/secrets/meili-credentials.yaml
@ -46,7 +48,7 @@ helmCharts:
repo: oci://codeberg.org/forgejo-contrib repo: oci://codeberg.org/forgejo-contrib
releaseName: forgejo releaseName: forgejo
namespace: forgejo namespace: forgejo
version: "8.1.1" version: "8.2.0"
valuesFile: config/values.forgejo.yaml valuesFile: config/values.forgejo.yaml
skipTests: true skipTests: true
apiVersions: apiVersions:
@ -55,6 +57,6 @@ helmCharts:
repo: https://meilisearch.github.io/meilisearch-kubernetes repo: https://meilisearch.github.io/meilisearch-kubernetes
releaseName: forgejo-indexer releaseName: forgejo-indexer
namespace: forgejo namespace: forgejo
version: "0.9.0" version: "0.9.1"
valuesFile: config/values.meilisearch.yaml valuesFile: config/values.meilisearch.yaml
skipTests: true skipTests: true

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: forgejo
spec:
database: forgejo
dropOnDelete: false

View file

@ -0,0 +1,10 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: forgejo
spec:
role: forgejo
database: forgejo
secretName: forgejo-db-credentials
privileges: OWNER

View file

@ -19,5 +19,5 @@ helmCharts:
repo: https://charts.hetzner.cloud repo: https://charts.hetzner.cloud
releaseName: hcloud-csi-driver releaseName: hcloud-csi-driver
namespace: kube-system namespace: kube-system
version: "2.8.0" version: "2.9.0"
valuesFile: config/values.csi.yaml valuesFile: config/values.csi.yaml

View file

@ -16,6 +16,8 @@ labels:
resources: resources:
- "resources/namespace.yaml" - "resources/namespace.yaml"
- "resources/db/db.yaml"
- "resources/db/user.yaml"
- "resources/deployment.yaml" - "resources/deployment.yaml"
- "resources/service.yaml" - "resources/service.yaml"
- "resources/http_routes.yaml" - "resources/http_routes.yaml"

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: hedgedoc
spec:
database: hedgedoc
dropOnDelete: false

View file

@ -0,0 +1,12 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: hedgedoc
spec:
role: hedgedoc
database: hedgedoc
secretName: db-credentials
privileges: OWNER
secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require"

View file

@ -19,8 +19,8 @@ spec:
- name: CMD_DB_URL - name: CMD_DB_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-hedgedoc name: db-credentials-hedgedoc
key: uri key: PQ_URL
- name: NODE_EXTRA_CA_CERTS - name: NODE_EXTRA_CA_CERTS
value: /certs/ca.crt value: /certs/ca.crt
envFrom: envFrom:

View file

@ -15,24 +15,9 @@ prometheus:
retention: 7d retention: 7d
nodeSelector: nodeSelector:
kubernetes.io/arch: arm64 kubernetes.io/arch: arm64
serviceMonitorNamespaceSelector: serviceMonitorSelectorNilUsesHelmValues: false
matchLabels: podMonitorSelectorNilUsesHelmValues: false
prometheus: default ruleSelectorNilUsesHelmValues: false
serviceMonitorSelector:
matchLabels:
prometheus: default
ruleSelector:
matchLabels:
prometheus: default
ruleNamespaceSelector:
matchLabels:
prometheus: default
podMonitorSelector:
matchLabels:
prometheus: default
podMonitorNamespaceSelector:
matchLabels:
prometheus: default
resources: resources:
requests: requests:
memory: 1500Mi memory: 1500Mi
@ -89,17 +74,17 @@ grafana:
enabled: false enabled: false
envFromSecrets: envFromSecrets:
- name: grafana-auth - name: grafana-auth
- name: grafana-db - name: db-credentials-grafana
grafana.ini: grafana.ini:
server: server:
domain: grafana.icb4dc0.de domain: grafana.icb4dc0.de
root_url: "https://%(domain)s" root_url: "https://%(domain)s"
database: database:
type: postgres type: postgres
host: default-cluster-primary.postgres.svc:5432 host: app-cluster-pooler-rw.postgres.svc:5432
name: grafana name: "${DATABASE_NAME}"
user: "${GF_DB_USER}" user: "${LOGIN}"
password: "${GF_DB_PASSWORD}" password: "${PASSWORD}"
ssl_mode: require ssl_mode: require
auth: auth:
disable_login_form: true disable_login_form: true

View file

@ -7,6 +7,8 @@ resources:
- resources/secret.grafana-admin.yaml - resources/secret.grafana-admin.yaml
- resources/secret.auth.yaml - resources/secret.auth.yaml
- resources/secret.db.yaml - resources/secret.db.yaml
- resources/db/db.yaml
- resources/db/user.yaml
- resources/http_routes.grafana.yaml - resources/http_routes.grafana.yaml
helmCharts: helmCharts:
@ -15,5 +17,5 @@ helmCharts:
includeCRDs: true includeCRDs: true
namespace: observability-system namespace: observability-system
releaseName: prometheus releaseName: prometheus
version: "61.7.2" version: "62.3.0"
valuesFile: config/values.prometheus.yaml valuesFile: config/values.prometheus.yaml

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: grafana
spec:
database: grafana
dropOnDelete: false

View file

@ -0,0 +1,10 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: grafana
spec:
role: grafana
database: grafana
secretName: db-credentials
privileges: OWNER

View file

@ -11,10 +11,12 @@ labels:
images: images:
- name: linkwarden - name: linkwarden
newName: ghcr.io/linkwarden/linkwarden newName: ghcr.io/linkwarden/linkwarden
newTag: "v2.6.2" newTag: "v2.7.1"
resources: resources:
- "resources/namespace.yaml" - "resources/namespace.yaml"
- "resources/db/db.yaml"
- "resources/db/user.yaml"
- "resources/deployment.yaml" - "resources/deployment.yaml"
- "resources/service.yaml" - "resources/service.yaml"
- "resources/http_routes.yaml" - "resources/http_routes.yaml"

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: linkwarden
spec:
database: linkwarden
dropOnDelete: false

View file

@ -0,0 +1,13 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: linkwarden
spec:
role: linkwarden
database: linkwarden
secretName: db-credentials
privileges: OWNER
secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require&pgbouncer=true"
PQ_MIGRATE_URL: "postgresql://{{.Role}}:{{.Password}}@{{.Host}}:5432/{{.Database}}?sslmode=require"

View file

@ -30,8 +30,8 @@ spec:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-linkwarden name: db-credentials-linkwarden
key: uri key: PQ_MIGRATE_URL
containers: containers:
- name: linkwarden - name: linkwarden
image: linkwarden image: linkwarden
@ -41,8 +41,8 @@ spec:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-linkwarden name: db-credentials-linkwarden
key: uri key: PQ_URL
envFrom: envFrom:
- secretRef: - secretRef:
name: linkwarden-config name: linkwarden-config

Binary file not shown.

View file

@ -6,7 +6,7 @@ namespace: nocodb
images: images:
- name: nocodb - name: nocodb
newName: docker.io/nocodb/nocodb newName: docker.io/nocodb/nocodb
newTag: 0.252.0 newTag: 0.255.0
labels: labels:
- includeSelectors: true - includeSelectors: true
@ -16,6 +16,8 @@ labels:
resources: resources:
- resources/namespace.yaml - resources/namespace.yaml
- resources/db/db.yaml
- resources/db/user.yaml
- resources/dragonfly.yaml - resources/dragonfly.yaml
- resources/pvc.yaml - resources/pvc.yaml
- resources/deployment.yaml - resources/deployment.yaml

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: noco
spec:
database: noco
dropOnDelete: false

View file

@ -0,0 +1,12 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: noco
spec:
role: noco
database: noco
secretName: db-credentials
privileges: OWNER
secretTemplate:
NC_DB_JSON: '{"client": "pg","connection": {"host": "app-cluster-pooler-rw.postgres.svc","port": 5432,"user": "{{.Role}}","password": "{{.Password}}","database": "{{.Database}}","ssl": {"ca": "-----BEGIN CERTIFICATE-----\nMIIBkjCCATigAwIBAgIQDfi4fTFY2eKrhN88nKEUDTAKBggqhkjOPQQDAjApMREw\nDwYDVQQLEwhwb3N0Z3JlczEUMBIGA1UEAxMLYXBwLWNsdXN0ZXIwHhcNMjQwODE0\nMTg0MzIzWhcNMjQxMTEyMTg0MzIzWjApMREwDwYDVQQLEwhwb3N0Z3JlczEUMBIG\nA1UEAxMLYXBwLWNsdXN0ZXIwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQotXOi\nx9tfnUaG7A6T6x5YuBgKCvBAGw7q0C0teHWRIxSaoaiD6KV21juVpAgKoZckXA8x\niZW0GUHOoAUrCV7Ao0IwQDAOBgNVHQ8BAf8EBAMCAgQwDwYDVR0TAQH/BAUwAwEB\n/zAdBgNVHQ4EFgQUuMEs3ztFClbC2agTqXkfkB1GHjkwCgYIKoZIzj0EAwIDSAAw\nRQIgK6FHhGYZ/FwxG8dDq2czVLvLCs+yozZZhNuhZBeT8v0CIQDhwRgJNeMxKtRS\nu3ziF4E4aniICEqa/To3Lvaa1cJJiQ==\n-----END CERTIFICATE-----","key": "","cert": "","rejectUnauthorized": false}}}'

View file

@ -19,6 +19,12 @@ spec:
containers: containers:
- name: nocodb - name: nocodb
image: nocodb image: nocodb
env:
- name: NC_DB_JSON
valueFrom:
secretKeyRef:
name: db-credentials-noco
key: NC_DB_JSON
envFrom: envFrom:
- secretRef: - secretRef:
name: nocodb-config name: nocodb-config

View file

@ -10,7 +10,7 @@ resources:
images: images:
- name: registrar - name: registrar
newName: registry.k8s.io/sig-storage/csi-node-driver-registrar newName: registry.k8s.io/sig-storage/csi-node-driver-registrar
newTag: v2.11.1 newTag: v2.12.0
- name: provisioner - name: provisioner
newName: registry.k8s.io/sig-storage/csi-provisioner newName: registry.k8s.io/sig-storage/csi-provisioner
newTag: v3.6.4 newTag: v3.6.4

View file

@ -16,6 +16,8 @@ labels:
resources: resources:
- "resources/namespace.yaml" - "resources/namespace.yaml"
- "resources/db/db.yaml"
- "resources/db/user.yaml"
- "resources/deployment.yaml" - "resources/deployment.yaml"
- "resources/service.yaml" - "resources/service.yaml"
- "resources/http_route.yaml" - "resources/http_route.yaml"

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: umami
spec:
database: umami
dropOnDelete: false

View file

@ -0,0 +1,12 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: umami
spec:
role: umami
database: umami
secretName: db-credentials
privileges: OWNER
secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@{{.Host}}:5432/{{.Database}}"

View file

@ -25,8 +25,8 @@ spec:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-umami name: db-credentials-umami
key: uri key: PQ_URL
envFrom: envFrom:
- configMapRef: - configMapRef:
name: umami-config name: umami-config
@ -53,8 +53,8 @@ spec:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-umami name: db-credentials-umami
key: uri key: PQ_URL
envFrom: envFrom:
- configMapRef: - configMapRef:
name: umami-config name: umami-config

View file

@ -12,10 +12,12 @@ labels:
images: images:
- name: vaultwarden - name: vaultwarden
newName: ghcr.io/dani-garcia/vaultwarden newName: ghcr.io/dani-garcia/vaultwarden
newTag: "1.31.0-alpine" newTag: "1.32.0-alpine"
resources: resources:
- "resources/namespace.yaml" - "resources/namespace.yaml"
- "resources/db/db.yaml"
- "resources/db/user.yaml"
- "resources/pvc.yaml" - "resources/pvc.yaml"
- "resources/deployment.yaml" - "resources/deployment.yaml"
- "resources/service.yaml" - "resources/service.yaml"

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: vaultwarden
spec:
database: vaultwarden
dropOnDelete: false

View file

@ -0,0 +1,12 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: vaultwarden
spec:
role: vaultwarden
database: vaultwarden
secretName: vaultwarden-db-credentials
privileges: OWNER
secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require"

View file

@ -24,8 +24,8 @@ spec:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-vaultwarden name: vaultwarden-db-credentials-vaultwarden
key: uri key: PQ_URL
resources: resources:
limits: limits:
memory: "128Mi" memory: "128Mi"

View file

@ -19,6 +19,8 @@ labels:
resources: resources:
- resources/namespace.yaml - resources/namespace.yaml
- resources/db/db.yaml
- resources/db/user.yaml
- resources/api/dragonfly.yaml - resources/api/dragonfly.yaml
- resources/api/pvc.yaml - resources/api/pvc.yaml
- resources/api/deployment.yaml - resources/api/deployment.yaml

View file

@ -30,25 +30,22 @@ spec:
- name: VIKUNJA_DATABASE_SSLMODE - name: VIKUNJA_DATABASE_SSLMODE
value: require value: require
- name: VIKUNJA_DATABASE_HOST - name: VIKUNJA_DATABASE_HOST
valueFrom: value: app-cluster-pooler-rw.postgres.svc
secretKeyRef:
name: default-cluster-pguser-vikunja
key: host
- name: VIKUNJA_DATABASE_DATABASE - name: VIKUNJA_DATABASE_DATABASE
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-vikunja name: db-credentials-vikunja
key: dbname key: DATABASE_NAME
- name: VIKUNJA_DATABASE_USER - name: VIKUNJA_DATABASE_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-vikunja name: db-credentials-vikunja
key: user key: LOGIN
- name: VIKUNJA_DATABASE_PASSWORD - name: VIKUNJA_DATABASE_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-vikunja name: db-credentials-vikunja
key: password key: PASSWORD
- name: GOMEMLIMIT - name: GOMEMLIMIT
valueFrom: valueFrom:
resourceFieldRef: resourceFieldRef:

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: vikunja
spec:
database: vikunja
dropOnDelete: false

View file

@ -0,0 +1,10 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: vikunja
spec:
role: vikunja
database: vikunja
secretName: db-credentials
privileges: OWNER

Binary file not shown.

View file

@ -16,6 +16,8 @@ labels:
resources: resources:
- "resources/namespace.yaml" - "resources/namespace.yaml"
- "resources/db/db.yaml"
- "resources/db/user.yaml"
- "resources/deployment.yaml" - "resources/deployment.yaml"
- "resources/service.yaml" - "resources/service.yaml"
- "resources/http_route.yaml" - "resources/http_route.yaml"

View file

@ -0,0 +1,8 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: zipline
spec:
database: zipline
dropOnDelete: false

View file

@ -0,0 +1,12 @@
---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: zipline
spec:
role: zipline
database: zipline
secretName: db-credentials
privileges: OWNER
secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require"

View file

@ -16,6 +16,12 @@ spec:
containers: containers:
- name: zipline - name: zipline
image: zipline image: zipline
env:
- name: CORE_DATABASE_URL
valueFrom:
secretKeyRef:
name: db-credentials-zipline
key: PQ_URL
envFrom: envFrom:
- secretRef: - secretRef:
name: zipline-config name: zipline-config