Skip to content

Commit

Permalink
keep al2 info
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbaker1 committed Feb 22, 2024
1 parent 49ce8df commit 6b9f191
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/usage/al2.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
| `kubernetes_build_date` | |
| `kubernetes_version` | |
| `launch_block_device_mappings_volume_size` | |
| `pause_container_version` | |
| `pull_cni_from_github` | |
| `remote_folder` | Directory path for shell provisioner scripts on the builder instance |
| `runc_version` | |
Expand Down
1 change: 1 addition & 0 deletions templates/al2/provisioners/install-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ validate_env_set CONTAINERD_VERSION
validate_env_set DOCKER_VERSION
validate_env_set KUBERNETES_BUILD_DATE
validate_env_set KUBERNETES_VERSION
validate_env_set PAUSE_CONTAINER_VERSION
validate_env_set PULL_CNI_FROM_GITHUB
validate_env_set RUNC_VERSION
validate_env_set WORKING_DIR
Expand Down
2 changes: 2 additions & 0 deletions templates/al2/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"kubernetes_build_date": null,
"kubernetes_version": null,
"launch_block_device_mappings_volume_size": null,
"pause_container_version": null,
"pull_cni_from_github": null,
"remote_folder": null,
"runc_version": null,
Expand Down Expand Up @@ -196,6 +197,7 @@
"DOCKER_VERSION={{user `docker_version`}}",
"KUBERNETES_BUILD_DATE={{user `kubernetes_build_date`}}",
"KUBERNETES_VERSION={{user `kubernetes_version`}}",
"PAUSE_CONTAINER_VERSION={{user `pause_container_version`}}",
"PULL_CNI_FROM_GITHUB={{user `pull_cni_from_github`}}",
"RUNC_VERSION={{user `runc_version`}}",
"SSM_AGENT_VERSION={{user `ssm_agent_version`}}",
Expand Down
1 change: 1 addition & 0 deletions templates/al2/variables-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"kernel_version": "",
"kms_key_id": "",
"launch_block_device_mappings_volume_size": "4",
"pause_container_version": "3.5",
"pull_cni_from_github": "true",
"remote_folder": "/tmp",
"runc_version": "1.1.*",
Expand Down

0 comments on commit 6b9f191

Please sign in to comment.