Fix init container: install pyyaml before import

This commit is contained in:
Will Anderson
2026-03-23 10:11:51 -05:00
parent 0e6b924e70
commit 8e208045de
+2 -1
View File
@@ -22,9 +22,10 @@ spec:
initContainers:
- name: apply-config
image: python:3.12-alpine
command: ["python3", "-c"]
command: ["sh", "-c"]
args:
- |
pip install -q pyyaml && python3 - <<'EOF'
import yaml, os, shutil
CONFIG = "/opt/adguardhome/conf/AdGuardHome.yaml"