-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ci jsonschema patch for ssh-authorized-keys
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
- Loading branch information
1 parent
2d45b03
commit b860d26
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/cloudinit/config/schemas/schema-cloud-config-v1.json b/cloudinit/config/schemas/schema-cloud-config-v1.json | ||
index ff61dcaa6..73e54ebaf 100644 | ||
--- a/cloudinit/config/schemas/schema-cloud-config-v1.json | ||
+++ b/cloudinit/config/schemas/schema-cloud-config-v1.json | ||
@@ -361,6 +361,22 @@ | ||
}, | ||
"minItems": 1 | ||
}, | ||
+ "ssh-authorized-keys": { | ||
+ "allOf": [ | ||
+ { | ||
+ "type": "array", | ||
+ "items": { | ||
+ "type": "string" | ||
+ }, | ||
+ "minItems": 1 | ||
+ }, | ||
+ { | ||
+ "deprecated": true, | ||
+ "deprecated_version": "18.3", | ||
+ "deprecated_description": "Use ``ssh_authorized_keys`` instead." | ||
+ } | ||
+ ] | ||
+ }, | ||
"ssh_import_id": { | ||
"description": "List of ssh ids to import for user. Can not be combined with ``ssh_redirect_user``. See the man page[1] for more details. [1] https://manpages.ubuntu.com/manpages/noble/en/man1/ssh-import-id.1.html", | ||
"type": "array", |