Skip to content

Commit

Permalink
fix(schema): add "remove-unsafe-symlinks"
Browse files Browse the repository at this point in the history
Add "remove-unsafe-symlinks" to container.json schema
  • Loading branch information
ben-alkov committed Jan 13, 2025
1 parent 312d328 commit 34e9d99
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions osbs/schemas/container.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"set_release_env": {"$ref": "#/definitions/set_release_env"},
"version": {"$ref": "#/definitions/version"},
"remote_sources_version": {"$ref": "#/definitions/remote_sources_version"},
"remove_unsafe_symlinks": {"$ref": "#/definitions/remove_unsafe_symlinks"},
"go": {"$ref": "#/definitions/go"}
},
"additionalProperties": false
Expand All @@ -35,7 +36,8 @@
"set_release_env": {"$ref": "#/definitions/set_release_env"},
"version": {"$ref": "#/definitions/version"},
"remote_sources_version": {"$ref": "#/definitions/remote_sources_version"},
"remote_source": {"$ref": "#/definitions/remote_source"}
"remote_source": {"$ref": "#/definitions/remote_source"},
"remove_unsafe_symlinks": {"$ref": "#/definitions/remove_unsafe_symlinks"}
},
"additionalProperties": false
},
Expand All @@ -52,7 +54,8 @@
"set_release_env": {"$ref": "#/definitions/set_release_env"},
"version": {"$ref": "#/definitions/version"},
"remote_sources_version": {"$ref": "#/definitions/remote_sources_version"},
"remote_sources": {"$ref": "#/definitions/remote_sources"}
"remote_sources": {"$ref": "#/definitions/remote_sources"},
"remove_unsafe_symlinks": {"$ref": "#/definitions/remove_unsafe_symlinks"}
},
"additionalProperties": false
}
Expand Down Expand Up @@ -450,6 +453,11 @@
"minimum": 1,
"maximum": 2,
"default": 1
},
"remove_unsafe_symlinks": {
"description": "Remove unsafe symlinks if any are found?",
"type": "boolean",
"default": false
}
}
}

0 comments on commit 34e9d99

Please sign in to comment.