Fix init container: install pyyaml before import
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user