zot fixes, worker requirement
This commit is contained in:
parent
46d94f6052
commit
bd646aa4c4
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -14,7 +14,7 @@ spec:
|
||||
spec:
|
||||
priorityClassName: scavenger
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: arm64
|
||||
node-role.kubernetes.io/worker: true
|
||||
volumes:
|
||||
- name: payout
|
||||
secret:
|
||||
|
||||
@ -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" }
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user