Compare commits

...

21 Commits

Author SHA1 Message Date
9851a131d3 yt-dlp-bot: deploy update to b9088d9 2026-02-28 21:42:39 +00:00
20473263ae authentik: enable AUTHENTIK_POSTGRESQL__DISABLE_SERVER_SIDE_CURSORS
Per https://docs.goauthentik.io/install-config/configuration/#using-a-postgresql-connection-pooler
2026-02-26 09:20:16 -05:00
cb3528b17b Merge pull request 'chore(deps): update helm release gitea to v12.5.6' (#90) from renovate/gitea-12.x into main
Reviewed-on: #90
2026-02-26 02:07:26 +00:00
1a25c3fcf3 chore(deps): update helm release gitea to v12.5.6 2026-02-26 02:00:13 +00:00
b2d6545070 authentik: add files support 2026-02-25 18:52:17 -05:00
053c36a877 authentik: increase replicas to 3 after stability testing 2026-02-25 18:45:51 -05:00
968ef8d621 authentik: use dedicated pooler 2026-02-25 18:39:10 -05:00
4215d89d0b Revert "authentik: raise workers to 3"
This reverts commit 3b38a2c3a9.
2026-02-24 22:38:15 -05:00
3b38a2c3a9 authentik: raise workers to 3 2026-02-24 22:34:06 -05:00
42fd1e5a92 authentik: adjust probes from default 2026-02-24 22:26:36 -05:00
8d6b3eb6b6 authentik: try upgrade again with only 1 replica 2026-02-24 22:08:19 -05:00
442ba532cd Revert "chore(deps): update helm release authentik to v2026"
Reverting Authentik update as pods have been crashing
2026-02-24 21:52:28 -05:00
c71e4765e1 Merge pull request 'chore(deps): update helm release authentik to v2026' (#88) from renovate/authentik-2026.x into main
Reviewed-on: #88
2026-02-25 02:38:47 +00:00
b1e62ed191 chore(deps): update helm release authentik to v2026 2026-02-24 22:00:15 +00:00
5855b78976 yt-dlp-bot: deploy update to f688ee0 2026-02-21 22:27:54 +00:00
d849c4ca19 gitea-runner: ram scratch space 2026-02-19 18:06:15 -05:00
101be3512a attic: enable S3 support 2026-02-18 19:29:12 -05:00
893f10a45c gitea-runner: secure with rootless 2026-02-18 19:28:58 -05:00
11f881c24b attic: update tag to c4ffb5e86e928572e867bd3f81545293313e0a08 2026-02-17 21:08:37 -05:00
f59574bda1 Merge pull request 'chore(deps): update helm release authentik to v2025.12.4' (#87) from renovate/authentik-2025.x into main
Reviewed-on: #87
2026-02-14 11:28:56 +00:00
a2273c4336 chore(deps): update helm release authentik to v2025.12.4 2026-02-12 17:00:10 +00:00
9 changed files with 152 additions and 38 deletions

10
attic/bucket.yaml Normal file
View File

@@ -0,0 +1,10 @@
apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
metadata:
name: attic-bucket
namespace: attic
spec:
additionalConfig:
maxSize: 100Gi
bucketName: attic-bucket
storageClassName: weyma-s3-bucket

36
attic/config.yaml Normal file
View File

@@ -0,0 +1,36 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: attic-config
data:
server.toml: |
listen = "[::]:8080"
allowed-hosts = []
#api-endpoint = "https://nix-cache.dubyatp.xyz/"
[database]
url = "sqlite:///var/empty/.local/share/attic/server.db"
[storage]
path = "/data/.local/share/attic/storage"
type = "local"
#region = "us-east-1"
#bucket = "attic-bucket"
#endpoint = "https://weyma-s3.infra.dubyatp.xyz"
[chunking]
nar-size-threshold = 65536
min-size = 16384
avg-size = 65536
max-size = 262144
[compression]
type = "zstd"
[garbage-collection]
interval = "12 hours"
[jwt]
[jwt.signing]

View File

@@ -3,6 +3,7 @@ kind: Deployment
metadata:
name: attic
spec:
replicas: 1
selector:
matchLabels:
app: attic
@@ -13,17 +14,24 @@ spec:
spec:
containers:
- name: attic
image: ghcr.io/zhaofengli/attic:ff8a897d1f4408ebbf4d45fa9049c06b3e1e3f4e
image: ghcr.io/zhaofengli/attic:c4ffb5e86e928572e867bd3f81545293313e0a08
envFrom:
- secretRef:
name: attic-secret
- secretRef:
name: attic-bucket
volumeMounts:
- name: attic-pvc
mountPath: /var/empty
mountPath: /var/empty/
resources:
limits:
memory: "2Gi"
cpu: "500m"
- name: multitool
image: wbitt/network-multitool
volumeMounts:
- name: attic-pvc
mountPath: /var/empty/
volumes:
- name: attic-pvc
persistentVolumeClaim:

View File

@@ -24,5 +24,5 @@ appVersion: "1.0"
dependencies:
- name: authentik
version: 2025.12.3
version: 2026.2.0
repository: https://charts.goauthentik.io

View File

@@ -15,6 +15,35 @@ authentik:
service:
labels:
metrics_enabled: "true"
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
httpGet:
path: "{{ .Values.authentik.web.path }}-/health/live/"
port: http
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
httpGet:
path: "{{ .Values.authentik.web.path }}-/health/ready/"
port: http
startupProbe:
failureThreshold: 60
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
httpGet:
path: "{{ .Values.authentik.web.path }}-/health/live/"
port: http
worker:
replicas: 3
volumeMounts:
@@ -32,8 +61,10 @@ authentik:
secretKeyRef:
name: authentik-credentials
key: authentik-secret-key
- name: AUTHENTIK_POSTGRESQL__DISABLE_SERVER_SIDE_CURSORS
value: "true"
- name: AUTHENTIK_POSTGRESQL__HOST
value: pooler-weyma-rw.cloudnativepg.svc.cluster.local
value: pooler-weyma-rw-authentik.cloudnativepg.svc.cluster.local
- name: AUTHENTIK_POSTGRESQL__NAME
value: authentik
- name: AUTHENTIK_POSTGRESQL__USER
@@ -58,6 +89,22 @@ authentik:
key: smtp-password
- name: AUTHENTIK_EMAIL__TIMEOUT
value: "30"
- name: AUTHENTIK_STORAGE__BACKEND
value: "s3"
- name: AUTHENTIK_STORAGE__S3__ENDPOINT
value: "https://weyma-s3.infra.dubyatp.xyz"
- name: AUTHENTIK_STORAGE__S3__BUCKET_NAME
value: "authentik-files"
- name: AUTHENTIK_STORAGE__S3__ACCESS_KEY
valueFrom:
secretKeyRef:
name: authentik-files
key: AWS_ACCESS_KEY_ID
- name: AUTHENTIK_STORAGE__S3__SECRET_KEY
valueFrom:
secretKeyRef:
name: authentik-files
key: AWS_SECRET_ACCESS_KEY
additionalObjects:
- apiVersion: networking.k8s.io/v1
kind: Ingress
@@ -146,3 +193,12 @@ authentik:
creationPolicy: Owner
deletionPolicy: Retain
name: authentik-db-auth
- apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
metadata:
name: authentik-files
spec:
additionalConfig:
maxSize: 20Gi
bucketName: authentik-files
storageClassName: weyma-s3-bucket

View File

@@ -7,7 +7,7 @@ data:
log:
level: info
runner:
file: .runner
file: /data/.runner
capacity: 1
env_file: .env
timeout: 3h
@@ -29,8 +29,9 @@ data:
network: "host"
privileged: false
options:
workdir_parent:
valid_volumes: []
workdir_parent: /scratch
valid_volumes:
- /scratch/**
docker_host: ""
force_pull: true
force_rebuild: false

View File

@@ -16,24 +16,35 @@ spec:
labels:
app: act-runner
spec:
containers:
- name: runner
initContainers:
- name: sysctl
image: busybox
securityContext:
privileged: true
command:
- sh
- -c
- while ! nc -z localhost 2376 </dev/null; do echo 'waiting for docker daemon...';
sleep 5; done; /sbin/tini -- run.sh
image: gitea/act_runner:nightly
- echo 28633 > /proc/sys/user/max_user_namespaces
- name: chown-data
image: busybox
securityContext:
runAsUser: 0
command:
- sh
- -c
- chown -R 1000:1000 /data
volumeMounts:
- name: runner-data
mountPath: /data
containers:
- name: runner
image: gitea/act_runner:nightly-dind-rootless
imagePullPolicy: Always
env:
- name: CONFIG_FILE
value: /config/config.yaml
- name: DOCKER_HOST
value: tcp://localhost:2376
- name: DOCKER_CERT_PATH
value: /certs/client
- name: DOCKER_TLS_VERIFY
value: "1"
value: unix:///run/user/1000/docker.sock
- name: GITEA_INSTANCE_URL
value: https://git.dubyatp.xyz
- name: GITEA_RUNNER_REGISTRATION_TOKEN
@@ -41,34 +52,26 @@ spec:
secretKeyRef:
key: registration-token
name: gitea-runner-token
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- name: runner-config
mountPath: /config
- name: docker-certs
mountPath: /certs
- name: runner-data
mountPath: /data
- name: daemon
env:
- name: DOCKER_TLS_CERTDIR
value: /certs
image: docker:23.0.6-dind
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /certs
name: docker-certs
- name: runner-config
mountPath: /config
- name: runner-data
mountPath: /data
- name: runner-scratch
mountPath: /scratch
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
volumes:
- name: docker-certs
- name: runner-scratch
emptyDir:
medium: Memory
sizeLimit: 5Gi
- name: runner-config
configMap:
name: runner-config

View File

@@ -24,5 +24,5 @@ appVersion: "1.0"
dependencies:
- name: gitea
version: 12.5.5
version: 12.5.6
repository: https://weyma-s3.infra.dubyatp.xyz/helm-bucket-ea34bc44-ef19-480d-a16a-1e583991f123/charts/

View File

@@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: yt-dlp-bot
image: 'git.dubyatp.xyz/williamp/yt-dlp-bot:d7ad90a'
image: 'git.dubyatp.xyz/williamp/yt-dlp-bot:b9088d9'
env:
- name: OUT_PATH
value: /data/youtube-vids