Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.6] Add support for custom cloud-init for nodes in OKE driver #4848

Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default Component.extend(ClusterDriver, {
region: 'us-phoenix-1',
nodeShape: 'VM.Standard2.1',
nodeImage: '',
nodeUserDataContents: '',
vcn: '',
securityListId: '',
cpSubnetAccess: 'public',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,25 @@

</div>

<div class="row">
<div class="col span-12">
<label class="acc-label pb-5">
{{t "clusterNew.oracleoke.nodeUserData.label"}}
</label>
{{input-text-file
accept="text/plain,.sh,.bash,.init"
canChangeName=false
classNames="box"
minHeight=200
placeholder="clusterNew.oracleoke.nodeUserData.placeholder"
value=config.nodeUserDataContents
}}
<p class="help-block">
{{t "clusterNew.oracleoke.nodeUserData.help"}}
</p>
</div>
</div>

</div>

{{/accordion-list-item}}
Expand Down
4 changes: 4 additions & 0 deletions translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4399,6 +4399,10 @@ clusterNew:
nodeShape:
label: Instance Shape'
required: Instance Shape is required
nodeUserData:
label: Optionally provide a custom initialization script for nodes
placeholder: Optional cloud-init
help: 'cloud-init is run when the nodes boot up for the first time to automate custom tasks.'
os:
label: Operating System
quantityPerSubnet:
Expand Down