zot fixes, worker requirement
This commit is contained in:
parent
46d94f6052
commit
bd646aa4c4
@ -16,6 +16,8 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
nodeSelector:
|
||||||
|
node-role.kubernetes.io/worker: true
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: fetch-monero-cli
|
- name: fetch-monero-cli
|
||||||
image: debian:bookworm-slim
|
image: debian:bookworm-slim
|
||||||
@ -43,7 +45,6 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: monerod
|
- name: monerod
|
||||||
image: debian:bookworm-slim
|
image: debian:bookworm-slim
|
||||||
|
|||||||
@ -13,8 +13,7 @@ spec:
|
|||||||
labels: { app: p2pool }
|
labels: { app: p2pool }
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: arm64
|
node-role.kubernetes.io/worker: true
|
||||||
priorityClassName: scavenger
|
|
||||||
containers:
|
containers:
|
||||||
- name: p2pool
|
- name: p2pool
|
||||||
image: ghcr.io/sethforprivacy/p2pool:latest
|
image: ghcr.io/sethforprivacy/p2pool:latest
|
||||||
|
|||||||
@ -14,7 +14,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
priorityClassName: scavenger
|
priorityClassName: scavenger
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: arm64
|
node-role.kubernetes.io/worker: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: payout
|
- name: payout
|
||||||
secret:
|
secret:
|
||||||
|
|||||||
@ -8,25 +8,23 @@ data:
|
|||||||
config.json: |
|
config.json: |
|
||||||
{
|
{
|
||||||
"storage": { "rootDirectory": "/var/lib/registry" },
|
"storage": { "rootDirectory": "/var/lib/registry" },
|
||||||
|
"log": { "level": "info" },
|
||||||
"http": {
|
"http": {
|
||||||
"address": "0.0.0.0",
|
"address": "0.0.0.0",
|
||||||
"port": "5000",
|
"port": "5000",
|
||||||
"auth": {
|
"auth": {
|
||||||
"htpasswd": {
|
"htpasswd": {
|
||||||
"path": "/etc/zot/htpasswd",
|
"path": "/etc/zot/htpasswd"
|
||||||
"realm": "zot"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"accessControl": {
|
"accessControl": {
|
||||||
"repositories": [
|
"repositories": {
|
||||||
{
|
"**": {
|
||||||
"pattern": "**",
|
"anonymousPolicy": ["read"],
|
||||||
"policies": [
|
"defaultPolicy": ["read"],
|
||||||
{ "users": ["*"], "actions": ["read"] }
|
"policies": []
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"log": { "level": "info" }
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,7 @@ spec:
|
|||||||
labels: { app: zot }
|
labels: { app: zot }
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: arm64
|
node-role.kubernetes.io/worker: true
|
||||||
containers:
|
containers:
|
||||||
- name: zot
|
- name: zot
|
||||||
image: ghcr.io/project-zot/zot-linux-arm64:latest
|
image: ghcr.io/project-zot/zot-linux-arm64:latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user