Compare commits

..

26 Commits

Author SHA1 Message Date
224102a066 yt-dlp-bot: deploy update to 6e7fc73 2026-03-02 18:37:04 +00:00
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
f0ac9bbd6d gitea-runner: create configmap for custom config, enable host networking within dind 2026-02-08 12:33:48 -05:00
68026b743c Merge pull request 'chore(deps): update helm release gitea to v12.5.5' (#86) from renovate/gitea-12.x into main
Reviewed-on: #86
2026-02-08 13:03:51 +00:00
980420d1cd chore(deps): update helm release gitea to v12.5.5 2026-02-08 04:00:08 +00:00
392e56b6ba gitea-runner: disable host networking as it breaks connectivity to buildkitd 2026-02-07 22:49:54 -05:00
9 changed files with 194 additions and 34 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: metadata:
name: attic name: attic
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: attic app: attic
@@ -13,17 +14,24 @@ spec:
spec: spec:
containers: containers:
- name: attic - name: attic
image: ghcr.io/zhaofengli/attic:ff8a897d1f4408ebbf4d45fa9049c06b3e1e3f4e image: ghcr.io/zhaofengli/attic:c4ffb5e86e928572e867bd3f81545293313e0a08
envFrom: envFrom:
- secretRef: - secretRef:
name: attic-secret name: attic-secret
- secretRef:
name: attic-bucket
volumeMounts: volumeMounts:
- name: attic-pvc - name: attic-pvc
mountPath: /var/empty mountPath: /var/empty/
resources: resources:
limits: limits:
memory: "2Gi" memory: "2Gi"
cpu: "500m" cpu: "500m"
- name: multitool
image: wbitt/network-multitool
volumeMounts:
- name: attic-pvc
mountPath: /var/empty/
volumes: volumes:
- name: attic-pvc - name: attic-pvc
persistentVolumeClaim: persistentVolumeClaim:

View File

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

View File

@@ -15,6 +15,35 @@ authentik:
service: service:
labels: labels:
metrics_enabled: "true" 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: worker:
replicas: 3 replicas: 3
volumeMounts: volumeMounts:
@@ -32,8 +61,10 @@ authentik:
secretKeyRef: secretKeyRef:
name: authentik-credentials name: authentik-credentials
key: authentik-secret-key key: authentik-secret-key
- name: AUTHENTIK_POSTGRESQL__DISABLE_SERVER_SIDE_CURSORS
value: "true"
- name: AUTHENTIK_POSTGRESQL__HOST - 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 - name: AUTHENTIK_POSTGRESQL__NAME
value: authentik value: authentik
- name: AUTHENTIK_POSTGRESQL__USER - name: AUTHENTIK_POSTGRESQL__USER
@@ -58,6 +89,22 @@ authentik:
key: smtp-password key: smtp-password
- name: AUTHENTIK_EMAIL__TIMEOUT - name: AUTHENTIK_EMAIL__TIMEOUT
value: "30" 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: additionalObjects:
- apiVersion: networking.k8s.io/v1 - apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
@@ -145,4 +192,13 @@ authentik:
target: target:
creationPolicy: Owner creationPolicy: Owner
deletionPolicy: Retain deletionPolicy: Retain
name: authentik-db-auth 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

41
gitea-runner/config.yaml Normal file
View File

@@ -0,0 +1,41 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: runner-config
data:
config.yaml: |-
log:
level: info
runner:
file: /data/.runner
capacity: 1
env_file: .env
timeout: 3h
shutdown_timeout: 0s
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
labels:
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
- "ubuntu-20.04:docker://docker.gitea.com/runner-images:ubuntu-20.04"
cache:
enabled: true
dir: ""
host: ""
port: 0
external_server: ""
container:
network: "host"
privileged: false
options:
workdir_parent: /scratch
valid_volumes:
- /scratch/**
docker_host: ""
force_pull: true
force_rebuild: false
require_docker: false
docker_timeout: 0s
host:
workdir_parent:

View File

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

View File

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

View File

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