fix dockerfile 13
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-10-24 21:08:58 +02:00
parent 602e265735
commit e6ac6bb34f
3 changed files with 10 additions and 7 deletions

View File

@@ -8,8 +8,8 @@ RUN apk add --no-cache knot knot-utils bash git openssh-client-default
VOLUME /etc/knot
VOLUME /var/lib/knot
COPY knot.conf /etc/knot/knot.conf
COPY my-dnssec-test-domain.de.zone /var/lib/knot/my-dnssec-test-domain.de.zone
COPY knot.conf /etc/knot/
COPY my-dnssec-test-domain.de.zone /var/lib/knot/
USER knot

View File

@@ -26,8 +26,8 @@ spec:
- name: KNOT_USER
value: "knot"
volumeMounts:
# - name: knot-config
# mountPath: /etc/knot
- name: knot-config
mountPath: /etc/knot
- name: knot-data
mountPath: /var/lib/knot
resources:
@@ -48,9 +48,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 5
volumes:
# - name: knot-config
# persistentVolumeClaim:
# claimName: knot-dns-config
- name: knot-config
persistentVolumeClaim:
claimName: knot-dns-config
- name: knot-data
persistentVolumeClaim:
claimName: knot-dns-data

View File

@@ -47,6 +47,9 @@ template:
# - domain: my-dnssec-test-domain.de
# template: default_template
control:
listen: "/var/lib/knot/knot.sock"
log:
- target: stderr
any: info