mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-10-23 21:30:34 +08:00
Adds a `radicle-node` particle CUE module to simulation. Partial for brevity in review as the `cue.mod` files found in the NEXT commit are less relevant and autogenerated by Timoni + CUE. Creates a set of roles: `peer`, `seed`, `bootstrap` that can be arranged into toplogies for deployment in a k8s system. Images are provided by Radicle Garden via quay.io.
31 lines
682 B
CUE
31 lines
682 B
CUE
@if(debug)
|
|
|
|
package main
|
|
|
|
// Values used by debug_tool.cue.
|
|
// Debug example 'cue cmd -t debug -t name=test -t namespace=test -t mv=1.0.0 -t kv=1.28.0 build'.
|
|
values: {
|
|
podAnnotations: "cluster-autoscaler.kubernetes.io/safe-to-evict": "true"
|
|
message: "Hello Debug"
|
|
image: {
|
|
repository: "docker.io/nginx"
|
|
tag: "1-alpine"
|
|
digest: ""
|
|
}
|
|
test: {
|
|
enabled: true
|
|
image: {
|
|
repository: "docker.io/curlimages/curl"
|
|
tag: "latest"
|
|
digest: ""
|
|
}
|
|
}
|
|
affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: [{
|
|
matchExpressions: [{
|
|
key: "kubernetes.io/os"
|
|
operator: "In"
|
|
values: ["linux"]
|
|
}]
|
|
}]
|
|
}
|