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

add cis bottlerocket changes #100

Merged
merged 3 commits into from
Feb 18, 2025
Merged
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
3 changes: 3 additions & 0 deletions deploy/aws/infra/eks-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ module "eks" {
vpc_id = module.vpc.id
vpc_private_subnets = module.vpc.private_subnet_ids

cis_bootstrap_image = var.cis_bootstrap_image
enable_cis_bootstrap = var.enable_cis_bootstrap

tags = local.default_tags
}
15 changes: 15 additions & 0 deletions deploy/aws/infra/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,18 @@ variable "external_dns_namespace" {
type = string
description = "The Namespace that External DNS will be deployed to"
}

########################################
# CIS Bottlerocket
########################################
variable "enable_cis_bootstrap" {
type = string
default = true
description = "If true, the EKS cluster will be bootstrapped with the CIS Bottlerocket image to ensure the OS is CIS level compliant"
}

variable "cis_bootstrap_image" {
type = string
default = "ensonostackseuweirdfmu.azurecr.io/ensono/bottlerocket-cis-bootstrap:1.1.265-amd64"
description = "The location of the CIS Bottlerocket image"
}