migrate woodpecker to external mysql

This commit is contained in:
Erki Aas 2024-07-27 19:44:55 +03:00
parent 1e8bccbfa3
commit 61b1b1d6ef

View File

@ -79,6 +79,11 @@ spec:
secretKeyRef: secretKeyRef:
name: woodpecker-secret name: woodpecker-secret
key: WOODPECKER_AGENT_SECRET key: WOODPECKER_AGENT_SECRET
- name: "WOODPECKER_DATABASE_DRIVER"
value: "mysql"
envFrom:
- secretRef:
name: woodpecker-mysql
volumeMounts: volumeMounts:
- name: woodpecker-data - name: woodpecker-data
mountPath: /var/lib/woodpecker mountPath: /var/lib/woodpecker