zot fixes, worker requirement

This commit is contained in:
Brad Stein 2025-08-13 18:09:28 -05:00
parent 46d94f6052
commit bd646aa4c4
5 changed files with 14 additions and 16 deletions

View File

@ -16,6 +16,8 @@ spec:
securityContext:
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
nodeSelector:
node-role.kubernetes.io/worker: true
initContainers:
- name: fetch-monero-cli
image: debian:bookworm-slim
@ -43,7 +45,6 @@ spec:
volumeMounts:
- name: data
mountPath: /data
containers:
- name: monerod
image: debian:bookworm-slim

View File

@ -13,8 +13,7 @@ spec:
labels: { app: p2pool }
spec:
nodeSelector:
kubernetes.io/arch: arm64
priorityClassName: scavenger
node-role.kubernetes.io/worker: true
containers:
- name: p2pool
image: ghcr.io/sethforprivacy/p2pool:latest

View File

@ -14,7 +14,7 @@ spec:
spec:
priorityClassName: scavenger
nodeSelector:
kubernetes.io/arch: arm64
node-role.kubernetes.io/worker: true
volumes:
- name: payout
secret:

View File

@ -8,25 +8,23 @@ data:
config.json: |
{
"storage": { "rootDirectory": "/var/lib/registry" },
"log": { "level": "info" },
"http": {
"address": "0.0.0.0",
"port": "5000",
"auth": {
"htpasswd": {
"path": "/etc/zot/htpasswd",
"realm": "zot"
"path": "/etc/zot/htpasswd"
}
},
"accessControl": {
"repositories": [
{
"pattern": "**",
"policies": [
{ "users": ["*"], "actions": ["read"] }
]
"repositories": {
"**": {
"anonymousPolicy": ["read"],
"defaultPolicy": ["read"],
"policies": []
}
}
}
]
}
},
"log": { "level": "info" }
}

View File

@ -14,7 +14,7 @@ spec:
labels: { app: zot }
spec:
nodeSelector:
kubernetes.io/arch: arm64
node-role.kubernetes.io/worker: true
containers:
- name: zot
image: ghcr.io/project-zot/zot-linux-arm64:latest