This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/moghtech/komodo-core](https://github.com/moghtech/komodo) | minor | `2.0.0` → `2.1.0` | | [ghcr.io/moghtech/komodo-periphery](https://github.com/moghtech/komodo) | minor | `2.0.0` → `2.1.0` | | [moghtech/komodo](https://github.com/moghtech/komodo) | minor | `v2.0.0` → `v2.1.0` | --- ### Release Notes <details> <summary>moghtech/komodo (ghcr.io/moghtech/komodo-core)</summary> ### [`v2.1.0`](https://github.com/moghtech/komodo/releases/tag/v2.1.0): Komodo v2.1.0 [Compare Source](https://github.com/moghtech/komodo/compare/v2.0.0...v2.1.0) ##### Changelog - **Swarm**: Add "Update Node" support: update your swarm node `role` (manager, worker) and availability, and add / remove node labels - **Swarm** / **Stack**: Add Swarm Stack environment file support. - Docker swarm doesn't support files natively, this first **sources** the .env files on the shell, then runs `docker stack deploy` - **Swarm**: Stacks and deployments attached to swarms can now poll for updates / auto update - **Swarm**: Fix stack / service deploys hanging indefinitely if the services never converge - **Swarm**: Fix resource sync support - **UI**: Fix `deepCompare` method crash when encountering a `null` value, affecting some resource configuration pages. - **UI**: Fix container ports not displaying when Server `External Address` not configured - For users who used **privileged onboarding key** already, you can configure Server `External Address` to restore container port linking behavior. - Future use of privileged onboarding key will move the existing Server `Address` to `External Address` field, if it's not already set. - **UI**: Fix Build image registry Custom organization configuration. - **UI**: Fix stack service / container selectors from crashing due to missing null check. This affected New Terminal creation menu. - **UI**: Fix Info files "Hide / Show" buttons not working (clicking the header could still toggle show) - **Logging**: Support disabling application-level logging timestamps </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDIuOSIsInVwZGF0ZWRJblZlciI6IjQzLjEwMi45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkb2NrZXIiXX0=--> Reviewed-on: #5398 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
267 lines
7.8 KiB
YAML
267 lines
7.8 KiB
YAML
komodo:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/moghtech/komodo-core
|
|
tag: 2.1.0@sha256:4915d91b5c6e9de4e8fd59391eed5cad090ec84dcf6a1a9233d97edfdbbb88e7
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: COMPOSE_LOGGING_DRIVER
|
|
value: local
|
|
- name: KOMODO_HOST
|
|
value: https://komodo.alexlebens.net
|
|
- name: KOMODO_TITLE
|
|
value: Komodo
|
|
- name: PASSKEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: komodo-secret
|
|
key: passkey
|
|
- name: KOMODO_MONITORING_INTERVAL
|
|
value: 15-sec
|
|
- name: KOMODO_RESOURCE_POLL_INTERVAL
|
|
value: 5-min
|
|
- name: KOMODO_PASSKEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: komodo-secret
|
|
key: passkey
|
|
- name: KOMODO_WEBHOOK_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: komodo-secret
|
|
key: webhook
|
|
- name: KOMODO_JWT_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: komodo-secret
|
|
key: jwt
|
|
- name: KOMODO_LOCAL_AUTH
|
|
value: true
|
|
- name: KOMODO_ENABLE_NEW_USERS
|
|
value: true
|
|
- name: KOMODO_DISABLE_NON_ADMIN_CREATE
|
|
value: true
|
|
- name: KOMODO_TRANSPARENT_MODE
|
|
value: false
|
|
- name: PERIPHERY_SSL_ENABLED
|
|
value: false
|
|
- name: DB_USERNAME
|
|
value: ferret
|
|
- name: DB_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: komodo-postgresql-17-fdb-cluster-ferret
|
|
key: password
|
|
- name: KOMODO_DATABASE_URI
|
|
value: mongodb://$(DB_USERNAME):$(DB_PASSWORD)@komodo-ferretdb-2.komodo:27017/komodo
|
|
- name: KOMODO_OIDC_ENABLED
|
|
value: true
|
|
- name: KOMODO_OIDC_PROVIDER
|
|
value: http://authentik-server.authentik/application/o/komodo/
|
|
- name: KOMODO_OIDC_REDIRECT_HOST
|
|
value: https://authentik.alexlebens.net
|
|
- name: KOMODO_OIDC_CLIENT_ID
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: komodo-secret
|
|
key: oidc-client-id
|
|
- name: KOMODO_OIDC_CLIENT_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: komodo-secret
|
|
key: oidc-client-secret
|
|
- name: KOMODO_OIDC_USE_FULL_EMAIL
|
|
value: true
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
ferretdb-2:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/ferretdb/ferretdb
|
|
tag: 2.7.0
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: DB_USERNAME
|
|
value: ferret
|
|
- name: DB_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: komodo-postgresql-17-fdb-cluster-ferret
|
|
key: password
|
|
- name: FERRETDB_POSTGRESQL_URL
|
|
value: postgresql://$(DB_USERNAME):$(DB_PASSWORD)@komodo-postgresql-17-fdb-cluster-rw.komodo.svc.cluster.local:5432/ferretDB
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
service:
|
|
main:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 9120
|
|
protocol: HTTP
|
|
ferretdb-2:
|
|
controller: ferretdb-2
|
|
ports:
|
|
http:
|
|
port: 27017
|
|
targetPort: 27017
|
|
protocol: HTTP
|
|
route:
|
|
main:
|
|
kind: HTTPRoute
|
|
parentRefs:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: traefik-gateway
|
|
namespace: traefik
|
|
hostnames:
|
|
- komodo.alexlebens.net
|
|
rules:
|
|
- backendRefs:
|
|
- group: ''
|
|
kind: Service
|
|
name: komodo-main
|
|
port: 80
|
|
weight: 100
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
persistence:
|
|
keys:
|
|
forceRename: komodo-keys
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /config/keys
|
|
readOnly: false
|
|
cache:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 5Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /repo-cache
|
|
readOnly: false
|
|
syncs:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 5Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /syncs
|
|
readOnly: false
|
|
postgresql-17-fdb-cluster:
|
|
nameOverride: komodo-postgresql-17-fdb
|
|
mode: recovery
|
|
cluster:
|
|
image:
|
|
repository: ghcr.io/ferretdb/postgres-documentdb
|
|
tag: "17-0.106.0-ferretdb-2.5.0"
|
|
postgresUID: 999
|
|
postgresGID: 999
|
|
postgresql:
|
|
parameters:
|
|
cron.database_name: 'ferretDB'
|
|
documentdb.enableCompact: "true"
|
|
documentdb.enableLetAndCollationForQueryMatch: "true"
|
|
documentdb.enableNowSystemVariable: "true"
|
|
documentdb.enableSortbyIdPushDownToPrimaryKey: "true"
|
|
documentdb.enableSchemaValidation: "true"
|
|
documentdb.enableBypassDocumentValidation: "true"
|
|
documentdb.enableUserCrud: "true"
|
|
documentdb.maxUserLimit: "100"
|
|
shared_buffers: 128MB
|
|
max_slot_wal_keep_size: 2000MB
|
|
hot_standby_feedback: "on"
|
|
pg_hba:
|
|
- host ferretDB postgres localhost trust
|
|
- host ferretDB ferret localhost trust
|
|
shared_preload_libraries:
|
|
- pg_cron
|
|
- pg_documentdb_core
|
|
- pg_documentdb
|
|
initdb:
|
|
database: ferretDB
|
|
owner: ferret
|
|
postInitApplicationSQL:
|
|
- CREATE EXTENSION IF NOT EXISTS pg_cron;
|
|
- CREATE EXTENSION IF NOT EXISTS documentdb CASCADE;
|
|
- GRANT documentdb_admin_role TO ferret;
|
|
recovery:
|
|
method: objectStore
|
|
objectStore:
|
|
index: 2
|
|
backup:
|
|
objectStore:
|
|
- name: garage-local
|
|
index: 2
|
|
destinationBucket: postgres-backups
|
|
externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
|
isWALArchiver: true
|
|
# - name: garage-remote
|
|
# index: 1
|
|
# destinationBucket: postgres-backups
|
|
# externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
|
# retentionPolicy: "90d"
|
|
# data:
|
|
# compression: bzip2
|
|
# - name: external
|
|
# index: 1
|
|
# endpointURL: https://nyc3.digitaloceanspaces.com
|
|
# destinationBucket: postgres-backups-ce540ddf106d186bbddca68a
|
|
# externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
|
# isWALArchiver: false
|
|
scheduledBackups:
|
|
- name: live-backup
|
|
suspend: false
|
|
immediate: true
|
|
schedule: "0 50 14 * * *"
|
|
backupName: garage-local
|
|
# - name: weekly-backup
|
|
# suspend: true
|
|
# immediate: true
|
|
# schedule: "0 0 4 * * SAT"
|
|
# backupName: garage-remote
|
|
# - name: daily-backup
|
|
# suspend: true
|
|
# immediate: true
|
|
# schedule: "0 0 0 * * *"
|
|
# backupName: external
|
|
volsync-target-keys:
|
|
pvcTarget: komodo-keys
|
|
local:
|
|
enabled: true
|
|
schedule: 54 11 * * *
|
|
remote:
|
|
enabled: true
|
|
schedule: 54 12 * * *
|
|
external:
|
|
enabled: true
|
|
schedule: 54 13 * * *
|