Skip to content

Commit 3ea7a5f

Browse files
committed
feat(spec): add ImmutableNodeProfile example
1 parent 651f7cf commit 3ea7a5f

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

examples/immutablenodeprofile.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"id": "urn:srcos:immutable-node-profile:m2-asahi-dev",
3+
"type": "ImmutableNodeProfile",
4+
"specVersion": "2.2.0",
5+
"name": "M2 Asahi SourceOS dev immutable node",
6+
"channel": "m2-asahi-dev",
7+
"substrate": {
8+
"strategy": "bootc-first",
9+
"hostMutationPosture": "staged-updates-only",
10+
"sociosRequired": false
11+
},
12+
"bootReleaseSetRef": "urn:srcos:boot-release-set:m2-asahi-dev",
13+
"releaseSetRef": "urn:srcos:release-set:m2-asahi-dev",
14+
"workstationProfileRef": "urn:srcos:workstation-profile:workstation-v0",
15+
"agentMachineProfileRef": "urn:srcos:agent-machine-profile:m2-asahi-dev",
16+
"hostCapabilityPlacementRefs": [
17+
"urn:srcos:host-capability-placement:sourceos-supervisor"
18+
],
19+
"nodeStateSchemaRefs": [
20+
"urn:srcos:node-state-schema:sourceos-evidence-root"
21+
],
22+
"optionalSociosCapabilityPackRefs": [
23+
"urn:socios:capability-pack:automation-commons-opt-in"
24+
],
25+
"validation": {
26+
"planCommand": "sourceosctl immutable-node plan --profile m2-asahi-dev --dry-run",
27+
"validateCommand": "sourceosctl immutable-node validate --profile m2-asahi-dev",
28+
"inspectCommand": "sourceosctl immutable-node inspect --profile m2-asahi-dev",
29+
"evidenceCommand": "agent-machine release evidence inspect --profile m2-asahi-dev"
30+
},
31+
"policyRefs": [
32+
"urn:srcos:policy:immutable-node-base",
33+
"urn:srcos:policy:socios-opt-in-required"
34+
],
35+
"evidenceRefs": [
36+
"urn:srcos:release-receipt:m2-asahi-dev"
37+
],
38+
"notes": "SourceOS base node profile. Socios pack reference is optional and does not imply enrollment."
39+
}

0 commit comments

Comments
 (0)