Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion container/deploy.k9.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,19 @@ echo "K9: Rollback complete."

# Export the component
{
pedigree = component_pedigree,
pedigree = {
# k9-validate scans for a literal `pedigree = { … }` field (it cannot
# follow the `let component_pedigree` indirection). This visible block
# carries the required identity/security fields; `& component_pedigree`
# then layers on the full L1–L5 component pedigree.
schema_version = "1.0.0",
component_type = "deployment",
security_level = "hunt",
metadata = {
name = "{{SERVICE_NAME}}-deploy",
version = "{{VERSION}}",
},
} & component_pedigree,
deployment = deployment,
scripts = scripts,

Expand Down
2 changes: 1 addition & 1 deletion coordination.k9
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pedigree = {
schema_version = "1.0.0",
component_type = "session-coordination",
leash = "Kennel",
security_level = "data-only",
security_level = "kennel",
}

session_management:
Expand Down
2 changes: 1 addition & 1 deletion session/custom-checks.k9
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pedigree = {
schema_version = "1.0.0",
component_type = "session-checks",
leash = "Kennel",
security_level = "data-only",
security_level = "kennel",
}

version: "0.1"
Expand Down
Loading