forked from kubernetes-sigs/kubespray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib: add cloud-init support for terraform vms (kubernetes-sigs#8394)
* contrib: add cloud-init support for terraform vms This change enables instance customization via cloud-init, for example: additional CA certs, custom SSH access etc. * contrib: update docs for terraform cloud-init * contrib: disable yamllint in cloud-init require-starting-space rule breaks cloud-init header * contrib: documenation formatting * yamllint: disable comments related checks * docs: markdown formatting
- Loading branch information
Showing
3 changed files
with
50 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
17 changes: 17 additions & 0 deletions
17
contrib/terraform/openstack/modules/compute/templates/cloudinit.yaml
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,17 @@ | ||
# yamllint disable rule:comments | ||
#cloud-config | ||
## in some cases novnc console access is required | ||
## it requires ssh password to be set | ||
#ssh_pwauth: yes | ||
#chpasswd: | ||
# list: | | ||
# root:secret | ||
# expire: False | ||
|
||
## in some cases direct root ssh access via ssh key is required | ||
#disable_root: false | ||
|
||
## in some cases additional CA certs are required | ||
#ca-certs: | ||
# trusted: | | ||
# -----BEGIN CERTIFICATE----- |