From a80fc425cfce117e39bbe34068c285cfb23419df Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Tue, 26 May 2020 10:24:45 -0700 Subject: [PATCH 1/2] aws/controllers: Create IAM role for dynamic volume provisioning support Optionally sets up an IAM role that is required for dynamic volume provisioning to work on AWS. Related to #379 --- .../flatcar-linux/kubernetes/controllers.tf | 67 ++++++++++++++++++- .../aws/flatcar-linux/kubernetes/variables.tf | 6 ++ docs/configuration-reference/platforms/aws.md | 3 + pkg/assets/generated_assets.go | 8 +-- pkg/platform/aws/aws.go | 1 + pkg/platform/aws/template.go | 1 + 6 files changed, 80 insertions(+), 6 deletions(-) diff --git a/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf b/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf index 85d7ee858..2576ca00c 100644 --- a/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf +++ b/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf @@ -13,6 +13,68 @@ resource "aws_route53_record" "etcds" { records = [aws_instance.controllers[count.index].private_ip] } +# IAM Policy +resource "aws_iam_instance_profile" "csi-driver" { + count = var.enable_csi ? 1 : 0 + role = join("", aws_iam_role.csi-driver.*.name) +} + +resource "aws_iam_role_policy" "csi-driver" { + count = var.enable_csi ? 1 : 0 + role = join("", aws_iam_role.csi-driver.*.id) + + policy = <<-EOF + { + "Version": "2012-10-17", + "Statement": [ + { + "Action": [ + "ec2:AttachVolume", + "ec2:CreateSnapshot", + "ec2:CreateTags", + "ec2:CreateVolume", + "ec2:DeleteSnapshot", + "ec2:DeleteTags", + "ec2:DeleteVolume", + "ec2:DescribeAvailabilityZones", + "ec2:DescribeInstances", + "ec2:DescribeSnapshots", + "ec2:DescribeTags", + "ec2:DescribeVolumes", + "ec2:DescribeVolumesModifications", + "ec2:DetachVolume", + "ec2:ModifyVolume" + ], + "Effect": "Allow", + "Resource": "*" + } + ] + } + EOF +} + +resource "aws_iam_role" "csi-driver" { + count = var.enable_csi ? 1 : 0 + path = "/" + tags = var.tags + + assume_role_policy = <<-EOF + { + "Version": "2012-10-17", + "Statement": [ + { + "Action": "sts:AssumeRole", + "Principal": { + "Service": "ec2.amazonaws.com" + }, + "Effect": "Allow", + "Sid": "" + } + ] + } + EOF +} + # Controller instances resource "aws_instance" "controllers" { count = var.controller_count @@ -23,8 +85,9 @@ resource "aws_instance" "controllers" { instance_type = var.controller_type - ami = local.ami_id - user_data = data.ct_config.controller-ignitions[count.index].rendered + ami = local.ami_id + user_data = data.ct_config.controller-ignitions[count.index].rendered + iam_instance_profile = join("", aws_iam_instance_profile.csi-driver.*.name) # storage root_block_device { diff --git a/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf b/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf index 4c320f279..556c0e6af 100644 --- a/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf +++ b/assets/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf @@ -92,6 +92,12 @@ variable "tags" { description = "Optional details to tag on AWS resources" } +variable "enable_csi" { + type = bool + default = false + description = "Set up IAM role needed for dynamic volumes provisioning to work on AWS" +} + # configuration variable "ssh_keys" { diff --git a/docs/configuration-reference/platforms/aws.md b/docs/configuration-reference/platforms/aws.md index cf1e9b5a0..877a00b4a 100644 --- a/docs/configuration-reference/platforms/aws.md +++ b/docs/configuration-reference/platforms/aws.md @@ -91,6 +91,8 @@ cluster "aws" { dns_zone_id = route53_zone_id + enable_csi = true + expose_nodeports = false ssh_pubkeys = var.ssh_public_keys @@ -202,6 +204,7 @@ worker_pool "my-worker-pool" { | `oidc.client_id` | A client id that all tokens must be issued for. | "gangway" | false | | `oidc.username_claim` | JWT claim to use as the user name. | "email" | false | | `oidc.groups_claim` | JWT claim to use as the user’s group. | "groups" | false | +| `enable_csi` | Set up IAM role needed for dynamic volumes provisioning to work on AWS | false | false | | `expose_nodeports` | Expose node ports `30000-32767` in the security group, if set to `true`. | false | false | | `ssh_pubkeys` | List of SSH public keys for user `core`. Each element must be specified in a valid OpenSSH public key format, as defined in RFC 4253 Section 6.6, e.g. "ssh-rsa AAAAB3N...". | - | true | | `controller_count` | Number of controller nodes. | 1 | false | diff --git a/pkg/assets/generated_assets.go b/pkg/assets/generated_assets.go index 5e2e6854d..6eb2ac73a 100644 --- a/pkg/assets/generated_assets.go +++ b/pkg/assets/generated_assets.go @@ -3292,9 +3292,9 @@ var vfsgenAssets = func() http.FileSystem { "/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/controllers.tf": &vfsgen۰CompressedFileInfo{ name: "controllers.tf", modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), - uncompressedSize: 2408, + uncompressedSize: 3874, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x56\x5d\x6b\x23\x37\x14\x7d\x9f\x5f\x71\x99\x38\x34\x29\xce\xc4\x69\x5a\x28\x0b\x7e\x28\xbb\x2f\x0b\x65\x29\xf4\xad\x4b\x10\x8a\x74\x6d\xdf\x8d\x46\x12\x92\xc6\x89\xd7\xf8\xbf\x17\x7d\xcc\x78\xc6\x76\x96\xcd\x4b\xec\xab\xa3\x33\x47\xe7\x1e\xdd\xf1\x15\x7c\x22\x2f\x1c\x06\x84\x4f\x5f\xfe\x05\x87\xc2\x38\xe9\x61\x65\x1c\x20\x17\x1b\x10\x46\x07\x67\x94\x42\xf7\x8b\x07\xeb\x68\xcb\x03\xc2\xe7\x7f\xb6\xbf\x67\x48\x10\x12\x3a\xcf\xd7\x58\x39\xf4\xa6\x73\x02\xa1\xe6\xaf\x9e\x39\xd3\x05\xfc\xe3\x91\x65\xbe\x1a\xea\x88\xf4\x35\xec\x2b\x00\x61\x3a\x1d\x60\x09\x5b\xee\x9a\x23\x3d\x4b\xe5\xaa\x02\xb8\x4a\x4a\xfe\x33\x1a\xe1\x75\x83\x0e\x8b\x28\xf0\x1b\xd3\x29\x09\xcf\x08\xc2\x21\x0f\x28\x2b\x80\xef\x46\x23\x23\x59\xd8\xa4\xf6\xac\x54\x22\x91\xe6\x2d\xc2\x32\x0a\x6d\x79\xb8\xa9\xaf\xfd\x5d\x54\x71\x2d\x9b\x6b\xdf\xd4\xf3\xfc\x7c\xd5\xf9\x80\x8e\x45\xe8\x3c\x2b\x6b\x48\x4b\x7c\x9b\x4f\x08\x6f\x2b\x80\xb0\xb3\x91\xad\xfe\xab\x8e\x5f\x82\x02\x58\xc2\xe3\x62\x91\x15\x4f\x9c\xe1\x52\x3a\xf4\x7e\x70\xa8\x82\xc1\xd7\x25\x7c\x8d\xf6\x90\xf6\x81\x6b\x81\xa3\xf3\xfb\xaf\xa3\xa7\x3f\x35\x85\x90\x91\x7d\xaa\x0e\x55\x75\x05\x1f\x07\x24\xf4\xbb\xfd\x89\xe9\x7d\xbd\x86\x7a\xc4\xfb\x73\xa6\x07\xbe\x8e\xea\x5a\x74\x6b\xbc\x89\xa0\x58\x98\xa7\xad\x00\x5f\xb2\x91\xf5\x6c\x7f\xea\xd9\xe1\xee\x48\x76\x37\xdb\x8f\x8e\x70\x88\x36\x1d\x6e\x23\x77\xaf\x8b\x15\x0b\x4f\x34\xc4\x6a\x84\xf1\x96\x20\xff\x2d\x41\x19\xc1\x55\xc3\x5b\x8a\xad\x04\xe8\x3c\x3a\x26\x79\xe0\xb0\x84\xf8\xaf\x11\x81\x09\xa3\x57\xb4\x1e\x11\xdd\xd1\x5a\x53\x20\xa3\x4f\xac\x74\xa8\x25\x3a\x94\xb9\x53\x3e\x18\x17\xf3\x0a\xe0\x8c\x09\xec\x59\x19\xf1\xc2\x24\x6e\x49\x60\x39\xed\xd6\xa8\xae\x9d\x88\x95\xe4\x5f\xb2\xcc\xd1\xba\xa7\xef\x93\xf5\xf8\x3d\xad\x93\xb1\x1e\x86\x93\x0c\xeb\xb1\x9c\xd6\x51\x0b\xb7\xb3\x01\x65\x5a\x0f\xae\x8b\xdb\x0e\x59\x9d\xc6\xf0\x6a\xdc\x4b\x74\xc3\x7b\x23\x28\x46\xc0\x76\xcf\x8a\x04\x23\xcb\xfa\x60\x0d\xbb\x7c\xf7\xac\x31\xc4\x0b\x70\xfe\xb7\x84\x98\x89\x8c\x68\x32\xc7\xd4\x97\xe4\xec\xd6\x0a\xe6\x51\x74\x8e\xc2\x8e\xad\x9d\xe9\x2c\x23\xe9\x7b\x86\x14\xd6\xe9\xf2\xc8\xf0\x86\xe4\x53\x94\xad\x68\x85\x62\x27\x54\x6f\x20\xad\xb5\x71\xc8\xc4\x86\xeb\x35\xa6\xcc\x57\x99\x90\xb7\x34\x2f\x1f\x87\x8e\xe6\xc2\x53\xb2\xe0\x34\xe8\x9f\x4b\x43\x21\xf7\xda\x57\x29\x02\xf5\xd0\xfc\x49\xd0\x8f\xed\x1f\x27\x7e\xd2\x87\xb3\xe0\x43\x9a\x6f\xd8\xe3\x4a\xb8\x02\xb6\x56\x45\xe7\x57\xa4\xc6\x57\xf4\xae\xc8\x78\x27\x5e\x00\xd6\x61\x08\x3b\x66\x1d\xa5\xbb\xb6\xe2\xca\xa7\x2e\x69\xb2\x16\x83\x7f\x47\x89\x12\xac\x47\x9c\x39\x10\x3f\x72\xd2\xe8\xe0\x6f\xd2\xdd\xdb\x89\x11\x13\xa1\x53\x33\x0a\xf0\x27\x2f\x7f\xe1\x89\x9a\x49\xe1\x4d\x3d\xdb\x5b\x1e\x36\x4d\x6b\x64\xa7\xf0\x70\x2f\xd4\xfd\xa8\xeb\x3b\xde\xaa\x26\xb4\x56\xd5\xe9\x76\x6f\xb9\x8b\x3d\xce\xad\xbf\x82\x8f\x5c\x6b\x13\x62\x7f\x21\x66\x82\x04\x48\xb4\xd1\x22\x2d\x08\x3d\xe4\x66\xf6\xb3\x09\x8c\x83\xb0\x41\x72\xe3\x97\x4f\xbe\x24\x41\xc8\x34\x61\x92\x65\xe9\xf5\x71\x3e\x5e\x0a\x4c\x9a\x96\x93\x7e\x6f\x40\x9d\x6f\x6d\x32\xac\x1f\xee\x85\xea\x2a\x91\x2d\x96\x9b\x10\xac\xff\x70\x7f\x5f\x58\xd2\xfe\x45\x83\x6f\xbc\xb5\x29\x0d\xed\x3c\x56\x1e\x2e\xe2\x1e\x26\xb8\xa6\x69\x8e\x22\x29\x86\x93\x2b\x56\xe0\xe9\x58\xdf\x0c\xe9\x9b\x7a\x5e\xcf\x2f\xe5\x2e\xbd\x31\x9b\x5f\x87\x7c\xdd\x26\x2e\xef\x37\xec\x05\x77\xfe\xec\xb2\x7f\xf3\x46\xa3\x16\x46\xe6\xf1\xdd\xe3\xf2\xae\xde\x91\x78\x64\x8f\x2e\x0e\x3b\x46\x16\x96\x20\x48\xba\x8d\xf1\x21\xef\x29\x2b\xb1\x38\x87\x87\xc5\xc9\xde\xe4\x32\xf3\xdd\x6a\x45\x6f\x43\x8e\x2f\x2d\xf6\x77\xf9\x72\x48\xcf\x7e\x09\xfc\xe8\x7a\x8e\x92\x99\x33\x30\xdb\xe7\x1e\x0e\xf6\xcf\x66\xfb\x0b\xfd\xee\x61\xcd\x6c\xb6\x1f\xfa\xfc\xe1\xb7\xc7\x3f\x17\xf5\x59\x66\x13\xf2\x68\xe4\x28\x29\x93\xf3\x97\x5f\x13\xa7\x01\x4b\x98\xfe\x11\xe3\x99\x5f\x4a\xc5\x8c\xff\x03\x00\x00\xff\xff\x8f\x90\x2b\xb6\x68\x09\x00\x00"), + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\xdf\x6f\xdb\x36\x10\x7e\xf7\x5f\x71\x60\x5c\x2c\x29\x6c\xc5\x4e\x37\x6c\x30\x6a\x0c\x46\xdb\x01\x01\xd6\xae\x68\x87\x3e\x2c\x08\x04\x9a\x3a\xdb\xd7\x50\xa4\x40\x52\x4e\x5c\xc3\xff\xfb\x40\x52\x92\x25\xff\xc8\x8a\x61\xeb\x4b\x1d\xde\xc7\x8f\xc7\xbb\xef\xee\xa8\x0b\x78\x4b\x56\x18\x74\x08\x6f\x3f\x7c\x06\x83\x42\x9b\xcc\xc2\x42\x1b\x40\x2e\x56\x20\xb4\x72\x46\x4b\x89\xe6\x07\x0b\x85\xa1\x35\x77\x08\xb7\x1f\xd7\x3f\x46\x88\x13\x19\x94\x96\x2f\xb1\x67\xd0\xea\xd2\x08\x04\xc6\x1f\x6d\x6a\x74\xe9\xf0\xa7\x57\x69\xe4\x63\xc0\x3c\xd2\x32\xd8\xf6\x00\x84\x2e\x95\x83\x29\xac\xb9\x49\xf6\xf4\x69\x58\xee\xf5\x00\x2e\x82\x27\x7f\x69\x85\xf0\xb8\x42\x83\x95\x53\x60\x57\xba\x94\x19\xcc\x11\x84\x41\xee\x30\xeb\x01\x7c\xd3\x0a\x53\xca\x2a\xb6\x4c\xd9\xb4\x5a\xf1\x44\x8a\xe7\x08\x53\xef\x68\xce\xdd\x25\x7b\x61\x87\xde\x8b\x17\x59\xf2\xc2\x26\x6c\x10\xcf\x97\xa5\x75\x68\x52\x0f\x1d\x44\xcf\x12\x52\x19\x3e\x0d\x3a\x84\x57\x3d\x00\xb7\x29\x3c\x1b\x9b\x31\xff\x87\x93\x00\x53\x78\x35\x1a\x45\x8f\x3b\x91\xe1\x59\x66\xd0\xda\x26\x42\x3d\x68\xe2\x3a\x85\x3b\x1f\x1e\x52\xd6\x71\x25\xb0\x75\x7f\x7b\xd7\x3a\xfd\x3e\xa9\x08\x53\x2a\xee\x7b\xbb\x5e\xef\x02\x6e\x67\xef\xe1\xa3\x96\x24\x36\x07\xa1\x26\x9e\x37\x7c\x69\x61\xf4\x82\x24\x32\x60\xc2\xd2\x30\x33\xb4\x46\x73\x1c\x75\x54\x7c\x2e\x31\x15\x96\xe0\x57\x18\xc3\x04\x46\xde\x45\x2d\xd1\xdf\xe9\xab\x26\x75\xc9\xd8\x00\x6a\x72\x6f\x48\xf6\x74\xc9\xcb\xc4\x47\xeb\xca\xbb\x75\xec\x89\x07\xa7\x45\xf0\xf3\x7f\x76\x82\xb2\x2b\x1f\xfb\x78\x16\x4c\xe1\xf5\xeb\xe1\xbb\x3f\x7e\xeb\x41\x38\x08\x80\x7d\x41\x63\x49\x2b\x36\x01\x76\x33\x1a\xdf\x0c\xc7\xa3\xe1\xf8\x67\x36\x88\xc6\xcf\x8e\x3b\xcc\x51\x39\x36\x81\xbb\xb0\x54\xef\x0b\xe6\x99\x70\x71\xeb\x5d\xb3\x06\xc0\x50\xdc\x4c\x66\xce\x71\xb1\xfa\xa2\x65\x99\x63\x45\xd6\xb2\xbe\x09\xc2\xfc\xac\x78\x61\x57\xda\x9d\xb3\xff\xc9\x97\xf6\x9c\xed\x1c\xf3\x5b\x94\xf8\x1c\x73\xb4\x9f\x66\x8e\xb6\xf3\xcc\x56\x18\x9a\xe3\x6c\xcd\x49\xf2\x39\x49\x72\x1b\x5f\x7c\x27\x89\x22\xf4\xb6\x92\xdb\x33\x90\xda\xd3\x67\x20\xe7\x9c\x8d\xd6\xe8\xee\x3f\x03\xde\xeb\x8c\x16\x24\xb8\x4f\xd8\x49\xf4\x73\xf9\x0a\x9b\x37\x95\xb5\x31\xde\xef\x71\xec\xdd\x62\x81\xc2\xab\x84\xcd\xa4\xd4\x8f\x2d\x0a\xf6\xa9\x12\xbf\x37\xbe\xac\x77\xef\xc2\xff\xf7\xbd\xf8\xcb\x0b\xf2\x6c\x99\xfc\x9b\xfa\x28\xb8\x5b\xf9\xfa\x60\xd7\xa1\x0b\xf1\xa5\x85\x0a\xee\x7f\xfb\x7a\xe0\xd6\x96\x39\xb6\xeb\xf0\xbf\xa8\x8d\x76\x75\x40\xa7\x42\x98\x75\x76\x32\x0b\x87\x7e\xf2\x97\x1a\x74\x71\x1f\x0d\x29\x41\x05\x97\x6c\x72\x40\x11\x8e\x42\xb3\xa6\x18\x41\x14\x37\x09\xcf\xf9\x37\xad\xf8\xa3\x4d\x84\xce\x59\x07\xbd\x3b\xe0\x3d\x9f\x97\x48\x4c\x99\xb7\xed\x39\x4e\xe6\xe5\x02\xde\x34\xfd\x17\xea\x1e\x6a\x0f\xd3\x55\xad\xfb\x74\xed\xbb\xf5\xf7\x8d\xb2\x90\xa0\x29\xe4\x68\x96\x78\x59\x67\x69\x50\x05\xe2\x43\x1c\x4f\xac\xbf\x3d\x9c\x44\xbb\xe1\x9e\x6c\xd8\xdf\xb6\x06\xc3\xce\xdf\x68\x17\x1a\x5f\xd3\xf3\xab\xc1\x74\xe0\x83\x5f\x0d\x7a\xc8\x09\x8e\xfe\x4d\x41\x6a\xc1\x65\xc2\x73\xf2\xb3\x12\xa0\xb4\x68\xd2\x8c\x3b\xde\x45\xf9\x95\x44\xb8\x54\x68\xb5\xa0\x65\x8b\x7e\x48\x4b\x45\xa1\xe4\xba\x63\xcb\xa0\xca\xd0\x84\xd1\x7c\x6a\x2e\x9d\xea\xec\x87\x98\x53\xa3\x26\xcc\x58\xeb\xb4\xf1\x2f\x0d\x3f\x25\xb4\x4b\xe7\x52\x8b\x87\x34\x43\x2f\xa0\x2a\xa2\xeb\x50\xc8\xed\x80\x64\x64\x1f\x62\x28\x5a\x76\x4b\xdf\x3a\x76\xff\x77\xb0\x93\x2e\xec\xfe\xf2\x8d\xdd\x2f\x07\x3b\x2a\x61\x36\x85\xc3\x2c\xd8\x9d\x29\x31\xe8\x29\x78\xa7\xd0\x3d\x6a\xf3\x10\x2b\x50\x0b\xf2\xc3\xbb\x28\xe7\x92\x44\x4a\x45\x5a\x3f\x09\x9a\x5d\xb6\x9c\x2b\x74\xfe\xe9\x72\x2a\x3b\x3e\x36\x11\x91\x44\x8e\x6e\x94\x43\xca\xd6\x85\x48\x2d\x8a\xd2\x90\xdb\xa4\x4b\xa3\xcb\x22\xa5\xcc\xd6\x0c\xe1\x99\xd1\x35\xb7\xd2\x97\x50\x76\xef\xdd\x96\xb4\x40\xb1\x11\xb2\x0e\x20\x2d\x95\x36\x98\x8a\x15\x57\x4b\x0c\xaf\x95\xaa\x80\x78\x4e\x75\x85\x35\x52\x19\xb4\x4a\xea\xb0\x98\x6e\x2b\x79\x40\x54\x8e\xed\x05\x6d\xb1\x46\x4a\x9d\x62\xda\x8b\xa9\x5d\x55\x9d\x3c\x1c\x15\x17\x84\x97\x29\xd6\xb8\x4a\xaa\x0e\xf3\x42\xfa\xc8\x47\x21\xed\x4f\xa8\xdc\x38\x2b\xd6\xc2\xa0\x73\x9b\xb4\x30\x14\xea\x79\xc1\xa5\x0d\x59\x52\x54\x14\xe8\xec\x19\x4f\xa4\x48\x6b\xc4\x51\x04\xfc\x4f\x4e\x0a\x0d\xfc\x4e\xaa\x7c\x3a\x08\x44\xc7\xd1\x6e\x30\x2a\xe0\x77\x36\x98\x8a\xc7\xfb\x4c\x12\x2f\x59\x7f\xeb\x47\x44\x92\xeb\xac\x94\xb8\xbb\x16\xf2\xba\x95\xf5\x0d\xcf\x65\xe2\xf2\x42\xb2\x50\x52\x6b\x6e\x7c\x8e\x63\xea\x2f\xe0\x0d\x57\x4a\x3b\x9f\x5f\xf0\x9a\x20\x01\x19\x16\x3e\x44\x4a\x10\x5a\x88\xc9\xac\xfb\x1f\x68\x03\x6e\x85\x64\xda\x9f\x0d\xb1\x48\x9c\xc8\x42\x17\x0b\x21\x0b\x0f\xff\xe3\x16\x56\xc1\x32\x9d\x73\x52\xe7\x9a\xe0\xf1\xd6\x24\xc2\xea\x67\x79\x45\x75\x11\xc8\x46\xd3\x95\x73\x85\x9d\x5c\x5f\x57\x2c\x61\xff\x28\xc1\x27\x9e\x17\x41\x0d\xf9\xc0\xaf\x8c\x4f\xe2\xc6\x1d\x5c\x92\x24\x7b\x27\xc9\x8b\x93\xcb\xb4\x82\xc3\xfe\x7d\x3a\x60\x83\x53\xba\x0b\xdf\x3a\xc9\xcb\x46\x5f\x57\x81\xcb\xda\x55\xfa\x80\x1b\x7b\x54\xec\x5f\xad\x56\xa8\x84\xce\xe2\x88\xa8\x71\x71\x57\x1d\x11\x7f\x65\x1b\xa7\x65\x4a\x05\x4c\x41\x50\x66\x56\xda\xba\xb8\xa7\xb2\xf8\xc5\x01\x8c\x47\x07\x7b\x43\x94\x53\x5b\x2e\x16\xf4\xd4\xe8\xf8\x94\xb1\xae\xe5\xd3\x22\x3d\xfa\x86\x7b\xae\x3c\x5b\xca\x8c\x1a\xe8\x6f\x63\x0e\x9b\xf0\xf7\xfb\xdb\x13\xf9\xae\x61\x49\xbf\xbf\x6d\xf2\x3c\xb9\x79\xf5\xcb\x88\x1d\x69\x36\x20\xf7\x81\x6c\x29\xa5\x73\xff\xea\x3b\xf0\x50\x60\x01\x53\x1f\xd1\xee\xf9\xd5\x52\x15\x8c\xbf\x03\x00\x00\xff\xff\x4e\x7e\x52\x0d\x22\x0f\x00\x00"), }, "/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/dns.tf": &vfsgen۰CompressedFileInfo{ name: "dns.tf", @@ -3348,9 +3348,9 @@ var vfsgenAssets = func() http.FileSystem { "/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/variables.tf": &vfsgen۰CompressedFileInfo{ name: "variables.tf", modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), - uncompressedSize: 4295, + uncompressedSize: 4454, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x57\xdd\x6f\xdb\x38\x12\x7f\xf7\x5f\x31\x70\x1f\xea\x00\xae\xce\x76\x7a\xfd\x00\xb6\x0f\x8e\xd3\xdb\xcd\x6d\xf3\x71\x75\xb3\x01\xf6\x70\x10\x68\x72\x24\x11\xa1\x48\x1d\x87\xb4\xe3\x1e\xf6\x7f\x3f\x90\x52\x1c\xd9\x92\xef\x92\x6e\xfb\x10\x25\xe4\xcc\xfc\xe6\x83\xbf\x99\x59\x33\x2b\xd9\x4a\x21\x0c\xb9\xf2\xe4\xd0\xa6\x9a\x95\x38\x84\xff\x0c\x00\xdc\xb6\x42\x68\xfe\x7d\x02\x72\x56\xea\x7c\x00\x20\x90\xb8\x95\x95\x93\x46\xc3\x27\x18\xde\x6a\xf9\x6f\x8f\xd0\x88\x43\x10\x87\x51\x65\xb1\x42\x2d\x50\x80\x33\x20\x34\xa5\xdf\x8d\xc6\x93\xe1\xe0\x8f\xc1\xe0\x15\xcc\xef\x96\x83\xc1\x93\xe1\xc7\xe3\x97\x18\x9d\xdf\x2d\xe1\xab\xf1\x0e\xff\x7a\x0a\xe7\x57\x4b\xf8\xdd\x68\x84\x11\x26\x79\x02\x6c\x43\x09\x3e\xb0\xb2\x52\x98\x70\x53\xd6\x46\xbb\xd6\x52\x29\xfe\xb4\xc1\x8b\xf3\xc6\xe6\xef\xa7\x37\xf3\xf9\xd9\xd9\xe2\x6f\xf3\x5f\x3f\x2f\x26\x87\x26\xf1\xa1\x32\x84\xa9\x36\x02\x2b\x63\x1d\xf5\xd9\x5d\x19\xa3\xa2\xd5\x8c\x79\xe5\x9a\x3f\x66\x4c\x11\x76\xb1\x7c\x8e\xfa\x20\xe8\x83\xa8\x10\x4e\x27\x93\xc9\xe4\xcd\xe9\xec\xfd\xbb\xf7\x20\x35\xb8\x02\x81\x90\x7b\x2b\xdd\x16\x72\x6b\x7c\xd5\x44\x5e\x6a\x72\x4c\x73\xa4\x36\x3c\x6e\xb4\xb3\x46\x29\xb4\x29\x37\x5e\xbb\x3e\x78\xda\x97\x2b\xb4\x1d\x80\xd3\x2e\xb8\xab\x78\x13\x4c\x06\x4f\x7a\x09\x46\x32\xc1\x04\x4a\x16\x4a\x84\x0e\xe3\xd3\x02\x10\xac\xb6\xec\xb7\xf2\xf1\x0a\xee\x0a\xd4\x20\x8c\xd4\x79\x74\xd0\x57\xb9\x65\x02\xa9\x65\xaa\x52\x4c\x23\x18\x0d\xee\x34\xa1\x92\x29\xb5\x73\xb8\x56\xb7\x29\x50\x47\x55\x05\x5b\x07\x35\x21\x87\x24\x75\xae\x70\x5f\x43\x88\xec\xf8\x49\x49\xc1\x08\xb4\x71\x80\xda\xf8\xbc\x80\x12\x4b\x63\xb7\x30\x9a\xfd\x7c\x76\x12\xb5\x39\x03\xd6\x6b\x28\x8d\x45\x70\x05\xd3\x51\xef\xce\xb2\xc9\xe0\xde\xaf\xf0\x0d\xab\x24\xa1\x5d\xa3\x0d\x19\xaa\x98\x65\x4a\xa1\x1a\x03\x19\xd8\x20\x68\xac\x9f\x8a\x8f\xf9\x7e\x05\x0c\x56\x32\xcf\xe3\xdd\x5a\x4d\x02\x77\xd2\x15\xf0\xcb\x7c\x0f\x69\x0b\x24\x15\xc6\x2b\x01\x2b\x84\x4c\xc6\x83\x22\x82\xcd\x8c\x8d\x0a\x2b\x6b\x84\xe7\x31\x49\x84\xce\x57\x34\x06\xe9\x5e\x13\x58\xe4\xa6\x2c\x77\x4f\xd5\xd3\x13\x72\x82\x4d\x30\x19\xdd\xfa\x3a\xbf\x1c\x83\x33\x51\x55\x2e\xd7\x08\x95\x42\xed\xb6\xc1\x39\x4f\x31\x8b\x4d\x54\x32\x63\x01\x1d\x17\xc0\xb4\x38\xf0\x3b\xe9\x94\xcf\xd0\x9d\x26\x25\x0a\xe9\xcb\x61\x4f\x95\x2f\x66\x07\xe9\x0b\xba\x5b\x45\x75\x50\x45\x86\x9e\x43\x5d\x7b\xe6\x33\xc5\x1c\x67\xb6\xc7\xf8\x55\x60\x31\x93\xc1\x75\x85\x96\xb9\x50\x2b\xcb\x2d\x39\x2c\x61\xc4\x8d\x45\x43\x60\x2c\x34\xd2\x87\xd5\x6c\x28\xe5\x05\xd3\x1a\xd5\x4b\xa0\x90\x0b\xd2\x3d\x48\xe6\x97\x17\xd0\xe8\x8b\x01\x08\xa5\x7f\xbd\x84\x51\x2d\x30\x86\x15\x3a\x36\x06\xa6\xaa\x82\x8d\x01\x45\x8e\x3d\x78\xd6\x68\x49\x1a\xfd\x12\x3c\xdc\x5b\x8b\xda\xf5\x00\xfa\xad\x56\x16\xa2\xf3\x88\xa5\xb9\x1c\x82\xa2\x7d\x89\x56\x72\x68\x4c\x02\x79\x5e\x00\x23\x98\xcd\xde\x4d\x93\x8f\x1f\x93\x0e\x39\x0a\x49\xf7\x29\xc9\xef\xbd\x89\x3b\x42\x3b\x6f\x27\x5d\x58\x4b\xf9\x1d\x1f\x31\x7d\x3e\x5b\xc2\xda\x28\x5f\x86\x62\x86\x9f\xcf\xfa\x4c\x1e\x30\xcd\xff\x0d\x48\x5e\xcd\x7a\x82\xf1\x2d\xc8\x76\xad\xd6\x5d\x21\xd4\xae\x60\x56\x8c\x21\xaf\x66\x63\x90\x66\xda\xeb\xbc\x34\x55\x6f\x4b\x38\xe2\x7c\x8f\xef\x17\xd7\x37\xcb\xa3\x28\xa6\x93\x4e\xcc\xdb\x8c\xaf\x78\x4a\x5a\x56\x15\xf6\xf7\x25\x25\xc9\x8d\xea\x98\x9c\x74\x0d\x2f\x76\x8a\x20\x7c\x32\xa9\xd1\xc2\x17\xa9\xfd\x43\xf8\x3d\x93\x39\xec\x74\x77\xfc\xf8\xe7\xbf\xf6\x41\x39\x96\xd3\x1e\xf5\x97\xac\x6a\x09\x7d\x8a\x47\x00\xc3\x4b\xa6\x59\x8e\xe2\x6c\x3b\x0c\x08\xbe\x98\x7b\x53\x1a\x27\xd7\xf1\xed\x00\x0c\x17\x16\x99\xdb\x1d\xdf\x6a\xaa\x90\xcb\x4c\xa2\x08\xe7\x7f\x74\x5d\xb8\x8e\x5f\x4c\x81\x40\xc7\xa4\xa2\xc0\x82\x8e\x85\xde\x10\xe6\x14\xb0\x48\xc6\x5b\x8e\xd4\x74\x50\x1e\xdd\xf2\x81\x14\x8c\x6e\xc3\x27\x2a\xd2\x7b\xdc\xfe\x40\x10\x97\xcb\x5f\xa0\xf2\x2b\x25\x39\x04\x05\xf1\x95\x7b\x42\x0b\xaf\x03\xd7\xbc\x3e\xc8\x1d\x23\x42\x97\x0a\x69\x6b\x43\x07\xba\x6e\x98\x2b\x82\x07\x0c\x84\xb4\xc8\x5d\xa0\xe4\x4d\x81\x16\x21\x47\x1d\xa8\x0c\x05\x44\x0d\xd4\x6a\x18\x95\x62\x1c\x45\xa0\xb6\x98\x42\x0a\xb3\x83\x45\x17\xfa\xf4\x91\xd7\xb1\x87\x48\xa3\xdb\x18\x7b\x9f\x96\xce\xf7\x62\x5a\x5c\x5d\x80\xd4\x0e\x6d\xc6\x38\xc2\xe5\xb7\xdb\x04\x6e\x09\xe1\xc3\xc7\x0f\x53\x90\xa1\x7f\x04\x7a\x7d\x6a\x3a\xc1\x60\xd3\x7a\xfe\xee\xcb\x95\x81\xcc\xb2\x12\x29\xe9\x82\x39\x36\x94\xbc\xfd\x30\xd9\x47\x58\x18\x72\x29\x97\xa2\x3f\x66\x8b\x8b\xf3\xaf\x70\x71\xb3\x7e\x0b\x96\xe9\x1c\x63\xf8\x88\x64\xae\xc3\x57\xe8\x42\x61\x1c\xa0\xa3\xb1\xe8\x30\xc5\x74\x92\xc4\xff\x7f\x99\xbe\x3b\xc8\x5d\x65\xc4\x8f\xc0\xf8\xd5\xaf\xd0\x6a\x74\x48\x50\x19\xf1\x32\x24\xb3\x7e\x24\xa1\x23\x4b\x8e\x47\xd1\xfc\xf4\xd3\xe7\xeb\xf3\xc1\xb3\x20\x35\xaa\x28\x19\x7c\x2b\x10\xa6\xe4\xe0\xe2\x06\x36\x52\xa9\x50\x5a\x16\x63\xef\x17\xb1\xa8\xc3\x38\x90\xee\xc6\x81\x71\xa4\xab\xe9\xc4\x15\x47\x05\x42\xfd\x0b\x4d\xc9\x20\x80\x19\xb4\xdc\xee\x71\xb9\x76\xf7\xb4\xdf\xdd\xc7\xdd\x46\x98\x92\x49\x9d\x92\xcf\x32\xf9\xd0\x9b\x85\x7f\x78\xb4\x12\xeb\x47\x58\xdf\x6e\x6a\x31\xce\xd4\x51\x6e\x87\x95\x69\xda\xa0\x45\x01\xab\xed\x0e\x2a\x9c\x37\x78\x24\x3d\xae\x44\x89\x32\x9c\xa9\x86\x8d\x33\x63\x92\x06\x72\x42\x6b\x9e\xec\xdd\x39\x81\xe7\xe7\x76\x4f\xf0\x70\xe1\xd0\xe1\x67\x6a\xe3\xba\x21\x75\xfe\x3f\x17\x8e\xfd\xa1\x2b\x4a\x86\x99\x2e\xc7\xd0\xce\x99\x66\x6a\xeb\x24\x0f\x83\x62\xa3\x2c\x8e\x89\x15\x39\x8b\xac\x24\x18\x2d\x98\x92\xdc\x9c\x74\xf9\xbd\x5e\x5e\xfa\x70\xb1\x3c\xb7\x98\x47\x06\xed\xcd\x41\x03\x22\x44\xbc\x55\x67\xf3\x27\x29\xf8\xc2\xb6\x68\x61\xd4\x18\xac\x39\xdb\x7a\xec\x21\xac\xde\xbd\x2a\xdc\xed\x34\xe2\x08\x8d\x50\x65\x69\xa0\x0b\x14\x69\x28\x57\x85\xae\x17\xe2\x79\x7d\xbf\xd9\xb4\x54\x06\xb5\x0c\x34\x32\x35\x9d\x29\x55\xd7\x46\x63\xfc\x08\xb8\xd8\x56\x16\x68\x9d\xcc\x24\x67\xee\x60\x37\x43\xeb\x28\x5d\x33\x25\x85\x74\xdb\xb4\x42\x2b\x8d\x48\x0b\xe3\x2d\xf5\xe2\xfa\xad\xb9\x19\xa6\x81\xb0\x15\x04\x7c\xbc\xa5\x3b\xcc\x43\xb5\xf4\x73\xd9\xf4\xc3\xfb\x77\x07\x6c\xba\xff\x8c\x53\x7c\x70\x96\xa5\x99\xda\xb5\xef\xce\xb6\xea\x2c\x83\x78\x0e\x55\xe8\x3d\x71\xd1\x08\x41\x7b\xd3\x0a\x5a\x6b\x4d\xe8\x42\xeb\xf4\xcf\xce\x1c\xf1\xdf\x00\x00\x00\xff\xff\x2f\xac\x28\x7b\xc7\x10\x00\x00"), + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x57\xdf\x6f\xdb\x38\x12\x7e\xf7\x5f\x31\x70\x1f\xea\x00\xae\xce\x4e\x7a\xfd\x01\x6c\x1f\x1c\xa7\xb7\x9b\xdb\xa6\xc9\xd5\xed\x16\xd8\xc3\x41\xa0\xc5\x91\x44\x84\x22\x75\x1c\xd2\x89\x7b\xd8\xff\xfd\x30\x94\xe2\xc8\x96\x7c\xd7\x6c\x77\x1f\xea\x56\x9c\x6f\xbe\xf9\xc1\x6f\x86\x1b\xe1\x94\x58\x6b\x84\x71\xa6\x03\x79\x74\xa9\x11\x15\x8e\xe1\x3f\x23\x00\xbf\xad\x11\xda\xff\xde\x01\x79\xa7\x4c\x31\x02\x90\x48\x99\x53\xb5\x57\xd6\xc0\x3b\x18\x7f\x31\xea\xdf\x01\xa1\x35\x07\x36\x87\x49\xed\xb0\x46\x23\x51\x82\xb7\x20\x0d\xa5\xdf\xac\xc1\x93\xf1\xe8\x8f\xd1\xe8\x19\x2c\xbe\xae\x46\xa3\x47\xc7\x0f\x9f\x9f\xe2\x74\xf1\x75\x05\x9f\x6c\xf0\xf8\xd7\x33\xb8\xf8\xb8\x82\xdf\xad\x41\x98\x60\x52\x24\x20\xee\x28\xc1\x7b\x51\xd5\x1a\x93\xcc\x56\x8d\xd3\xbe\xb7\x54\xc9\x1f\x76\x78\x79\xd1\xfa\xfc\xfd\xec\x66\xb1\x38\x3f\x5f\xfe\x6d\xf1\xeb\xfb\xe5\xec\xd0\x25\xde\xd7\x96\x30\x35\x56\x62\x6d\x9d\xa7\x21\xbf\x6b\x6b\x75\xf4\x9a\x8b\xa0\x7d\xfb\x8f\xb9\xd0\x84\x7d\x2e\xef\x23\x1e\x30\x1e\x44\x40\x38\x9b\xcd\x66\xb3\x17\x67\xa7\xaf\x5f\xbd\x06\x65\xc0\x97\x08\x84\x59\x70\xca\x6f\xa1\x70\x36\xd4\x6d\xe6\x95\x21\x2f\x4c\x86\xd4\xa5\x97\x59\xe3\x9d\xd5\x1a\x5d\x9a\xd9\x60\xfc\x10\x3d\x13\xaa\x35\xba\x1e\xc1\x79\x9f\xdc\xc7\x78\x12\x6c\x0e\x8f\xb8\x04\x13\x95\x60\x02\x95\xe0\x16\xa1\xc3\xfc\x74\x08\xb0\xd7\x8e\xff\x4e\x3d\x9e\xc1\xd7\x12\x0d\x48\xab\x4c\x11\x03\x0c\x75\xe1\x84\x44\xea\xb8\xaa\xb5\x30\x08\xd6\x80\x3f\x4b\xa8\x12\x5a\xef\x02\x6e\xe0\xee\x4a\x34\x11\xaa\x14\x1b\x86\xe1\x1a\x92\x32\x85\xc6\x7d\x04\xce\xec\xf4\x11\xa4\x14\x04\xc6\x7a\x40\x63\x43\x51\x42\x85\x95\x75\x5b\x98\x9c\xfe\x7c\x7e\x12\xd1\xbc\x05\x17\x0c\x54\xd6\x21\xf8\x52\x98\x88\xbb\xf3\x6c\x73\xb8\x0d\x6b\x7c\x21\x6a\x45\xe8\x36\xe8\xb8\x42\xb5\x70\x42\x6b\xd4\x53\x20\x0b\x77\x08\x06\x9b\xab\x12\x62\xbd\x9f\x81\x80\xb5\x2a\x8a\x78\xb6\x81\x49\xe0\xab\xf2\x25\xfc\xb2\xd8\x63\xda\x21\x49\xa5\x0d\x5a\xc2\x1a\x21\x57\xf1\x43\x19\xc9\xe6\xd6\x45\xc0\xda\x59\x19\xb2\x58\x24\x42\x1f\x6a\x9a\x82\xf2\xcf\x09\x1c\x66\xb6\xaa\x76\x57\x35\xd0\x23\x73\x82\x3b\x76\x19\xc3\xfa\xb4\xb8\x9a\x82\xb7\x11\xaa\x50\x1b\x84\x5a\xa3\xf1\x5b\x0e\x2e\x50\xac\x62\x9b\x95\xdc\x3a\x40\x9f\x49\x10\x46\x1e\xc4\x9d\xf4\xda\x67\xec\xcf\x92\x0a\xa5\x0a\xd5\x78\xa0\xcb\x97\xa7\x07\xe5\x63\xec\x4e\x53\x1d\x74\x91\xa5\xef\x91\xae\x3d\xf7\xb9\x16\x3e\x13\x6e\xc0\xf9\x47\x56\x31\x9b\xc3\x75\x8d\x4e\x78\xee\x95\xd5\x96\x3c\x56\x30\xc9\xac\x43\x4b\x60\x1d\xb4\xd6\x87\xdd\x6c\x29\xcd\x4a\x61\x0c\xea\xa7\x50\x21\xcf\xd6\x03\x4c\x16\x57\x97\xd0\xe2\xc5\x04\x70\xeb\x5f\xaf\x60\xd2\x18\x4c\x61\x8d\x5e\x4c\x41\xe8\xba\x14\x53\x40\x59\xe0\x00\x9f\x0d\x3a\x52\xd6\x3c\x85\x4f\x16\x9c\x43\xe3\x07\x08\xfd\xd6\x80\x71\x76\x1e\xb8\xb4\x87\x39\x29\x26\x54\xe8\x54\x06\xad\x4b\xa0\x90\x95\x20\x08\x4e\x4f\x5f\xcd\x93\xb7\x6f\x93\x9e\x38\x4a\x45\xb7\x29\xa9\x6f\x83\x85\x3b\x22\x3b\x2f\x67\x7d\x5a\x2b\xf5\x0d\x1f\x38\xbd\x3f\x5f\xc1\xc6\xea\x50\x71\x33\xc3\xcf\xe7\x43\x2e\x0f\x94\xe6\xff\x26\xa4\xa8\x4f\x07\x92\xf1\x99\x6d\xfb\x5e\x9b\xa9\xc0\xbd\x2b\x85\x93\x53\x28\xea\xd3\x29\x28\x3b\x1f\x0c\x5e\xd9\x7a\x70\x24\x1c\x09\x7e\x20\xf6\xcb\xeb\x9b\xd5\x51\x16\xf3\x59\x2f\xe7\x5d\xc5\xd7\x59\x4a\x46\xd5\x35\x0e\xcf\x25\xad\xc8\x4f\x9a\x9c\x9c\xf4\x1d\x2f\x77\x40\xc0\x3f\x85\x32\xe8\xe0\x83\x32\xe1\x9e\xff\x9e\xab\x02\x76\xd8\xbd\x38\xfe\xf9\xaf\x7d\x52\x5e\x14\xb4\x27\xfd\x95\xa8\x3b\x46\xef\xe2\x27\x80\xf1\x95\x30\xa2\x40\x79\xbe\x1d\x33\x83\x0f\xf6\xd6\x56\xd6\xab\x4d\xbc\x3b\x00\xe3\xa5\x43\xe1\x77\x9f\xbf\x18\xaa\x31\x53\xb9\x42\xc9\xdf\xff\xe8\x87\x70\x1d\x7f\x09\x0d\x12\xbd\x50\x9a\x58\x05\xbd\xe0\xd9\xc0\x7b\x0a\x38\x24\x1b\x5c\x86\x87\x6a\x83\x86\xff\x4c\x33\x52\x3f\x3a\xcd\x57\xe8\x21\xd4\x70\xb9\xb8\x02\x67\x75\x33\x0a\x50\xc6\xbb\x2e\xb7\x46\x54\x7c\x99\x62\x3d\x89\x45\x7c\xa3\xf8\x5a\xc5\x19\x68\xe1\xce\xba\xdb\x96\x68\x3b\xe0\xb3\x98\xf5\xc0\x9a\x65\x4d\x97\x2f\x51\x99\xde\xe2\xf6\x4f\xd4\x78\xb5\xfa\x05\xea\xb0\xd6\x2a\x03\x06\x88\xc4\x02\xa1\x83\xe7\x2c\x85\xcf\x0f\xf2\x22\x88\xd0\xa7\x52\xb9\xc6\xd1\x01\xd6\x8d\xf0\x25\x13\x17\x20\x95\xc3\xcc\xf3\xc4\xb8\x2b\xd1\x21\x14\x68\x58\x69\x51\x42\x44\xa0\xce\x3c\xab\xb5\xc8\x50\xb2\xf2\xc6\x0e\x23\x5e\x6d\x1c\x7a\x5e\x23\x8e\x5c\xde\x3d\x46\x06\x3d\xe7\x29\xad\x7c\x18\xe4\xb4\xfc\x78\x09\xca\x78\x74\xb9\xc8\x10\xae\x3e\x7f\x49\xe0\x0b\x21\xbc\x79\xfb\x66\x0e\x8a\xc7\x1b\x27\xfb\x71\x26\xb2\xc3\x76\x32\xfe\x3d\x54\x6b\x0b\xb9\x13\x15\x52\xd2\x27\x73\x6c\x67\x7a\xf9\x66\xb6\xcf\xb0\xb4\xe4\xd3\x4c\xc9\xe1\x9c\x2d\x2f\x2f\x3e\xc1\xe5\xcd\xe6\x25\x38\x61\x0a\x8c\xe9\x23\x52\x85\xe1\x5f\x3c\x24\x79\x5b\xa1\xa3\xb9\xe8\x09\xd9\x7c\x96\xc4\xff\xff\x32\x7f\x75\x50\xbb\xda\xca\x3f\x43\xe3\xd7\xb0\x46\x67\xd0\x73\x83\x5a\xf9\x34\x26\xa7\xc3\x4c\x78\x61\x50\x19\x1e\x65\xf3\xd3\x4f\xef\xaf\x2f\x46\xdf\x45\xa9\x85\xa2\x64\xf4\xb9\x44\x98\x93\x87\xcb\x1b\xb8\x53\x5a\x73\x6b\x39\x8c\xab\x49\x73\xdb\x78\x5b\x49\x77\xdb\xca\x34\xaa\xe9\x7c\xe6\xcb\xa3\x06\xdc\xff\xd2\x50\x32\x62\x32\xa3\x4e\xd8\x03\x21\x37\xe1\x9e\x0d\x87\xfb\xf0\xf4\x92\xb6\x12\xca\xa4\x14\xf2\x5c\xdd\x0f\x56\xe1\x1f\x01\x9d\xc2\xe6\x12\x36\xa7\xdb\x5e\x8c\x2b\x7f\xb4\xdb\x71\x15\x86\xee\xd0\xa1\x84\xf5\x76\x47\x15\x2e\x5a\x3e\x8a\x1e\x5e\x6c\x89\xb6\x99\xd0\xed\xb0\xc8\xad\x4d\x5a\xca\x09\x6d\xb2\x64\xef\xcc\x09\x7c\x7f\x6d\xf7\x0c\x87\xb5\xd3\xc5\xd7\x90\x32\xc5\xff\x54\xd0\xfd\x9d\x30\x5a\xf2\xca\x59\x20\x6f\x1b\xc2\x08\xbd\xf5\x2a\xe3\x3d\xb6\x05\x8b\x5b\x6c\x4d\xde\xa1\xa8\x08\x26\x4b\xa1\x55\x66\x4f\xfa\xe3\xa7\x51\xe3\x21\x5e\xa2\x28\x1c\x16\x51\x41\x07\x6b\xd0\x92\xe0\x8c\x77\xfa\x6c\xf1\x68\x05\x1f\xc4\x16\x1d\x4c\x5a\x87\xcd\x48\x71\x01\x07\x04\x6b\x70\x50\xf0\xd9\xde\x9e\x10\xa9\x11\xea\x3c\x65\xb9\x40\x99\x72\xbb\x6a\xf4\x83\x14\x2f\x9a\xf3\xed\x43\x50\xe7\xd0\xd8\x40\x6b\xd3\xc8\x99\xd6\x4d\x6f\xb4\xce\x8f\x90\x8b\x63\x65\x89\xce\xab\x5c\x65\xc2\x1f\x3c\x1d\xd1\x79\x4a\x37\x42\x2b\xa9\xfc\x36\xad\xd1\x29\x2b\xd3\xd2\x06\x47\x83\xbc\x7e\x6b\x4f\xf2\xb2\xc2\x8f\x16\xe6\x97\x75\xb0\x79\x5d\x6b\xac\xbf\x57\x4d\xdf\xbc\x7e\x75\xa0\xa6\xfb\xd7\x38\xc5\x7b\xef\x44\x9a\xeb\xdd\x76\xd1\x7b\x4c\x7b\x27\x20\x7e\x87\x9a\x67\x4f\x7c\x07\x71\xd2\x5e\x74\x92\xd6\x79\xc5\xf4\xa9\xf5\xe6\x67\x6f\xcd\xf9\x6f\x00\x00\x00\xff\xff\x4c\x4e\x63\x14\x66\x11\x00\x00"), }, "/lokomotive-kubernetes/aws/flatcar-linux/kubernetes/workers": &vfsgen۰DirInfo{ name: "workers", diff --git a/pkg/platform/aws/aws.go b/pkg/platform/aws/aws.go index 4ee47a497..a450b802d 100644 --- a/pkg/platform/aws/aws.go +++ b/pkg/platform/aws/aws.go @@ -74,6 +74,7 @@ type config struct { HostCIDR string `hcl:"host_cidr,optional"` PodCIDR string `hcl:"pod_cidr,optional"` ServiceCIDR string `hcl:"service_cidr,optional"` + EnableCSI bool `hcl:"enable_csi,optional"` ClusterDomainSuffix string `hcl:"cluster_domain_suffix,optional"` EnableReporting bool `hcl:"enable_reporting,optional"` CertsValidityPeriodHours int `hcl:"certs_validity_period_hours,optional"` diff --git a/pkg/platform/aws/template.go b/pkg/platform/aws/template.go index 828c2da4d..2e59d25d2 100644 --- a/pkg/platform/aws/template.go +++ b/pkg/platform/aws/template.go @@ -30,6 +30,7 @@ module "aws-{{.Config.ClusterName}}" { tags = {{.Tags}} dns_zone = "{{.Config.DNSZone}}" dns_zone_id = "{{.Config.DNSZoneID}}" + enable_csi = {{.Config.EnableCSI}} {{- if .Config.ClusterDomainSuffix }} cluster_domain_suffix = "{{.Config.ClusterDomainSuffix}}" {{- end }} From 7284bfafd2b30cdc70535dfd5810d0585bdfbf21 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Tue, 26 May 2020 10:25:26 -0700 Subject: [PATCH 2/2] components: Create component for aws-ebs-csi-driver Creates a simple component for aws-ebs-csi-driver, which is required for dynamic volume provisioning to work on AWS. Related to #379 --- .../components/aws-ebs-csi-driver/.helmignore | 22 ++ .../aws-ebs-csi-driver/manifests/Chart.yaml | 16 ++ .../manifests/templates/NOTES.txt | 3 + .../manifests/templates/_helpers.tpl | 69 ++++++ .../templates/clusterrole-attacher.yaml | 20 ++ .../templates/clusterrole-provisioner.yaml | 35 +++ .../templates/clusterrole-resizer.yaml | 31 +++ .../clusterrole-snapshot-controller.yaml | 35 +++ .../templates/clusterrole-snapshotter.yaml | 25 ++ .../clusterrolebinding-attacher.yaml | 15 ++ .../clusterrolebinding-provisioner.yaml | 15 ++ .../templates/clusterrolebinding-resizer.yaml | 18 ++ ...lusterrolebinding-snapshot-controller.yaml | 18 ++ .../clusterrolebinding-snapshotter.yaml | 18 ++ .../manifests/templates/controller.yaml | 158 +++++++++++++ .../manifests/templates/csidriver.yaml | 9 + .../manifests/templates/node.yaml | 118 ++++++++++ ...le-snapshot-controller-leaderelection.yaml | 15 ++ ...ng-snapshot-controller-leaderelection.yaml | 19 ++ .../serviceaccount-csi-controller.yaml | 15 ++ .../serviceaccount-snapshot-controller.yaml | 13 ++ .../manifests/templates/statefulset.yaml | 30 +++ .../manifests/templates/storageclass.yaml | 10 + .../aws-ebs-csi-driver/manifests/values.yaml | 89 ++++++++ ci/aws/aws-cluster.lokocfg.envsubst | 3 + cli/cmd/component.go | 1 + .../components/aws-ebs-csi-driver.md | 67 ++++++ pkg/assets/generated_assets.go | 213 ++++++++++++++++++ .../aws-ebs-csi-driver/component.go | 81 +++++++ .../aws-ebs-csi-driver/component_test.go | 139 ++++++++++++ pkg/components/aws-ebs-csi-driver/doc.go | 16 ++ .../aws-ebs-csi-driver_test.go | 49 ++++ 32 files changed, 1385 insertions(+) create mode 100644 assets/components/aws-ebs-csi-driver/.helmignore create mode 100644 assets/components/aws-ebs-csi-driver/manifests/Chart.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/NOTES.txt create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/_helpers.tpl create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-attacher.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-provisioner.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-resizer.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshot-controller.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshotter.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-attacher.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-provisioner.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-resizer.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshot-controller.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshotter.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/controller.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/csidriver.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/node.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/role-snapshot-controller-leaderelection.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/rolebinding-snapshot-controller-leaderelection.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-csi-controller.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-snapshot-controller.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/statefulset.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/templates/storageclass.yaml create mode 100644 assets/components/aws-ebs-csi-driver/manifests/values.yaml create mode 100644 docs/configuration-reference/components/aws-ebs-csi-driver.md create mode 100644 pkg/components/aws-ebs-csi-driver/component.go create mode 100644 pkg/components/aws-ebs-csi-driver/component_test.go create mode 100644 pkg/components/aws-ebs-csi-driver/doc.go create mode 100644 test/components/aws-ebs-csi-driver/aws-ebs-csi-driver_test.go diff --git a/assets/components/aws-ebs-csi-driver/.helmignore b/assets/components/aws-ebs-csi-driver/.helmignore new file mode 100644 index 000000000..50af03172 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/.helmignore @@ -0,0 +1,22 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/assets/components/aws-ebs-csi-driver/manifests/Chart.yaml b/assets/components/aws-ebs-csi-driver/manifests/Chart.yaml new file mode 100644 index 000000000..dad30d53f --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/Chart.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +appVersion: "0.5.0" +name: aws-ebs-csi-driver +description: A Helm chart for AWS EBS CSI Driver +version: 0.4.0 +kubeVersion: ">=1.13.0-0" +home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver +sources: + - https://github.com/kubernetes-sigs/aws-ebs-csi-driver +keywords: + - aws + - ebs + - csi +maintainers: + - name: leakingtapan + email: chengpan@amazon.com diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/NOTES.txt b/assets/components/aws-ebs-csi-driver/manifests/templates/NOTES.txt new file mode 100644 index 000000000..34db916b5 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/NOTES.txt @@ -0,0 +1,3 @@ +To verify that aws-ebs-csi-driver has started, run: + + kubectl get pod -n kube-system -l "app.kubernetes.io/name={{ include "aws-ebs-csi-driver.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/_helpers.tpl b/assets/components/aws-ebs-csi-driver/manifests/templates/_helpers.tpl new file mode 100644 index 000000000..fdc77c4ec --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/_helpers.tpl @@ -0,0 +1,69 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "aws-ebs-csi-driver.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "aws-ebs-csi-driver.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "aws-ebs-csi-driver.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Common labels +*/}} +{{- define "aws-ebs-csi-driver.labels" -}} +{{ include "aws-ebs-csi-driver.selectorLabels" . }} +{{- if ne .Release.Name "kustomize" }} +helm.sh/chart: {{ include "aws-ebs-csi-driver.chart" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} +{{- end -}} + +{{/* +Common selector labels +*/}} +{{- define "aws-ebs-csi-driver.selectorLabels" -}} +app.kubernetes.io/name: {{ include "aws-ebs-csi-driver.name" . }} +{{- if ne .Release.Name "kustomize" }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} +{{- end -}} + +{{/* +Convert the `--extra-volume-tags` command line arg from a map. +*/}} +{{- define "aws-ebs-csi-driver.extra-volume-tags" -}} +{{- $result := dict "pairs" (list) -}} +{{- range $key, $value := .Values.extraVolumeTags -}} +{{- $noop := printf "%s=%s" $key $value | append $result.pairs | set $result "pairs" -}} +{{- end -}} +{{- if gt (len $result.pairs) 0 -}} +{{- printf "%s=%s" "- --extra-volume-tags" (join "," $result.pairs) -}} +{{- end -}} +{{- end -}} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-attacher.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-attacher.yaml new file mode 100644 index 000000000..0b9672479 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-attacher.yaml @@ -0,0 +1,20 @@ +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-external-attacher-role + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +rules: + - apiGroups: [""] + resources: ["persistentvolumes"] + verbs: ["get", "list", "watch", "update"] + - apiGroups: [""] + resources: ["nodes"] + verbs: ["get", "list", "watch"] + - apiGroups: ["csi.storage.k8s.io"] + resources: ["csinodeinfos"] + verbs: ["get", "list", "watch"] + - apiGroups: ["storage.k8s.io"] + resources: ["volumeattachments"] + verbs: ["get", "list", "watch", "update"] diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-provisioner.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-provisioner.yaml new file mode 100644 index 000000000..84f122a03 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-provisioner.yaml @@ -0,0 +1,35 @@ +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-external-provisioner-role + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +rules: + - apiGroups: [""] + resources: ["persistentvolumes"] + verbs: ["get", "list", "watch", "create", "delete"] + - apiGroups: [""] + resources: ["persistentvolumeclaims"] + verbs: ["get", "list", "watch", "update"] + - apiGroups: ["storage.k8s.io"] + resources: ["storageclasses"] + verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["events"] + verbs: ["list", "watch", "create", "update", "patch"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshots"] + verbs: ["get", "list"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshotcontents"] + verbs: ["get", "list"] + - apiGroups: ["storage.k8s.io"] + resources: ["csinodes"] + verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["nodes"] + verbs: ["get", "list", "watch"] + - apiGroups: ["coordination.k8s.io"] + resources: ["leases"] + verbs: ["get", "watch", "list", "delete", "update", "create"] diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-resizer.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-resizer.yaml new file mode 100644 index 000000000..5f0c758c5 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-resizer.yaml @@ -0,0 +1,31 @@ +{{- if .Values.enableVolumeResizing }} +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-external-resizer-role + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +rules: + # The following rule should be uncommented for plugins that require secrets + # for provisioning. + # - apiGroups: [""] + # resources: ["secrets"] + # verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["persistentvolumes"] + verbs: ["get", "list", "watch", "update", "patch"] + - apiGroups: [""] + resources: ["persistentvolumeclaims"] + verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["persistentvolumeclaims/status"] + verbs: ["update", "patch"] + - apiGroups: ["storage.k8s.io"] + resources: ["storageclasses"] + verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["events"] + verbs: ["list", "watch", "create", "update", "patch"] + +{{- end}} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshot-controller.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshot-controller.yaml new file mode 100644 index 000000000..ffdb1b7d5 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshot-controller.yaml @@ -0,0 +1,35 @@ +{{- if .Values.enableVolumeSnapshot }} +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-snapshot-controller-role + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +rules: + - apiGroups: [""] + resources: ["persistentvolumes"] + verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["persistentvolumeclaims"] + verbs: ["get", "list", "watch", "update"] + - apiGroups: ["storage.k8s.io"] + resources: ["storageclasses"] + verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["events"] + verbs: ["list", "watch", "create", "update", "patch"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshotclasses"] + verbs: ["get", "list", "watch"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshotcontents"] + verbs: ["create", "get", "list", "watch", "update", "delete"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshots"] + verbs: ["get", "list", "watch", "update"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshots/status"] + verbs: ["update"] + +{{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshotter.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshotter.yaml new file mode 100644 index 000000000..061b56582 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshotter.yaml @@ -0,0 +1,25 @@ +{{- if .Values.enableVolumeSnapshot }} +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-external-snapshotter-role + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +rules: + - apiGroups: [""] + resources: ["events"] + verbs: ["list", "watch", "create", "update", "patch"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get", "list"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshotclasses"] + verbs: ["get", "list", "watch"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshotcontents"] + verbs: ["create", "get", "list", "watch", "update", "delete"] + - apiGroups: ["snapshot.storage.k8s.io"] + resources: ["volumesnapshotcontents/status"] + verbs: ["update"] +{{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-attacher.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-attacher.yaml new file mode 100644 index 000000000..1888a9b8b --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-attacher.yaml @@ -0,0 +1,15 @@ +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-csi-attacher-binding + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +subjects: + - kind: ServiceAccount + name: ebs-csi-controller-sa + namespace: kube-system +roleRef: + kind: ClusterRole + name: ebs-external-attacher-role + apiGroup: rbac.authorization.k8s.io diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-provisioner.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-provisioner.yaml new file mode 100644 index 000000000..0fd549909 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-provisioner.yaml @@ -0,0 +1,15 @@ +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-csi-provisioner-binding + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +subjects: + - kind: ServiceAccount + name: ebs-csi-controller-sa + namespace: kube-system +roleRef: + kind: ClusterRole + name: ebs-external-provisioner-role + apiGroup: rbac.authorization.k8s.io diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-resizer.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-resizer.yaml new file mode 100644 index 000000000..b23063aa1 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-resizer.yaml @@ -0,0 +1,18 @@ +{{- if .Values.enableVolumeResizing }} +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-csi-resizer-binding + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +subjects: + - kind: ServiceAccount + name: ebs-csi-controller-sa + namespace: kube-system +roleRef: + kind: ClusterRole + name: ebs-external-resizer-role + apiGroup: rbac.authorization.k8s.io + +{{- end}} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshot-controller.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshot-controller.yaml new file mode 100644 index 000000000..df4937a6c --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshot-controller.yaml @@ -0,0 +1,18 @@ +{{- if .Values.enableVolumeSnapshot }} +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-csi-snapshot-controller-binding + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +subjects: + - kind: ServiceAccount + name: ebs-snapshot-controller + namespace: kube-system +roleRef: + kind: ClusterRole + name: ebs-snapshot-controller-role + apiGroup: rbac.authorization.k8s.io + +{{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshotter.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshotter.yaml new file mode 100644 index 000000000..6ebb1d91d --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshotter.yaml @@ -0,0 +1,18 @@ +{{- if .Values.enableVolumeSnapshot }} +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-csi-snapshotter-binding + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +subjects: + - kind: ServiceAccount + name: ebs-csi-controller-sa + namespace: kube-system +roleRef: + kind: ClusterRole + name: ebs-external-snapshotter-role + apiGroup: rbac.authorization.k8s.io + +{{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/controller.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/controller.yaml new file mode 100644 index 000000000..1e7b68dc7 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/controller.yaml @@ -0,0 +1,158 @@ +# Controller Service +kind: Deployment +apiVersion: apps/v1 +metadata: + name: ebs-csi-controller + namespace: kube-system + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: ebs-csi-controller + {{- include "aws-ebs-csi-driver.selectorLabels" . | nindent 6 }} + template: + metadata: + labels: + app: ebs-csi-controller + {{- include "aws-ebs-csi-driver.labels" . | nindent 8 }} + {{- if .Values.podAnnotations }} + annotations: {{ toYaml .Values.podAnnotations | nindent 8 }} + {{- end }} + spec: + nodeSelector: + kubernetes.io/os: linux + kubernetes.io/arch: amd64 + {{- with .Values.nodeSelector }} +{{ toYaml . | indent 8 }} + {{- end }} + serviceAccountName: ebs-csi-controller-sa + priorityClassName: system-cluster-critical + {{- with .Values.affinity }} + affinity: {{ toYaml . | nindent 8 }} + {{- end }} + tolerations: + - operator: Exists + {{- with .Values.tolerations }} +{{ toYaml . | indent 8 }} + {{- end }} + containers: + - name: ebs-plugin + image: {{ .Values.image.repository }}:{{ .Values.image.tag }} + imagePullPolicy: {{ .Values.image.pullPolicy }} + args: + {{- if ne .Release.Name "kustomize" }} + - controller + {{ else }} + # - {all,controller,node} # specify the driver mode + {{- end }} + - --endpoint=$(CSI_ENDPOINT) + {{- if .Values.extraVolumeTags }} + {{- include "aws-ebs-csi-driver.extra-volume-tags" . | nindent 12 }} + {{- end }} + - --logtostderr + - --v=5 + env: + - name: CSI_ENDPOINT + value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock + - name: AWS_ACCESS_KEY_ID + valueFrom: + secretKeyRef: + name: aws-secret + key: key_id + optional: true + - name: AWS_SECRET_ACCESS_KEY + valueFrom: + secretKeyRef: + name: aws-secret + key: access_key + optional: true + {{- if .Values.region }} + - name: AWS_REGION + value: {{ .Values.region }} + {{- end }} + volumeMounts: + - name: socket-dir + mountPath: /var/lib/csi/sockets/pluginproxy/ + ports: + - name: healthz + containerPort: 9808 + protocol: TCP + livenessProbe: + httpGet: + path: /healthz + port: healthz + initialDelaySeconds: 10 + timeoutSeconds: 3 + periodSeconds: 10 + failureThreshold: 5 + {{- with .Values.resources }} + resources: {{ toYaml . | nindent 12 }} + {{- end }} + - name: csi-provisioner + image: {{ printf "%s:%s" .Values.sidecars.provisionerImage.repository .Values.sidecars.provisionerImage.tag }} + args: + - --csi-address=$(ADDRESS) + - --v=5 + {{- if .Values.enableVolumeScheduling }} + - --feature-gates=Topology=true + {{- end}} + - --enable-leader-election + - --leader-election-type=leases + env: + - name: ADDRESS + value: /var/lib/csi/sockets/pluginproxy/csi.sock + volumeMounts: + - name: socket-dir + mountPath: /var/lib/csi/sockets/pluginproxy/ + - name: csi-attacher + image: {{ printf "%s:%s" .Values.sidecars.attacherImage.repository .Values.sidecars.attacherImage.tag }} + args: + - --csi-address=$(ADDRESS) + - --v=5 + - --leader-election=true + - --leader-election-type=leases + env: + - name: ADDRESS + value: /var/lib/csi/sockets/pluginproxy/csi.sock + volumeMounts: + - name: socket-dir + mountPath: /var/lib/csi/sockets/pluginproxy/ + {{- if .Values.enableVolumeSnapshot }} + - name: csi-snapshotter + image: {{ printf "%s:%s" .Values.sidecars.snapshotterImage.repository .Values.sidecars.snapshotterImage.tag }} + args: + - --csi-address=$(ADDRESS) + - --leader-election=true + env: + - name: ADDRESS + value: /var/lib/csi/sockets/pluginproxy/csi.sock + volumeMounts: + - name: socket-dir + mountPath: /var/lib/csi/sockets/pluginproxy/ + {{- end }} + {{- if .Values.enableVolumeResizing }} + - name: csi-resizer + image: {{ printf "%s:%s" .Values.sidecars.resizerImage.repository .Values.sidecars.resizerImage.tag }} + imagePullPolicy: Always + args: + - --csi-address=$(ADDRESS) + - --v=5 + env: + - name: ADDRESS + value: /var/lib/csi/sockets/pluginproxy/csi.sock + volumeMounts: + - name: socket-dir + mountPath: /var/lib/csi/sockets/pluginproxy/ + {{- end }} + - name: liveness-probe + image: {{ printf "%s:%s" .Values.sidecars.livenessProbeImage.repository .Values.sidecars.livenessProbeImage.tag }} + args: + - --csi-address=/csi/csi.sock + volumeMounts: + - name: socket-dir + mountPath: /csi + volumes: + - name: socket-dir + emptyDir: {} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/csidriver.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/csidriver.yaml new file mode 100644 index 000000000..1858e39c3 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/csidriver.yaml @@ -0,0 +1,9 @@ +apiVersion: storage.k8s.io/v1beta1 +kind: CSIDriver +metadata: + name: ebs.csi.aws.com + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +spec: + attachRequired: true + podInfoOnMount: false diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/node.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/node.yaml new file mode 100644 index 000000000..8eea8a0f1 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/node.yaml @@ -0,0 +1,118 @@ +# Node Service +kind: DaemonSet +apiVersion: apps/v1 +metadata: + name: ebs-csi-node + namespace: kube-system + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + app: ebs-csi-node + {{- include "aws-ebs-csi-driver.selectorLabels" . | nindent 6 }} + template: + metadata: + labels: + app: ebs-csi-node + {{- include "aws-ebs-csi-driver.labels" . | nindent 8 }} + {{- if .Values.node.podAnnotations }} + annotations: {{ toYaml .Values.node.podAnnotations | nindent 8 }} + {{- end }} + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: eks.amazonaws.com/compute-type + operator: NotIn + values: + - fargate + nodeSelector: + kubernetes.io/os: linux + kubernetes.io/arch: amd64 + hostNetwork: true + priorityClassName: system-node-critical + tolerations: + - operator: Exists + {{- with .Values.node.tolerations }} +{{ toYaml . | indent 8 }} + {{- end }} + containers: + - name: ebs-plugin + securityContext: + privileged: true + image: {{ .Values.image.repository }}:{{ .Values.image.tag }} + args: + - node + - --endpoint=$(CSI_ENDPOINT) + - --logtostderr + - --v=5 + env: + - name: CSI_ENDPOINT + value: unix:/csi/csi.sock + volumeMounts: + - name: kubelet-dir + mountPath: /var/lib/kubelet + mountPropagation: "Bidirectional" + - name: plugin-dir + mountPath: /csi + - name: device-dir + mountPath: /dev + ports: + - name: healthz + containerPort: 9808 + protocol: TCP + livenessProbe: + httpGet: + path: /healthz + port: healthz + initialDelaySeconds: 10 + timeoutSeconds: 3 + periodSeconds: 10 + failureThreshold: 5 + - name: node-driver-registrar + image: {{ printf "%s:%s" .Values.sidecars.nodeDriverRegistrarImage.repository .Values.sidecars.nodeDriverRegistrarImage.tag }} + args: + - --csi-address=$(ADDRESS) + - --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH) + - --v=5 + lifecycle: + preStop: + exec: + command: ["/bin/sh", "-c", "rm -rf /registration/ebs.csi.aws.com-reg.sock /csi/csi.sock"] + env: + - name: ADDRESS + value: /csi/csi.sock + - name: DRIVER_REG_SOCK_PATH + value: /var/lib/kubelet/plugins/ebs.csi.aws.com/csi.sock + volumeMounts: + - name: plugin-dir + mountPath: /csi + - name: registration-dir + mountPath: /registration + - name: liveness-probe + image: {{ printf "%s:%s" .Values.sidecars.livenessProbeImage.repository .Values.sidecars.livenessProbeImage.tag }} + args: + - --csi-address=/csi/csi.sock + volumeMounts: + - name: plugin-dir + mountPath: /csi + volumes: + - name: kubelet-dir + hostPath: + path: /var/lib/kubelet + type: Directory + - name: plugin-dir + hostPath: + path: /var/lib/kubelet/plugins/ebs.csi.aws.com/ + type: DirectoryOrCreate + - name: registration-dir + hostPath: + path: /var/lib/kubelet/plugins_registry/ + type: Directory + - name: device-dir + hostPath: + path: /dev + type: Directory diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/role-snapshot-controller-leaderelection.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/role-snapshot-controller-leaderelection.yaml new file mode 100644 index 000000000..947d241e9 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/role-snapshot-controller-leaderelection.yaml @@ -0,0 +1,15 @@ +{{- if .Values.enableVolumeSnapshot }} +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: ebs-snapshot-controller-leaderelection + namespace: kube-system + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +rules: + - apiGroups: ["coordination.k8s.io"] + resources: ["leases"] + verbs: ["get", "watch", "list", "delete", "update", "create"] + +{{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/rolebinding-snapshot-controller-leaderelection.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/rolebinding-snapshot-controller-leaderelection.yaml new file mode 100644 index 000000000..11d8ed49b --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/rolebinding-snapshot-controller-leaderelection.yaml @@ -0,0 +1,19 @@ +{{- if .Values.enableVolumeSnapshot }} +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: snapshot-controller-leaderelection + namespace: kube-system + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +subjects: + - kind: ServiceAccount + name: ebs-snapshot-controller + namespace: kube-system +roleRef: + kind: Role + name: snapshot-controller-leaderelection + apiGroup: rbac.authorization.k8s.io + +{{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-csi-controller.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-csi-controller.yaml new file mode 100644 index 000000000..9e2cf7cc7 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-csi-controller.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: ebs-csi-controller-sa + namespace: kube-system + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.controller.annotations }} + annotations: {{ toYaml . | nindent 4 }} + {{- end }} + {{- if eq .Release.Name "kustomize" }} + #Enable if EKS IAM for SA is used + #annotations: + # eks.amazonaws.com/role-arn: arn:aws:iam::586565787010:role/ebs-csi-role + {{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-snapshot-controller.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-snapshot-controller.yaml new file mode 100644 index 000000000..baa39c84e --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-snapshot-controller.yaml @@ -0,0 +1,13 @@ +{{- if .Values.enableVolumeSnapshot }} +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: ebs-snapshot-controller + namespace: kube-system + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.snapshot.annotations }} + annotations: {{ toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/statefulset.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/statefulset.yaml new file mode 100644 index 000000000..b82460918 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/statefulset.yaml @@ -0,0 +1,30 @@ +{{- if .Values.enableVolumeSnapshot }} +#Snapshot controller +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: ebs-snapshot-controller + namespace: kube-system + labels: + {{- include "aws-ebs-csi-driver.labels" . | nindent 4 }} +spec: + serviceName: ebs-snapshot-controller + replicas: 1 + selector: + matchLabels: + app: ebs-snapshot-controller + {{- include "aws-ebs-csi-driver.selectorLabels" . | nindent 6 }} + template: + metadata: + labels: + app: ebs-snapshot-controller + {{- include "aws-ebs-csi-driver.labels" . | nindent 8 }} + spec: + serviceAccountName: ebs-snapshot-controller + containers: + - name: snapshot-controller + image: quay.io/k8scsi/snapshot-controller:v2.1.1 + args: + - --v=5 + - --leader-election=false +{{- end }} diff --git a/assets/components/aws-ebs-csi-driver/manifests/templates/storageclass.yaml b/assets/components/aws-ebs-csi-driver/manifests/templates/storageclass.yaml new file mode 100644 index 000000000..d2423296a --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/templates/storageclass.yaml @@ -0,0 +1,10 @@ +kind: StorageClass +apiVersion: storage.k8s.io/v1 +metadata: + name: ebs-sc +{{- if .Values.enableDefaultStorageClass }} + annotations: + storageclass.kubernetes.io/is-default-class: "true" +{{- end }} +provisioner: ebs.csi.aws.com +volumeBindingMode: WaitForFirstConsumer diff --git a/assets/components/aws-ebs-csi-driver/manifests/values.yaml b/assets/components/aws-ebs-csi-driver/manifests/values.yaml new file mode 100644 index 000000000..ed14a7ad4 --- /dev/null +++ b/assets/components/aws-ebs-csi-driver/manifests/values.yaml @@ -0,0 +1,89 @@ +# Default values for aws-ebs-csi-driver. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +replicaCount: 2 + +image: + repository: amazon/aws-ebs-csi-driver + tag: "v0.5.0" + pullPolicy: IfNotPresent + +sidecars: + provisionerImage: + repository: quay.io/k8scsi/csi-provisioner + tag: "v1.5.0" + attacherImage: + repository: quay.io/k8scsi/csi-attacher + tag: "v1.2.0" + snapshotterImage: + repository: quay.io/k8scsi/csi-snapshotter + tag: "v2.1.1" + livenessProbeImage: + repository: quay.io/k8scsi/livenessprobe + tag: "v1.1.0" + resizerImage: + repository: quay.io/k8scsi/csi-resizer + tag: "v0.3.0" + nodeDriverRegistrarImage: + repository: quay.io/k8scsi/csi-node-driver-registrar + tag: "v1.1.0" + +imagePullSecrets: [] +nameOverride: "" +fullnameOverride: "" + +podAnnotations: {} + +# True if enable volume scheduling for dynamic volume provisioning +enableVolumeScheduling: false + +# True if enable volume resizing +enableVolumeResizing: false + +# True if enable volume snapshot +enableVolumeSnapshot: false + +resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +nodeSelector: {} + +tolerations: [] + +affinity: {} + +# Extra volume tags to attach to each dynamically provisioned volume. +# --- +# extraVolumeTags: +# key1: value1 +# key2: value2 +extraVolumeTags: {} + +# AWS region to use. If not specified then the region will be looked up via the AWS EC2 metadata +# service. +# --- +# region: us-east-1 +region: "" + +node: + podAnnotations: {} + tolerations: [] + +serviceAccount: + controller: + annotations: {} + snapshot: + annotations: {} + +# False if you want to use a different storage option, e.g. OpenEBS +enableDefaultStorageClass: true diff --git a/ci/aws/aws-cluster.lokocfg.envsubst b/ci/aws/aws-cluster.lokocfg.envsubst index 28003f5bc..6c3ccf3c4 100644 --- a/ci/aws/aws-cluster.lokocfg.envsubst +++ b/ci/aws/aws-cluster.lokocfg.envsubst @@ -15,6 +15,7 @@ cluster "aws" { dns_zone_id = "$AWS_DNS_ZONE_ID" os_channel = var.os_channel ssh_pubkeys = ["$PUB_KEY"] + enable_csi = true worker_pool "wp" { count = 2 @@ -142,3 +143,5 @@ component "httpbin" { certmanager_cluster_issuer = "letsencrypt-staging" } + +component "aws-ebs-csi-driver" {} diff --git a/cli/cmd/component.go b/cli/cmd/component.go index cfe26b194..3ec25d632 100644 --- a/cli/cmd/component.go +++ b/cli/cmd/component.go @@ -18,6 +18,7 @@ import ( "github.com/spf13/cobra" // Register a component by adding an anonymous import + _ "github.com/kinvolk/lokomotive/pkg/components/aws-ebs-csi-driver" _ "github.com/kinvolk/lokomotive/pkg/components/cert-manager" _ "github.com/kinvolk/lokomotive/pkg/components/cluster-autoscaler" _ "github.com/kinvolk/lokomotive/pkg/components/contour" diff --git a/docs/configuration-reference/components/aws-ebs-csi-driver.md b/docs/configuration-reference/components/aws-ebs-csi-driver.md new file mode 100644 index 000000000..2e9eefa34 --- /dev/null +++ b/docs/configuration-reference/components/aws-ebs-csi-driver.md @@ -0,0 +1,67 @@ +# Amazon EBS CSI Driver configuration reference for Lokomotive + +## Contents + +* [Introduction](#introduction) +* [Prerequisites](#prerequisites) +* [Configuration](#configuration) +* [Attribute reference](#attribute-reference) +* [Applying](#applying) +* [Deleting](#deleting) + +## Introduction + +The [CSI Driver for Amazon EBS](https://github.com/kubernetes-sigs/aws-ebs-csi-driver) +provides a CSI interface used by container orchestrators to manage the lifecycle +of Amazon EBS volumes. It provides a storage class for AWS, backed by Amazon EBS +volumes. + +## Prerequisites + +* A Lokomotive cluster accessible via `kubectl` deployed on Packet. + +## Configuration + +To run a cluster with the CSI Driver component, `enable_csi` needs +to be set to `true` in the `cluster` block of your lokocfg. The flag and the component +should only be used for clusters deployed on AWS. + +Sample config: + +```hcl +# aws-ebs-csi-driver.lokocfg +component "aws-ebs-csi-driver" { + enable_default_storage_class = true +} +``` + +## Attribute reference + +Table of all the arguments accepted by the component. + +Example: + +| Argument | Description | Default | Required | +|--------------------------------|------------------------------------------------------------------------------|:------------:|:--------:| +| `enable_default_storage_class` | Use the storage class provided by the component as the default storage class | true | false | + +## Applying + +To apply the CSI Driver component, run the following command: + +```bash +lokoctl component apply aws-ebs-csi-driver +``` +By default, the CSI Driver pods run in the `kube-system` namespace. + +## Deleting + +To delete the component, run the following command: + +```bash +lokoctl component delete aws-ebs-csi-driver +``` + +**WARNING: Before destroying a cluster or deleting the component, EBS volumes +must be cleaned up manually.** Failing to do so would result in EBS volumes +being left behind. \ No newline at end of file diff --git a/pkg/assets/generated_assets.go b/pkg/assets/generated_assets.go index 6eb2ac73a..ff6809394 100644 --- a/pkg/assets/generated_assets.go +++ b/pkg/assets/generated_assets.go @@ -25,6 +25,186 @@ var vfsgenAssets = func() http.FileSystem { name: "components", modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), }, + "/components/aws-ebs-csi-driver": &vfsgen۰DirInfo{ + name: "aws-ebs-csi-driver", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + }, + "/components/aws-ebs-csi-driver/.helmignore": &vfsgen۰CompressedFileInfo{ + name: ".helmignore", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 342, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x4c\x8e\xc1\x6a\x23\x31\x0c\x86\xef\x7a\x8a\x7f\x99\xcb\xee\xb0\x78\x1e\x22\xd9\xc3\x9e\x5a\x48\xc9\xb5\x78\x66\x14\x5b\x89\xc7\x36\x96\x26\x69\x7b\xe8\xb3\x97\x24\x84\xf6\xf2\x81\x3e\x24\xf1\x75\x78\xf6\x66\xdc\xb2\xc2\x0a\x24\xe4\xd2\x18\x97\xc8\x19\xe3\x2a\x69\x96\x1c\x50\xfd\x74\xf2\x81\xd5\x51\x87\x97\x28\x0a\x5d\x6b\x2d\xcd\x14\x1a\x39\x25\x84\x54\x46\x2c\xde\xa6\x28\x39\xfc\x45\xe3\xe4\x4d\xce\x8c\xea\x2d\xfe\xf0\x3e\xcf\xd4\x21\x73\xf0\x26\x25\xe3\x77\x6d\x7c\x90\x37\x9e\x71\x11\x8b\xf8\xf5\xc7\xe1\x29\xa7\x77\x94\x7c\xbb\xbc\x26\xa1\x72\x43\x92\xcc\x8e\xdc\x76\xf7\xba\xb3\xd2\x98\x3a\x6c\xca\xb2\x94\x8c\xfd\x66\x87\x59\x9a\x92\x0b\x62\xc3\x8d\xf7\x7c\x72\xe3\x47\x1b\x6e\x7c\x88\x18\x86\x2b\x1e\xa3\x9e\xf3\xf0\xfd\x68\xf4\xd3\x69\xad\x38\x48\x62\xa5\xde\xe9\xa5\x52\xef\x46\x7f\xa2\xde\xd9\x52\xa9\xff\xa4\x0e\x7b\xdf\xa4\xac\x8a\xff\xdb\x7f\x4a\xae\xb6\x72\xe4\xc9\xc8\xc9\xcc\x7e\xb8\xef\xb5\x72\x24\x77\xd6\xa9\xcc\x3c\xd0\x57\x00\x00\x00\xff\xff\xf5\x89\xaa\x2d\x56\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests": &vfsgen۰DirInfo{ + name: "manifests", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + }, + "/components/aws-ebs-csi-driver/manifests/Chart.yaml": &vfsgen۰CompressedFileInfo{ + name: "Chart.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 378, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x90\x4d\x4b\xf4\x40\x10\x84\xef\xf3\x2b\x9a\xbd\xcf\x64\x96\xf7\xf5\x12\x50\x5c\x3f\x40\xcf\x01\x3d\x77\x26\x6d\xd2\x24\xf3\xc1\xf4\x24\x41\x7f\xbd\x64\xb3\xea\xc5\x93\xa7\xa2\xa1\xea\xa9\xa2\x31\xf1\x0b\x65\xe1\x18\x6a\x58\x8e\x0a\x53\xfa\x3e\x0f\xd6\x5c\x19\x7b\x50\x01\x3d\xd5\x80\xab\x68\x6a\x45\x3b\x61\xdd\x65\x5e\x28\xab\x8e\xc4\x65\x4e\xe5\xec\x3e\xc1\x13\x4d\x1e\xdc\x80\xb9\xc0\x5b\xcc\x70\x7a\x6d\xe0\xf1\xae\x81\xfb\xe6\x19\x1e\xf6\xc0\xf2\x85\xb6\xe6\xbf\xb1\x6a\x9c\x5b\xfa\x69\xbb\xb9\x3e\x9a\xe3\x3f\x63\xb5\x3d\xa8\x21\x6e\x95\x43\x29\x49\xea\xaa\xea\xb9\x0c\x73\x6b\x5c\xf4\xd5\x16\xc9\x81\x0a\x89\x16\xee\xa5\xfa\x65\x95\xc4\x39\x3b\x92\x5a\x01\xe8\x3f\x22\x46\x7a\x5f\x63\xee\x2e\x0c\x5c\xe5\xac\xd4\xee\xea\x84\x95\x47\x0e\x05\x39\x50\xbe\x98\xf6\x27\x4d\x84\x23\x87\xbe\x60\xc2\xa0\x00\x00\xc8\x23\x4f\x35\xb8\x81\x42\x9f\x30\xdc\xa2\xc7\x8f\x18\xb6\x1d\xea\x33\x00\x00\xff\xff\x6a\xdd\xc2\x53\x7a\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates": &vfsgen۰DirInfo{ + name: "templates", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + }, + "/components/aws-ebs-csi-driver/manifests/templates/NOTES.txt": &vfsgen۰CompressedFileInfo{ + name: "NOTES.txt", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 205, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\xcd\x31\x6e\x84\x30\x14\x84\xe1\x9e\x53\x8c\x5c\xaf\x9d\x3e\x52\xae\x90\x22\xca\x05\xde\xda\x93\x60\xc5\x18\xe4\xf7\x20\x42\xc8\x77\x5f\x41\x4b\xfb\x6b\xf4\xcd\xf7\x8c\x8d\x2d\xff\xec\xb0\x51\x0c\xf2\xaf\x9e\x4f\xf5\x51\xb3\x4f\x2d\x6f\x6c\x18\x45\xa1\x26\xcd\x98\x1e\x68\x6b\x7d\x1f\x06\x00\xf8\x5b\x9f\x8c\x56\xf0\x4b\xc3\x32\x27\xf8\x7a\x25\xaf\xbb\x1a\x27\xf8\x02\x27\xcb\x12\xce\xd6\x2a\x8d\x1a\xf2\xfc\x56\x65\xe2\xc7\x71\x20\xd7\x58\xd6\x44\xb8\xfb\x5f\x38\x37\x0e\x01\xbd\x3f\xee\x40\xae\x6a\x52\xe3\x85\x84\x2f\x16\x8a\x32\x7c\xca\x44\xf4\xee\x86\x57\x00\x00\x00\xff\xff\xd8\xf9\x69\xfc\xcd\x00\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/_helpers.tpl": &vfsgen۰CompressedFileInfo{ + name: "_helpers.tpl", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 2184, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x55\x4d\x6f\xe3\x36\x10\xbd\xfb\x57\x0c\x08\x07\x70\xd2\x48\x2e\x50\xa0\x07\x03\x39\x14\x69\x0f\x45\x8b\x14\x68\x16\xd9\xe3\x86\x96\x46\xf6\x6c\xf8\xa1\x70\x28\x25\xde\xd8\xff\x7d\x41\x52\xf2\x57\xec\x8d\xbd\x37\xc2\x7e\xf3\xe6\xcd\x9b\x0f\xbd\xbd\x8d\xaf\xa0\x25\x3d\x01\x46\x0f\x15\x29\xf4\x8b\x1a\x6f\x74\xc3\x5e\x16\x73\x9c\xc0\xd5\x78\xb5\x1a\x04\xd4\xe0\xaf\xd7\x5a\x9a\x12\xfc\x1c\xc1\x48\x8d\x60\xab\xf8\x2e\xe6\xd2\xf9\x7c\xd0\xe1\x32\x28\xb1\x22\x83\x20\xe4\x0b\x67\x38\xe5\xac\x60\xca\x4a\x47\x2d\xba\x3c\x84\x09\xc8\x36\x40\xd9\x28\x0f\xf9\x6d\x64\xb8\x0b\x9c\xf9\x83\x54\x0d\x72\x44\xfe\xd7\xa2\x73\x54\x22\x2c\xc1\xbb\xc6\x14\xf0\xfb\x6f\xf1\x49\xfa\xbe\xa9\x2a\x7a\x05\x91\x6d\xc8\xd0\x94\xf1\x9d\xa4\xde\x3a\x94\x1e\x41\xae\x73\x54\x8d\x52\x0b\x78\x6e\xa4\xa2\x8a\xb0\x04\x59\xd7\xb1\x88\x7c\xf0\x19\x13\x7b\xc4\xfb\x90\x23\x14\xc4\x30\xc5\x42\x36\x8c\xc0\x56\x23\xfc\xd3\x4c\xd1\x19\xf4\xc8\xa9\xf4\x8a\x50\x95\x0c\xd2\x21\x28\xd2\xe4\xb1\x04\x6f\xc1\xcf\x89\x61\x34\x5d\x44\x5b\xfe\xbc\xbb\x0f\x58\x32\x33\xe0\x1a\x8b\xcb\x7c\xf0\x77\x05\x0e\x15\x4a\xee\xfc\x2b\xac\xf1\x92\x0c\x27\x07\xd3\x6f\xe4\xe1\x85\x94\x82\x29\x42\xc3\x41\x27\x83\x8c\xe2\x3b\xb5\xa7\xb8\x1c\xe0\xbb\x4e\x53\xb5\x36\xb6\xff\x73\x6d\x6e\x8f\x39\x0a\x38\xc9\x7d\xc5\x1b\xa6\x61\xac\x64\x72\x73\x7a\x83\xb7\x74\xae\x4d\x49\x2c\xf9\xff\xc9\xb1\x14\xbc\xd6\xba\xf3\xeb\xd9\x02\x6b\x47\xc6\x57\x20\x2e\x38\xbb\x60\xb1\xc7\x96\xf2\x9e\x33\x72\xc7\xde\x3b\xa3\xb8\xd5\xe3\xb0\x44\x2d\x3a\x26\x6b\x42\x7f\x63\x9f\xbb\xa1\x49\x28\x25\xa7\xa8\x4e\xeb\x75\x0c\x10\x47\x2b\xdb\x36\x3e\xbd\x1f\xba\xc4\x4b\x70\x58\x2b\x59\x20\x88\x5f\x04\x88\x2f\xe2\x67\xb6\xcc\x6a\x6d\x4d\x92\xcb\x27\xc9\x4d\xd0\x9e\x0f\xc8\x14\xaa\x29\x0f\x43\x19\x15\x16\xde\xba\x7f\xbb\x90\x1c\x36\x43\x62\xf6\x07\x43\x3c\x35\xec\xad\xa6\x6f\x28\x02\x6c\x8e\x4a\xe7\x3c\x1f\x47\x77\x26\xf0\x41\xa6\xce\xc3\xed\x04\x9d\x59\x7f\xd4\x75\xef\xd7\x6a\x35\x90\x75\x9d\x3f\xad\x0f\x41\x4e\x76\xdc\x75\x31\x66\x78\x1f\xb2\x84\xe7\xc6\x7a\x84\x2d\xef\x0e\xb2\x68\x69\xe4\x0c\xcb\x6c\xba\x48\x44\x7d\x65\xf7\xe8\x5a\x2a\xf6\xe3\x8f\xb6\xa1\x37\xec\x9c\x7e\xec\x9b\x9c\x1d\x14\x18\xa6\xf6\x43\x17\xd3\xc5\x39\xa7\x4b\xef\x13\x91\x61\x2f\x4d\x81\xbb\x3e\xc4\xd8\x8f\x4d\x30\x2d\x3a\x1f\xb7\xe8\x31\xcb\xf0\xd5\x3b\x99\xb5\x56\x35\x1a\x33\x2f\x67\xfc\x08\x85\xd5\x3a\xac\x9e\x0a\x66\x48\x37\x83\xca\x59\x0d\x12\xb4\xac\x4f\xdb\xb5\x77\x9c\x9b\xbd\x18\x3a\xe4\x70\xe9\xc2\xd1\xa3\xc2\x83\xa8\x25\x39\x16\x30\x52\xc4\xfe\x72\x0d\x73\xd2\xcc\x10\x86\x4f\xb8\xb8\x86\x61\x1b\x0e\x61\x88\xe8\x4f\x62\xe4\x7f\x88\xf4\x9f\xe4\x8c\xb7\xee\xa9\xb5\x75\x00\x6e\xb6\xfb\x26\x6c\x77\xe0\xe9\x69\x96\xe1\x8b\x16\x1c\xe9\x94\xe4\x51\x00\x2c\xe3\x57\xbd\x57\xd7\xab\x3a\x74\xb4\xa8\x82\x99\x87\x91\x42\xb3\x4b\x71\x09\xbf\x1e\xb8\x2e\x31\xbf\xc8\xe0\x80\xd1\x02\x46\x5f\x2d\x19\x10\xd7\x62\x9f\xe9\x47\xc7\xf2\x7b\x00\x00\x00\xff\xff\x2b\xc8\xd3\x50\x88\x08\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrole-attacher.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrole-attacher.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 593, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x91\x31\x4f\xf3\x30\x10\x40\xf7\xfc\x8a\x53\xe6\xcf\xf9\x84\xc4\x80\xb2\x32\xb0\x33\xb0\x20\x86\x8b\x7d\xb4\xa7\x3a\xe7\xe8\xee\x9c\x22\x4a\xff\x3b\x4a\xd2\xb1\x12\x85\xc9\x96\xf5\xfc\x9e\x7c\x0e\x21\x34\x07\x96\xd4\xc3\x63\xae\xe6\xa4\xcf\x25\x53\x83\x13\xbf\x90\x1a\x17\xe9\x41\x07\x8c\x1d\x56\xdf\x17\xe5\x4f\x74\x2e\xd2\x1d\x1e\xac\xe3\xf2\x7f\xbe\x6b\x46\x72\x4c\xe8\xd8\x37\x00\x82\x23\xf5\x40\x83\x05\xfa\x70\x52\xc1\x1c\xd0\x1d\xe3\x9e\x34\xe8\x62\x05\xc8\x38\x50\xb6\x05\x06\x38\x9d\x02\xb0\xc4\x5c\x13\x41\x8b\x47\x0b\xcb\xcd\x68\x1c\x92\xf2\x4c\xda\x6d\x6c\x0b\x1d\x7c\x81\xb0\x24\x12\x87\x7b\x38\x9f\x1b\xad\x99\x56\x47\x00\x9c\xf8\x49\x4b\x9d\xac\x87\xd7\xb6\x7d\x5b\xbd\x4a\x56\xaa\x46\x5a\xcf\xa6\xe5\x15\xe6\x24\x3e\x97\x5c\x47\xb2\x0b\x34\x93\x0e\x2b\xb0\x23\x6f\xff\x41\x9b\xd9\xd6\xf5\x88\x1e\xf7\xcb\xa6\x4e\x09\x9d\x56\xfa\x86\x8c\x94\x74\xa3\xfa\x8a\x30\x1a\x77\xe6\x45\x71\x47\x97\xc9\x5e\x4b\x44\xe3\xa5\xc2\xf2\x5e\xfe\x5c\xfa\xb9\xb2\x4d\x69\xfb\xb6\x91\xc4\x7f\x3f\xaf\xef\x00\x00\x00\xff\xff\x93\xfa\xc2\x2c\x51\x02\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrole-provisioner.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrole-provisioner.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 1145, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x3f\x8f\xd4\x30\x10\xc5\xfb\x7c\x8a\x51\xea\x73\x10\x12\x05\x4a\x4b\x41\x4f\x41\x83\xae\x98\xd8\xa3\xdb\xd1\x39\xb6\x35\x33\xce\x21\x96\xfd\xee\x28\xc1\x20\x10\xd9\x3f\xe2\xb6\x8a\x15\xbd\x79\x3f\x3d\xfb\x8d\x73\xae\x7b\xe6\x14\x46\xf8\x10\xab\x1a\xc9\xa7\x1c\xa9\xc3\xc2\x9f\x49\x94\x73\x1a\x41\x26\xf4\x03\x56\x3b\x64\xe1\x6f\x68\x9c\xd3\xf0\xfc\x5e\x07\xce\x6f\x96\xb7\xdd\x4c\x86\x01\x0d\xc7\x0e\x20\xe1\x4c\x23\xd0\xa4\x8e\xbe\x1a\x49\xc2\xe8\x8a\xe4\x85\x57\x1b\x12\x27\xab\x31\x40\xc4\x89\xa2\xae\x7a\x80\xe3\xd1\x01\x27\x1f\x6b\x20\xe8\xf1\x45\xdd\x3a\xec\x95\x5d\x10\x5e\x48\x86\x9f\xda\x1e\x06\xf8\x0e\x89\x53\xa0\x64\xf0\x0e\x4e\xa7\x4e\x6a\xa4\xcd\xc3\x01\x16\xfe\x28\xb9\x16\x1d\xe1\x4b\xdf\x3f\x6e\xbe\x42\x9a\xab\x78\xda\xfe\x95\x35\x88\x1a\x25\x5b\x72\xac\x33\x69\x13\x2d\x24\xd3\x26\x78\x22\xeb\x1f\xa0\x8f\xac\xdb\xf7\x05\xcd\x1f\xd6\x83\x17\x42\xa3\xf5\x14\x28\x92\xd1\x36\xf7\x1f\x40\x1f\x91\xe7\x9b\xa9\xb5\x04\xdc\x67\xa9\x65\xc1\x27\x6a\xb7\xbf\x47\x6e\x0a\x1f\x51\xf5\xc6\x9c\x37\x66\xa2\x85\x92\xfd\xe3\x78\xe1\xca\x5a\x8c\x07\xe8\xcb\x39\x8e\x26\x2c\x7a\xc8\x36\x5c\x0f\xd6\x5e\xae\x0d\x5c\x4c\x76\x4f\x90\xcf\xc9\xf6\x72\x5f\xe3\x5d\xc5\x78\xe5\x94\xc3\x7d\x9f\xe8\x55\x86\x3e\x67\x09\x9c\xfe\x5c\xef\x3d\x46\x24\x3c\x5f\xac\xdf\x2d\xf8\x45\x6b\x6b\xf3\x57\x1b\x5a\x43\x1e\xbb\x1f\x01\x00\x00\xff\xff\x8c\xe9\x88\xd7\x79\x04\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrole-resizer.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrole-resizer.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 942, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x93\xb1\x8e\xdc\x3c\x0c\x84\x7b\x3f\x05\xe1\xbf\x3d\xf9\xf0\x03\x29\x82\x6d\x53\xa4\x3f\x04\xdb\x04\x29\x68\x79\x76\x2d\x9c\x2c\x39\x24\xe5\x0d\xee\xb2\xef\x1e\x48\x31\x52\x64\x0f\xc1\x02\x57\xd9\x20\xc7\xdf\x70\x4c\xe9\xf5\xd5\x51\x38\xd1\x70\xe4\x58\xa0\x03\x12\x8f\x11\xc7\x1c\xcb\x82\x27\x68\x78\x09\xe9\x4c\xd7\x6b\xe7\x9c\xeb\x9e\x43\x9a\x0e\xf4\x29\x16\x35\xc8\x53\x8e\xe8\x78\x0d\x47\x88\x86\x9c\x0e\x24\x23\xfb\x81\x8b\xcd\x59\xc2\x0b\x5b\xc8\x69\x78\xfe\xa8\x43\xc8\x8f\xdb\xff\xdd\x02\xe3\x89\x8d\x0f\x1d\x51\xe2\x05\x07\xc2\xa8\x0e\x3f\x0c\x92\x38\x3a\xa9\x4e\x10\x27\x15\x4a\x14\x79\x44\xd4\xaa\x25\x6a\xf3\x25\x1f\xcb\x04\xea\xf9\xa2\xae\x7e\xe8\x35\xb8\x49\xc2\x06\x19\x7e\x6b\x7b\x1a\xe8\x27\xa5\x90\x26\x24\xa3\x0f\x75\x62\x29\x11\x8d\xf1\x1f\x7d\x99\x41\xa7\x1c\x63\xbe\xd4\x34\xb5\x41\x3a\xe7\x12\x27\x1a\x41\x25\xf9\xbc\x2c\x48\x86\x89\x4e\x59\x68\x8d\xe5\x1c\x92\x92\xcd\x6c\x24\xf8\x5e\x82\x80\x14\x5e\x60\xda\x68\x4d\x24\x79\x0b\x35\x77\x48\xe7\xa1\x55\x1d\xf1\x1a\x3e\x4b\x2e\xab\x1e\xe8\x6b\xdf\x7f\x6b\x55\x22\x81\xe6\x22\x1e\xad\xba\x63\xfe\x34\x37\xc8\xd8\x1a\x67\x58\xff\x40\x7d\x0c\xda\x9e\x17\x36\x3f\x37\xd5\x5b\xd8\xbf\xa0\x6b\xdd\x80\x1a\x92\x6d\x6d\x6d\xba\x8b\xfe\x0d\x7f\xa0\xbe\xac\x13\x1b\xea\xdb\xfa\x1e\x3f\x1f\x39\x2c\xf7\x99\xbe\xcb\xe1\x51\x8d\xad\xdc\x18\xdd\x91\x42\x2d\x0b\x9f\xb1\x9f\xc7\xb7\x1c\x77\x85\x8f\xac\x7a\xe7\x0f\xbc\x33\x0b\x36\x24\xbb\x21\xde\xec\xc2\x0b\xf6\x14\xb7\x79\xba\x7a\x07\x90\xa6\xeb\xb5\xfb\x15\x00\x00\xff\xff\x8f\x3d\xa1\x84\xae\x03\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshot-controller.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrole-snapshot-controller.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 1150, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x31\x8f\xd4\x30\x10\x85\xfb\xfc\x8a\x91\xeb\xd8\x27\x24\x0a\x94\x96\x82\x1e\xa4\x6d\x10\xc5\xc4\x1e\x6e\xad\x73\xec\x68\x66\x9c\x93\x38\xee\xbf\x23\x9b\xc0\x15\xbb\xa7\x43\x61\xab\x48\xd1\xf3\xfb\xde\xf3\x78\x9e\x9e\x2c\xc4\xef\xe0\x4e\x98\x2a\x89\xa3\x8c\x73\xa2\x53\x49\x75\xa1\x2f\x19\x57\x39\x17\x85\xe7\xe7\xc1\x5a\x3b\x3c\xc4\x1c\x26\xf8\x98\xaa\x28\xf1\xe7\x92\x68\xc0\x35\x9e\x88\x25\x96\x3c\x01\xcf\xe8\x1d\x56\x3d\x17\x8e\x3f\x50\x63\xc9\xee\xe1\x83\xb8\x58\xee\xb6\x77\xc3\x42\x8a\x01\x15\xa7\x01\x20\xe3\x42\x13\xd0\x2c\x56\x76\x80\xf5\x25\x2b\x97\x94\x88\x2d\x37\x5f\x80\x84\x33\x25\x69\x72\x80\x1e\x31\xfb\x54\x03\x81\xc1\x47\xb1\xed\xac\x97\x68\x03\xc7\x8d\xd8\xfd\xd6\x1a\x70\xf0\x13\x72\xcc\x81\xb2\xc2\xfb\x16\x9a\x6b\xa2\xee\x61\x01\xd7\xf8\x89\x4b\x5d\x65\x82\xaf\xc6\x7c\xeb\xbe\x4c\x52\x2a\x7b\xea\xff\xd6\xd6\x43\x94\xb2\x6e\xbd\xbc\xec\xa2\x8d\x78\xee\x82\x7b\x52\x33\x82\x49\x51\xfa\xf7\x11\xd5\x9f\xbb\xe6\x80\xb9\x4f\x18\x97\x7f\x23\x8c\x60\xea\x1a\x50\xe9\x1a\x4b\xb4\x30\xde\xd3\x7e\xd1\xd7\xc8\xbb\xc2\x27\x14\xb9\x6d\x27\xda\x28\xeb\x85\xe3\x45\x78\xcf\xd4\xc2\xbf\xd4\x18\xc1\xac\xaf\x71\xfe\x3c\x08\xf7\x76\xb1\x7d\x4a\xfb\x81\xff\xec\x77\x9c\x5b\xb2\x5e\xbb\x86\x97\xd6\x6f\x0c\x75\x04\x13\x28\xd1\x2b\xe3\x3d\x1a\xeb\x16\x4f\xeb\x30\xfb\x4e\x14\xb5\x5e\x44\xf8\x8b\x1a\xda\x3e\x53\x0e\x6d\x43\x7f\x05\x00\x00\xff\xff\xe5\x24\xb9\xec\x7e\x04\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshotter.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrole-snapshotter.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 802, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x92\x31\x8f\xd4\x30\x10\x85\xfb\xfc\x8a\x51\x6a\x9c\x13\x12\x05\x4a\x4b\x41\x0f\xd2\x36\x68\x8b\x89\xfd\xb8\xb5\xce\x6b\x47\x33\xe3\x1c\xe2\xb8\xff\x8e\x6c\x72\x20\xb4\x11\xa2\x80\x6e\xe4\x99\x79\xdf\xcb\xcb\x3c\x3d\x39\x8a\x9f\x69\x3a\x71\xaa\xd0\x09\x99\x97\x84\x53\x49\xf5\x8a\x8f\x99\x57\xbd\x14\xa3\xe7\xe7\xc1\x39\x37\x3c\xc4\x1c\x66\x7a\x97\xaa\x1a\xe4\x43\x49\x18\x78\x8d\x27\x88\xc6\x92\x67\x92\x85\xfd\xc4\xd5\x2e\x45\xe2\x57\xb6\x58\xf2\xf4\xf0\x56\xa7\x58\xee\xb6\xd7\xc3\x15\xc6\x81\x8d\xe7\x81\x28\xf3\x15\x33\x61\x51\x87\x2f\x06\xc9\x9c\x9c\xee\x24\x83\x38\x69\xc2\x44\x89\x17\x24\x6d\xf3\x44\xdd\x63\xf6\xa9\x06\xd0\xc8\x8f\xea\xda\xb2\xd7\xe8\x82\xc4\x0d\x32\xfd\x98\x1d\x69\xa2\x6f\x94\x63\x0e\xc8\x46\x6f\x9a\x6b\xa9\x09\x5d\xc3\x11\xaf\xf1\xbd\x94\xba\xea\x4c\x9f\xc6\xf1\xdc\x75\x05\x5a\xaa\x78\xf4\x37\x6c\xc8\xa6\x7b\x67\x83\x2c\xfd\x35\x45\xb5\xf1\x15\x8d\x8f\x6c\xfe\xd2\x0a\x2f\x60\x43\xab\xea\x1a\xf6\x6a\xed\xcd\xf3\xdf\x71\x14\x5e\x70\x0b\xba\x47\xe7\x74\xde\x81\xd2\x4b\x42\x93\x5a\x11\xbe\xc7\x9e\xed\x11\x60\xeb\x3f\xef\x65\xc1\x27\x56\xc5\x1f\x71\x3f\x3f\xef\x9f\x72\x4b\xb6\xa3\x40\x7f\xe5\x77\x68\xe1\xb7\x5c\x03\x12\x0c\xff\xc5\xd6\x9d\x1a\x5b\xbd\x71\xb7\xb3\xcf\x43\x3b\x39\xe4\xd0\x8e\xe8\x7b\x00\x00\x00\xff\xff\x90\x55\xf3\x8c\x22\x03\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-attacher.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrolebinding-attacher.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 380, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x90\xcb\x4e\x33\x31\x0c\x46\xf7\x79\x0a\xab\xfb\xcc\xaf\x5f\x62\x81\x66\x07\x2c\xd8\x17\x89\xbd\x93\x18\x6a\x9a\x3a\x23\xdb\x19\x2e\xa5\xef\x8e\xda\xe1\xa2\x0a\x89\x75\x4e\x8e\x7c\xbe\x18\x63\xd8\xb2\x94\x11\x6e\x6a\x37\x27\x5d\xb7\x4a\xd7\x2c\x85\xe5\x31\xe0\xc4\xf7\xa4\xc6\x4d\x46\xd0\x84\x79\xc0\xee\x9b\xa6\xfc\x86\xce\x4d\x86\xed\xa5\x0d\xdc\xfe\xcd\xff\xc3\x8e\x1c\x0b\x3a\x8e\x01\x40\x70\x47\x23\x50\xb2\x98\x8d\x23\xba\x63\xde\x90\xc6\xf4\xe9\x04\xa8\x98\xa8\xda\x11\x05\xd8\xef\x23\xb0\xe4\xda\x0b\xc1\x0a\x9f\x2d\x7e\xfd\x2b\xca\x33\xe9\xb0\xb0\x2b\x18\xe0\x1d\x84\xa5\x90\x38\x5c\xc0\xe1\x10\xac\xa7\x27\xca\x7e\xd2\x44\x58\x0a\xee\x48\x67\xce\x74\x95\x73\xeb\xe2\x27\xff\xf9\x31\xb9\x89\x6b\xab\x95\x34\x1a\x7e\xbf\xdb\x84\x99\x46\xd8\xf6\x44\xd1\x5e\xcd\x69\x17\xb4\x55\x5a\xd3\xc3\x51\xfe\x6b\x9c\xb3\x44\x7a\x71\x52\xc1\xfa\xd3\xa9\x0b\x82\x13\xdf\x6a\xeb\xd3\x1f\xc3\x85\x8f\x00\x00\x00\xff\xff\x6b\x62\xd8\x9d\x7c\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-provisioner.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrolebinding-provisioner.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 386, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x90\x3f\x4f\xc4\x30\x0c\x47\xf7\x7c\x0a\xeb\xf6\x14\x21\x31\xa0\x6e\xc0\xc0\x7e\x48\xec\x4e\x62\xc0\x34\x75\x2a\x3b\x29\x7f\x8e\xfb\xee\xa8\x57\x40\xaa\x90\x6e\xce\xcb\x93\xdf\xcf\x7b\xef\x06\x96\xd4\xc3\x5d\x6e\x56\x49\xf7\x25\xd3\x2d\x4b\x62\x79\x76\x38\xf1\x23\xa9\x71\x91\x1e\x34\x60\xec\xb0\xd5\x97\xa2\xfc\x89\x95\x8b\x74\xc3\xb5\x75\x5c\x2e\xe6\x4b\x37\x52\xc5\x84\x15\x7b\x07\x20\x38\x52\x0f\x14\xcc\x47\x63\x3f\x69\x99\x79\x31\x90\xfa\xf0\xa3\x05\xc8\x18\x28\xdb\x42\x03\x1c\x0e\x1e\x58\x62\x6e\x89\x60\x87\x6f\xe6\x7f\xbf\x26\xe5\x99\xb4\x5b\xd9\x1d\x74\xf0\x05\xc2\x92\x48\x2a\x5c\xc1\xf1\xe8\xac\x85\x57\x8a\xf5\xa4\xf1\xb0\x46\x3c\x90\xce\x1c\xe9\x26\xc6\xd2\xa4\x9e\xfc\xdb\x7b\x62\x91\xaa\x25\x67\x52\x6f\xf8\xf7\x6e\x13\x46\xea\x61\x68\x81\xbc\x7d\x58\xa5\xd1\x69\xc9\xb4\xa7\xa7\x45\xfe\x6f\x9f\x4d\x25\xbd\x57\x52\xc1\xbc\x49\xd5\x95\xc2\x89\xef\xb5\xb4\xe9\xcc\x7c\xee\x3b\x00\x00\xff\xff\x9a\x5a\x32\xbf\x82\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-resizer.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrolebinding-resizer.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 428, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x90\x31\x4f\x23\x31\x10\x85\x7b\xff\x8a\x51\x7a\xef\xe9\xa4\x2b\x4e\xdb\x01\x05\x7d\x90\xd2\xcf\xda\x2f\x61\x88\x77\xbc\x1a\xdb\x01\x12\xf6\xbf\xa3\x4d\x20\x52\x84\x44\xed\xe7\x6f\xde\xf7\x4e\x27\x4f\xb2\xa5\x6e\xc3\xa9\xa1\x74\x50\x1e\x12\x36\x39\xb5\x11\x6b\x14\x39\x8a\xee\x68\x9e\x9d\xf7\xde\xed\x45\x63\x4f\x0f\xa9\x95\x0a\x5b\xe7\x84\x7b\xd1\x28\xba\x73\x3c\xc9\x06\x56\x24\x6b\x4f\x36\x70\xe8\xb8\xd5\xe7\x6c\x72\xe4\x2a\x59\xbb\xfd\xff\xd2\x49\xfe\x73\xf8\xeb\x46\x54\x8e\x5c\xb9\x77\x44\xca\x23\x7a\xc2\x50\x7c\x28\xe2\x6d\xb9\x05\xf3\xc3\x17\x92\x28\xf1\x80\x54\x96\x24\xd1\xb9\xa4\x86\xd4\x22\x68\xc5\xaf\xc5\x7f\x7f\x8b\x26\x07\x58\x77\xc9\xae\xa8\xa3\x0f\x52\xd1\x08\xad\xf4\x6f\xa9\x5d\xda\xf0\x82\x50\xcf\x18\x4f\x17\x81\x27\xd8\x41\x02\xee\x42\xc8\x4d\xeb\x99\x7f\xdb\x25\x64\xad\x96\x53\x82\xf9\xc2\xd7\xf7\x32\x71\x40\x4f\xfb\x36\xc0\x97\xf7\x52\x31\x3a\xcb\x09\x6b\x6c\x17\xf8\x8f\x6d\x6e\x0c\xf1\x56\x61\xca\xe9\xaa\x69\x97\x04\x4f\xf2\x68\xb9\x4d\xbf\xcc\xe6\xdc\x22\x0f\x8d\xf3\xec\x3e\x03\x00\x00\xff\xff\xe2\x85\x80\xf2\xac\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshot-controller.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrolebinding-snapshot-controller.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 446, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x90\x31\x4f\x03\x31\x0c\x85\xf7\xfc\x0a\xab\x7b\x82\x90\x18\xd0\x6d\xc0\xc0\xde\x4a\xdd\x9d\xc4\xa5\xa6\x39\xe7\x64\x27\x45\x50\xfa\xdf\xd1\xb5\x05\x06\x10\xec\xcf\x9f\xdf\xfb\x0e\x07\x0f\xbc\x81\xb0\xc6\xd2\xc9\x02\x09\xc6\x42\xeb\x5a\xfa\x48\x2b\xc1\xc9\xb6\xb5\xc1\xf1\xe8\xbc\xf7\x6e\xc7\x92\x07\x78\x28\xdd\x1a\xe9\xb2\x16\xba\x67\xc9\x2c\x4f\x0e\x27\x5e\x93\x1a\x57\x19\x40\x23\xa6\x80\xbd\x6d\xab\xf2\x1b\x36\xae\x12\x76\xb7\x16\xb8\x5e\xed\xaf\xdd\x48\x0d\x33\x36\x1c\x1c\x80\xe0\x48\x03\x50\x34\x9f\x8c\xbd\x5d\x7e\xf9\x54\xa5\x69\x2d\x85\xd4\xc7\x0b\x1e\xa0\x60\xa4\x62\xf3\x15\xc0\xa9\xb0\xa4\xd2\x33\xc1\x02\x5f\xcc\x7f\x22\xb2\xf2\x9e\x34\x9c\xb3\x0b\x08\xf0\x0e\xc2\x92\x49\x1a\xdc\xcc\x13\xac\xc7\x67\x4a\xed\x84\xf1\x70\x1e\xb3\x22\xdd\x73\xa2\xbb\x94\x6a\x97\x76\xe2\x7f\xf7\xfa\xa5\xd3\x57\xc2\x26\x4c\x34\xc0\xae\x47\xf2\xf6\x6a\x8d\x46\xa7\xb5\xd0\x92\x36\x33\xfe\x87\x29\xf7\x0f\xd7\xeb\x39\x84\x13\x3f\x6a\xed\xd3\x1f\x1e\x9d\x9b\x0d\x90\xe4\x79\xd3\x47\x00\x00\x00\xff\xff\xb7\xf1\xbf\xac\xbe\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshotter.yaml": &vfsgen۰CompressedFileInfo{ + name: "clusterrolebinding-snapshotter.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 437, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x90\xbd\x4e\x43\x31\x0c\x85\xf7\x3c\x85\xd5\x3d\x41\x48\x0c\xe8\x6e\xc0\xc0\xde\x4a\xdd\x9d\xc4\xa5\xa6\xb9\xce\x95\x9d\x94\x9f\xd2\x77\x47\xb7\x2d\x48\x15\x12\x73\x4e\x3e\x9f\xef\x1c\x0e\x1e\x78\x03\x61\x8d\xa5\x93\x05\x12\x8c\x85\xd6\xb5\xf4\x91\x56\x82\x93\x6d\x6b\x83\xe3\xd1\x79\xef\xdd\x8e\x25\x0f\xf0\x54\xba\x35\xd2\x65\x2d\xf4\xc8\x92\x59\x5e\x1c\x4e\xbc\x26\x35\xae\x32\x80\x46\x4c\x01\x7b\xdb\x56\xe5\x4f\x6c\x5c\x25\xec\xee\x2d\x70\xbd\xd9\xdf\xba\x91\x1a\x66\x6c\x38\x38\x00\xc1\x91\x06\xa0\x68\x3e\x19\x7b\xbb\xdc\x6a\xa4\x3e\x5e\xb0\x00\x05\x23\x15\x9b\xd3\x00\xa7\xa2\x92\x4a\xcf\x04\x0b\x7c\x33\xff\xf3\x35\x2b\xef\x49\xc3\x39\xbb\x80\x00\x5f\x20\x2c\x99\xa4\xc1\xdd\x5c\xdd\x7a\x7c\xa5\xd4\x4e\x18\x0f\x67\x89\x15\xe9\x9e\x13\x3d\xa4\x54\xbb\xb4\x13\xff\xba\x4f\xaa\xd2\xb4\x96\x42\xea\x0d\x7f\xdf\x6d\xc2\x44\x03\xec\x7a\x24\x6f\x1f\xd6\x68\x74\x5a\x0b\x2d\x69\x33\xc3\xff\xec\x73\x65\x49\xef\x8d\x54\xb0\x5c\xa9\xea\x39\x85\x13\x3f\x6b\xed\xd3\x3f\xf3\x39\x37\x0f\x40\x92\x67\xa5\xef\x00\x00\x00\xff\xff\x99\x12\x96\xf3\xb5\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/controller.yaml": &vfsgen۰CompressedFileInfo{ + name: "controller.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 5549, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x58\x4d\x6f\x1b\x37\x13\xbe\xeb\x57\x0c\x9c\x04\x48\x80\xac\x94\xbc\x6f\x1a\xa4\x0b\xf8\x60\x48\x6a\x60\x24\x75\x04\xcb\x48\x91\x93\x41\x71\x47\x5a\xc2\x5c\x92\xe0\xcc\x2a\xde\x38\xfe\xef\x05\xb5\xfa\xd8\x2f\x45\xae\x50\xe7\xd0\x76\x0f\x3e\x70\xbe\x9e\x99\x79\x38\x43\xeb\x09\x0c\xad\x61\x6f\xb5\x46\x0f\x53\xf4\x4b\x25\xb1\x77\xa3\x4c\x12\xc3\x08\x9d\xb6\x45\x86\x86\x7b\xc2\xa9\xcf\xe8\x49\x59\x13\x83\x70\x8e\x06\xcb\xd7\xbd\x0c\x59\x24\x82\x45\xdc\x03\x30\x22\xc3\x18\x70\x46\x91\x24\x15\xc9\xad\xc7\xb5\x88\x9c\x90\x18\xc3\x4d\x3e\xc3\x88\x0a\x62\xcc\x7a\x00\x5a\xcc\x50\x53\xb0\x06\xb8\xbb\x8b\x40\x19\xa9\xf3\x04\xe1\x44\x7c\xa5\x68\xe3\x2a\xf1\x6a\x89\xbe\x5f\xea\x9e\x40\x1f\xbe\x83\x51\x26\x41\xc3\xf0\x06\xee\xef\x7b\xe4\x50\x06\x17\x1e\x9d\x56\x52\x50\x0c\x77\x77\xd0\xff\x2c\x74\x8e\xd4\x5f\x1f\x0e\x6d\x6e\x38\x28\x03\x10\x6a\x94\x6c\x7d\x19\x35\x13\x2c\xd3\x8f\x15\x18\x10\x92\xdb\x93\xc7\x43\x60\x6e\xdc\x7f\xec\x80\xfb\xb6\x44\xc0\x98\x39\x2d\x18\xd7\x08\x2a\x35\x0c\x9f\xae\x81\x39\x04\xe7\xb8\xba\xbd\x2b\x81\x6c\xcd\xe7\xdb\x7a\x39\x9b\x9c\x19\x63\x59\xb0\xb2\x86\x76\x6a\x62\x77\xb8\xaa\x2f\xdb\x2f\x22\xd3\xfb\xcc\xf6\x46\x42\x93\x6c\x0e\x36\x6d\x0b\x9f\xb1\x09\x4e\x6b\x7d\x09\x5f\xe0\x8a\x37\xc8\x48\x7d\x65\x07\x96\x62\xd0\xca\xe4\xb7\x7b\xe4\xc2\xcb\x34\x06\x91\x25\x6f\xdf\xd4\x6a\xf3\x55\x71\xba\xc5\x59\x0d\x14\x80\x54\x32\x81\xef\xd0\xc6\xdc\x42\x1d\xf8\xb3\xba\x20\x67\x52\x06\x4e\x5d\xec\x61\x7d\x44\x62\xad\xef\xbc\xb2\x5e\x71\x31\xd4\x82\xa8\x54\x2f\xf9\x1f\x49\x9d\x13\xa3\x8f\xa4\x57\xac\xa4\xd0\xbd\x3d\xa0\xc5\x7c\xae\x8c\xe2\xa2\xd2\x8d\xf5\x49\xad\x15\x0f\xaa\x3a\x00\x5b\x8d\x7e\xdd\xc9\x6d\x96\x11\x58\x17\x4e\xad\x8f\x61\x7c\xab\x88\x69\x1f\x98\x8a\xf9\x43\x0a\xd8\x0a\x1f\x4a\x24\x94\x41\x5f\x8b\xbe\x1b\x1e\x4e\xe7\x0b\x65\xb6\x22\x00\x95\x89\x05\xd6\xee\xf4\xea\x24\xdc\x6c\x4b\x8a\xad\x0f\x75\x89\x5b\x62\x16\x8b\x6a\x1b\xd7\x7e\x26\xb9\xd6\x13\xab\x95\x2c\x3a\x3c\xba\xad\xb0\x6e\x29\xfc\xa2\x02\xb6\x72\x69\x0c\x42\xff\x12\x35\x0a\xc2\x7e\xe8\x2c\x9c\xdc\xe4\xc4\x36\x53\xdf\xf0\xa4\xee\x22\xe4\xd8\x71\x77\x4b\x5f\x80\x9a\xb0\xa9\xff\x04\x22\xb8\x13\x5a\xbf\xdc\x99\xbd\x0c\xec\xbd\x87\x27\xab\xab\xa3\xe6\x05\x70\x8a\x50\xde\x72\xc8\x6c\x82\x2d\x88\xb5\xc2\x6f\x60\x44\x11\x9a\xc4\x59\x65\xf8\xf4\xe9\xf3\xe1\xf4\xfc\x7a\x7c\x31\x9a\x7c\x3a\xbf\xb8\x7a\xd1\x95\xe2\xa6\x42\x78\xcb\x5e\x7c\xb6\x3a\xcf\xf0\x4a\x2c\xa8\xe9\xf6\xf0\x18\x5a\x39\x88\x96\x2b\x0f\x11\x8b\x45\x63\x22\xbd\xfe\x5f\xd3\xe5\x0f\x12\xd0\x76\xc1\x96\x38\x41\xef\x5b\xb2\xe5\xe9\x2f\x95\x33\x34\xcb\xb8\xa1\x52\x52\xad\x9a\x78\x23\x93\x65\xc8\x38\x86\xdc\xa8\xdb\x78\x30\x18\x2c\x85\x1f\x68\x35\x1b\x48\x52\x03\xb2\xf2\x06\x99\x06\x25\x49\x9d\xb7\xb7\x45\x38\xef\x87\xf3\xce\x30\x67\x7f\x4c\xaf\xcf\x86\xc3\xf1\x74\x7a\xfd\x61\xfc\xe5\xfa\x7c\xd4\x15\xeb\x37\x6f\xb3\xb8\x21\x08\x73\x46\x7a\xe4\x0f\x58\x5c\xe2\xbc\x2d\xdd\xec\xdb\x50\xe9\x52\xb3\x43\xe5\x06\x8b\x38\xfc\xb9\x56\x49\x87\xd4\xba\x70\x8b\x85\x8e\x81\x7d\x8e\x7b\xe1\x4f\xc7\xc3\xcb\xf1\x55\x25\x8b\x9f\x9f\x82\x90\x12\x89\xae\x6f\xb0\xf8\x6b\x69\x34\x38\xec\x71\xa1\xac\x69\x13\x6a\x97\xeb\xe5\xf8\xfd\xf9\xa7\x8b\x6e\x3e\xd4\x1e\x15\x5d\x8e\x3a\x09\x5b\x12\xfe\xf7\xb0\x2a\xa8\x9b\x89\x25\xa7\xa2\x44\xf9\x46\xdc\x2c\x18\x4d\x04\xa7\x31\x1c\x24\x61\xc5\xd4\x59\xbf\x2f\x54\x8a\x42\x73\xfa\xad\x11\x67\x3b\x91\x27\xd6\x73\x0c\xbf\xbe\x7b\xf5\xae\xa1\xe1\xbc\x65\x2b\xad\x8e\xe1\x6a\x38\xa9\xc8\xb4\x5a\xa2\x41\xa2\x89\xb7\x33\xac\x87\x4c\x99\xdd\x7b\xe4\x66\xd7\x5d\x99\x4e\x37\x10\xb7\x8a\xdf\x25\x0b\xcb\x4e\x09\x3d\x42\x2d\x8a\x29\x4a\x6b\x12\x8a\xe1\xf5\xab\x9a\x0e\xab\x0c\x6d\xce\x5b\xf1\xff\x6b\x52\x87\x5e\xd9\x64\x9f\xed\x5c\x28\x9d\x7b\xbc\x4a\x3d\x52\x6a\x75\x12\x43\x75\x88\xb4\x76\xa0\x47\xb2\xb9\x97\xd8\x18\x83\xdb\xe3\x7d\x6b\xb9\x39\xe4\x3a\x18\xb3\x69\x55\x98\x9c\xce\xdb\xa5\x0a\x0f\xee\xda\xc6\xd8\xed\x43\xe7\x95\xe1\x39\x9c\x3c\xa3\xf8\x59\x18\xa7\x6b\x74\xa4\x12\x94\xc2\x53\xbf\x62\x7f\xde\x5c\x99\x87\x95\x5b\x0b\xb4\xbd\x06\xc3\xbc\x0d\x40\x45\x92\x78\x24\x3a\x7d\xfa\xfc\x6c\x34\xba\x1c\x4f\xa7\x2f\x0e\x8c\xe5\xf6\x7a\x31\x62\xa6\xb1\xdc\x2f\x53\x99\x62\x92\x6b\x65\x16\x5d\xb3\x7f\x8e\x82\x73\x8f\xd1\x42\x30\xd2\xe9\x95\x75\x56\xdb\x45\x71\xda\x79\xf7\xd1\x24\x9d\xeb\x2f\xc4\x8a\x34\x8a\x04\x7d\xb4\x7a\x0c\x2a\x6b\xda\x4b\xa6\x2e\x8f\xb8\x70\x78\xba\xda\xf5\xf4\x90\x05\xb3\xae\x44\xf7\x2c\x39\x66\xa9\xfc\xec\x49\x52\x65\xa2\x60\x16\x32\x3d\x92\x86\x1b\xe3\xc3\x1c\xac\x6b\x3e\x2e\x01\x3b\x5a\xdc\x26\xd1\x7f\x3c\xf8\xf1\x4d\x35\xc2\x51\x6a\x79\xdf\x00\xa3\xb5\x9c\x8f\x64\x4e\xc5\xfe\x30\x79\x5a\xca\x7f\x2f\x7f\x0e\x70\xe5\x9f\xdd\xff\xc6\x92\xfa\x01\x25\x2e\x91\xd4\xb7\xc6\xe8\xae\x52\xc2\x07\xf9\x91\x74\x58\xdb\x1e\xa6\x42\x4d\xf1\xf0\x3f\x82\x67\xfa\xab\x28\xe8\x71\x06\xcd\xbf\x8a\x17\x9b\x40\x9b\x77\x61\x78\xc1\xcc\xf0\xa8\x5e\xd7\x9e\x96\x87\x3b\xde\xa1\x7e\xc4\xf5\x5f\x25\xfd\x78\xa5\x95\xa4\x7a\x55\x87\x1d\xbf\x80\x74\xfa\xc1\xcc\x71\x31\x52\x3e\x86\xbb\xfb\xde\x9f\x01\x00\x00\xff\xff\xae\x5f\x2e\x9f\xad\x15\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/csidriver.yaml": &vfsgen۰CompressedFileInfo{ + name: "csidriver.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 209, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x24\xcc\xb1\x4e\x03\x31\x0c\x06\xe0\x3d\x4f\xf1\xab\xfb\x05\x55\x62\x40\x59\x61\xe9\x80\x90\x40\x62\xf7\x25\x2e\x58\xcd\x39\x47\xec\xb4\x43\xe9\xbb\xa3\xa3\xfb\xa7\x8f\x56\xf9\xe4\x6e\xd2\x34\xc1\xbc\x75\xfa\xe2\x78\x7a\xb2\x28\xed\xe1\xbc\x9f\xd9\x69\x1f\x4e\xa2\x25\xe1\xf9\xe3\xf0\xd2\xe5\xcc\x3d\x2c\xec\x54\xc8\x29\x05\x40\x69\xe1\x04\x9e\x2d\x66\x93\x48\x17\x8b\xb9\x2d\x01\xa8\x34\x73\xb5\x4d\x00\xd7\xeb\x04\xd1\x5c\x47\x61\xec\xe8\x62\x13\xcf\x36\x65\x93\xa9\xfc\x7f\xf1\x6e\x77\x88\xf8\x85\x8a\x16\x56\xc7\x23\x6e\xb7\x60\x2b\xe7\xad\x20\x77\xca\xdf\xef\xfc\x33\xa4\x73\x49\xf0\x3e\x38\x00\x6b\x2b\x07\x3d\xb6\x37\x7d\x6d\x43\x3d\xe1\x48\xd5\x38\xfc\x05\x00\x00\xff\xff\xb6\x90\x9b\xde\xd1\x00\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/node.yaml": &vfsgen۰CompressedFileInfo{ + name: "node.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 3793, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x56\x6d\x6b\x1b\xb9\x13\x7f\x9f\x4f\x31\xf8\xdf\x42\xff\x70\xeb\x6d\xb9\xb6\xf4\x16\xf2\x22\x17\x9b\x9e\xb9\x9e\x6b\xe2\x10\x38\x8e\x23\xc8\xd2\x78\x57\x58\x2b\xe9\xa4\x59\xc7\x6e\x9a\xef\x7e\x68\xd7\x8e\xf7\xc9\x49\xea\x5b\x48\xc0\x9a\x99\xdf\x3c\xe8\x37\x33\xfa\x1f\x4c\x8d\x40\x98\xa3\x5b\x4b\x8e\x67\x2b\xa9\x45\x02\x23\x86\xb9\xd1\x73\xa4\x33\x66\xe5\x0d\x3a\x2f\x8d\x4e\x80\x59\xeb\xe3\xf5\xbb\xb3\x1c\x89\x09\x46\x2c\x39\x03\xd0\x2c\xc7\x04\x70\xe1\x23\xee\x65\xa4\x8d\xc0\xdd\xa1\xb7\x8c\x63\x02\xab\x62\x81\x91\xdf\x7a\xc2\xfc\x0c\x40\xb1\x05\x2a\x1f\xec\x00\xee\xef\x23\x90\x9a\xab\x42\x20\x0c\xd8\x9d\x8f\xf6\x20\xc2\xc9\x35\xba\x61\xa5\x3b\x80\x21\x7c\x07\x2d\xb5\x40\x4d\xf0\x1e\x1e\x1e\xce\xbc\x45\x1e\x20\x3c\x2a\xe4\x64\x5c\x05\x97\x33\xe2\xd9\x97\x1a\x3e\x84\x78\x3b\xa1\xbd\xc4\xf3\x1e\xf8\x4b\x4f\x04\x1f\x43\x04\x00\x84\xb9\x55\x8c\x70\xe7\xbb\x56\x90\xf0\xa9\x46\x18\xc7\x03\x39\xad\x08\x9f\xaa\x10\x1e\xcd\x97\x30\xbc\x61\xaa\x40\x3f\x0c\xd0\x43\x6b\xc4\x85\xd6\x86\x18\x49\xa3\xfd\x41\x97\x1d\x0e\x13\xb8\xbf\x07\x32\x7f\xb2\x5c\x3d\x69\x7b\xd4\x27\x6a\xb1\x3f\xd8\xdf\x46\xe9\x62\xb9\x94\x5a\xd2\xf6\x90\x79\x40\xbd\xe8\x9c\x02\x38\xfc\xa7\x90\x0e\xc5\xa8\x70\x52\xa7\x73\x9e\xa1\x28\x94\xd4\xe9\x24\xd5\xe6\xf1\x78\xbc\x41\x5e\x84\x48\xea\x96\x15\xe6\x7c\x77\x45\xd7\xe8\x72\xdf\x14\x47\x15\x15\xc6\x1b\xeb\xd0\xfb\x32\xdd\x86\x3c\x68\xac\x70\x9b\x00\xae\xfc\x90\xe5\xec\x9b\xd1\xec\xce\x0f\xb9\xc9\x63\x6e\x72\x5b\x10\x46\xb4\xb5\xd8\xb2\x01\x30\x16\x1d\x0b\x74\x83\xa9\xa1\x89\xee\xc8\xd7\x65\x1d\xdb\xbe\x82\xb7\x25\x73\x29\xa3\x3d\x62\x3d\xfc\x83\x76\xe8\x13\xa7\x91\xd0\x0f\xa5\x89\x8d\x4f\x40\x49\x5d\x6c\x8e\xc8\x99\xe3\x59\x02\x2c\x17\x1f\xdf\xef\x34\x32\xe3\x69\x8a\x74\x67\xdc\x2a\x01\x72\xc5\xde\x9b\x75\xd2\x38\x49\xdb\x4b\xc5\xbc\x9f\x96\xcd\x5a\x75\x63\xc9\xc3\x88\x3b\x49\x92\x33\xb5\xd3\x26\xa3\x42\x92\xcd\xa2\x45\xb5\xd4\xc7\x1b\xe9\xc9\x37\xe8\x7b\x27\x29\x6b\xb2\xa8\x86\x12\x58\x52\xe3\x1a\x7c\x87\x2e\xa1\x3a\x94\x02\xe0\x46\x13\x93\x1a\x5d\x23\x8c\xc3\xac\xb1\xaa\x48\x65\xfd\x0a\x3c\xf2\xa2\x4c\xd3\x68\xc2\x0d\x35\x6f\xc1\x3a\xb9\x96\x0a\x53\x14\x8d\xd2\x84\x4f\xe6\x2c\xc5\xb2\x1d\xf6\x19\x94\x27\x43\x87\xd6\x78\x49\xc6\x6d\xe1\xe1\x21\xe9\x88\x89\xa5\xf5\xf8\x01\x98\x4b\x3b\x34\x6c\x34\x7a\x75\x14\x45\xa8\x85\x35\x52\xd3\xf9\xab\x37\x97\xf3\xc9\xed\x78\x3a\x9a\x7d\x9d\x4c\xaf\xff\xdf\x51\x54\x26\x25\xe3\x49\xa0\x73\x1d\xd9\xfa\xfc\x43\xed\x0c\xf5\xba\xe3\xba\xac\x54\xdd\x41\x8b\x96\x25\x59\x13\x28\xb4\xdc\x24\x31\xf7\x32\xfc\x0d\xbd\xe1\xab\x9a\xde\xda\xa8\x22\xc7\x3f\x4c\xa1\xa9\x9b\x5b\xe9\x20\x90\x52\x21\x45\x42\xba\x16\x7e\x1e\xac\x66\x8c\xb2\x04\xe2\x35\x73\xb1\x92\x8b\x78\xa7\xdd\xab\xe9\x8c\x65\x69\x49\x99\x04\x06\xbf\x4a\x21\x1d\xf2\xf0\x8b\xa9\x41\xaf\xe7\x8a\x00\xcf\x38\xe6\x5e\xf6\x1a\x0b\x0c\xab\xee\x19\x63\x81\xeb\x9a\xd4\x1a\x77\xac\x08\x19\x32\x45\xd9\xb7\x16\xd4\x23\x83\x67\xc6\x51\x02\xbf\x7c\x7a\xfb\xa9\xa5\x61\x9d\x21\xc3\x8d\x4a\xe0\xfa\x72\x56\x93\x29\xb9\x46\x8d\xde\xcf\x9c\x59\x60\xd3\x65\x46\x64\x3f\x23\xb5\x67\x8c\xad\x22\xee\x0f\xc4\x96\xfe\xfb\x64\x61\x28\x4b\xa6\x46\xa8\xd8\x76\x8e\xdc\x68\xe1\x13\x78\xf7\xb6\xa1\x43\x32\x47\x53\xd0\xa3\xf8\xe7\x66\x63\xa1\x93\x46\x1c\xb3\x5d\x32\xa9\x0a\x87\xd7\x99\x43\x9f\x19\x25\x12\xf8\xd0\x69\xe6\x72\x08\x55\xbb\x2e\x72\x98\x4a\x4f\x8e\xb9\xde\xfe\xb4\x4e\x6a\x5a\xc2\xe0\xb5\x4f\x5e\x87\x85\xb8\xeb\x47\x2f\x05\x72\xe6\xaa\xc9\x33\x2a\x81\xae\xf6\x38\x93\x76\x2b\xbf\xdc\xe8\x45\x0d\x1e\x95\x9b\x9a\x09\x11\x16\xcd\xf9\xab\x37\x17\xa3\xd1\xd5\x78\x3e\xef\xf6\xf2\xbe\x4f\xf6\x19\x06\x66\x47\xe1\xd6\xce\x5f\xbd\x19\x5d\x4d\x6e\xc6\x57\xb7\x57\xe3\xcf\xb7\xf3\xaf\x97\xbf\xdf\xce\x2e\xae\x7f\xeb\x22\x34\x3b\x5e\xc9\x25\xf2\x2d\x57\xd8\x9e\x73\x38\x27\x63\xdb\xf4\xc0\xcd\x61\x43\x1f\x3e\x6e\xf2\x9c\x85\xb7\xde\x5f\x83\x78\x21\x75\xec\xb3\xc1\x4f\x30\x88\x78\xf8\xef\x72\x88\xdc\x12\xe2\x7a\xbc\x31\x2e\xfc\x30\x4c\x89\xdd\xb2\x0c\xc9\x94\x13\x03\x1a\xf3\x63\xf0\xf7\x4b\x26\xd3\xae\x52\xfd\x43\xe9\xd8\x3c\x3a\x98\xf7\xd5\xec\x08\x56\x6b\xf8\xc4\xd5\xe0\xf0\xed\x6c\x4e\x9b\x7f\xff\x69\x0a\x35\xc8\xf0\x34\x44\x5d\xb5\xd3\x42\xfb\x79\x11\xd9\x30\x30\x4e\xea\x9d\xc6\xc8\x79\xbe\x6b\x7a\xd4\x4f\xe8\x97\xd3\xd7\xce\x0f\x96\xbd\x02\xec\x79\x49\xf4\xaf\xaf\xf0\x92\x2a\x31\x9a\xbd\xf5\xfc\x2e\x0b\xaf\xc6\x04\x46\xe5\xea\x32\x6e\xdb\x71\xd7\x1b\xf6\x8f\x78\x3b\x4a\xde\xa7\xc2\xf8\xea\x2e\x1d\x1e\x5e\x9f\x2f\xe2\xdf\x29\x41\xdd\xee\xf0\xb6\x4f\x46\xd3\x89\xa2\x77\x17\x3f\xe9\xbf\xb9\x98\xbb\x1e\xfe\x0d\x00\x00\xff\xff\xfc\x07\x6d\xd6\xd1\x0e\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/role-snapshot-controller-leaderelection.yaml": &vfsgen۰CompressedFileInfo{ + name: "role-snapshot-controller-leaderelection.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 398, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x4c\x8f\xb1\x4e\x03\x31\x10\x44\x7b\x7f\xc5\xea\x6a\x7c\x08\x89\x02\xdd\x0f\xd0\x83\x94\x06\xa5\xd8\xb3\x07\x62\x65\xcf\x3e\xed\xda\x89\x20\xe4\xdf\x91\x2f\x29\xe8\x9e\xd6\xa3\xe7\x99\xcb\xc5\x53\xfa\xa4\x71\xc7\xd2\x60\x23\x32\xcf\x82\x5d\x91\xb6\xe0\x3d\xf3\x6a\x87\x52\xe9\x7a\x75\xde\x7b\x77\x4c\x39\x4e\xf4\x56\x04\x8e\xd7\xb4\x83\x5a\x2a\x79\x22\x9d\x39\x8c\xdc\xea\xa1\x68\xfa\xe1\x9a\x4a\x1e\x8f\x2f\x36\xa6\xf2\x78\x7a\x72\x0b\x2a\x47\xae\x3c\x39\xa2\xcc\x0b\x26\xc2\x6c\xde\xee\x66\x1f\x4a\xae\x5a\x44\xa0\x5e\xc0\x11\x0a\x41\xe8\x8a\x7b\xdc\x56\x0e\x98\xe8\xd8\x66\x78\xfb\xb6\x8a\xc5\x11\x09\xcf\x10\xeb\x46\xa2\xad\x7e\x0e\xd2\x22\x68\xe0\xb3\xf9\xae\x0f\x96\x7c\xd4\x74\x82\x8e\xb7\xec\x40\x23\xfd\x52\x4e\x39\x22\x57\x7a\xee\x83\xb4\x09\x36\x87\x27\x5e\xd3\xab\x96\xb6\xda\x44\x1f\x43\x28\x45\x63\xca\xff\x77\x0c\xfb\xed\x2b\x85\x95\xa6\x01\x5b\x4c\xc0\x06\xbb\xbf\x9c\xa0\xf3\x76\xfd\x42\x1d\x1e\x68\x38\x73\x0d\x87\x0e\x92\x6c\x3b\x44\x08\x2a\x3a\xb5\x35\xf2\x8d\x82\xa2\xd3\xde\xb9\xbe\x01\x39\xf6\x56\x7f\x01\x00\x00\xff\xff\x66\x90\xf8\x38\x8e\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/rolebinding-snapshot-controller-leaderelection.yaml": &vfsgen۰CompressedFileInfo{ + name: "rolebinding-snapshot-controller-leaderelection.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 462, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x90\xbd\x4e\x03\x31\x10\x06\x7b\x3f\xc5\x2a\xbd\x8d\x90\x28\xd0\x75\xd0\xd0\x27\x52\xfa\x3d\xfb\x0b\x59\xe2\x5b\x9f\xfc\x13\x04\x21\xef\x8e\x9c\x8b\xa0\x89\x90\xe8\x77\x47\xdf\xcc\xe9\x64\x49\x76\xe4\xb6\x1c\x1b\x8a\x83\xf2\x18\xb1\x4d\xb1\x4d\xd8\x28\xcf\x65\x9f\x2a\x9d\xcf\xc6\x5a\x6b\x0e\xa2\x61\xa0\x75\x8a\x78\x16\x0d\xa2\xaf\x86\x67\xd9\x22\x17\x49\x3a\x50\x1e\xd9\x3b\x6e\x75\x9f\xb2\x7c\x72\x95\xa4\xee\xf0\x58\x9c\xa4\xbb\xe3\xbd\x99\x50\x39\x70\xe5\xc1\x10\x29\x4f\x18\xa8\x5c\xe1\xd6\x27\xad\x39\xc5\x88\x6c\x23\x38\x20\x23\xc2\xf7\xf7\xeb\x69\x99\xd9\x63\xa0\x43\x1b\x61\xcb\x47\xa9\x98\x0c\x51\xe4\x11\xb1\x74\x1a\xd1\xc5\x40\x7d\x6c\x01\xb4\xe2\xf7\x62\x31\x16\xeb\x8b\xd8\x90\xe5\x88\xec\x96\xdb\x15\x39\xfa\x22\x15\x0d\xd0\x4a\x0f\xdd\xa9\xb4\xf1\x0d\xbe\x5e\x30\x96\x16\xbb\x0d\xf2\x51\x3c\x9e\xbc\x4f\x4d\xeb\x85\xbf\xec\xed\xd0\x1b\x9b\x7f\x2e\x6e\xcc\xcc\x29\x62\x8d\x5d\xc7\xff\xa6\xfb\x5f\x00\x9e\xe5\x25\xa7\x36\xff\x91\xd7\x98\x1e\x00\x1a\xba\xd2\x77\x00\x00\x00\xff\xff\x13\xae\x60\x48\xce\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-csi-controller.yaml": &vfsgen۰CompressedFileInfo{ + name: "serviceaccount-csi-controller.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 470, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x90\x41\x8b\xdb\x30\x10\x85\xef\xfe\x15\x0f\xf7\x6c\xed\x2e\x34\x9b\xa0\x5b\x0e\x39\x94\xd2\x1e\x1a\x08\xf4\x38\x96\x27\x54\x58\x1a\xa5\x1a\x39\xa6\x71\xf3\xdf\x8b\x71\x43\x92\xc3\x5e\x04\x4f\xfa\xe6\xe9\x63\xe8\xe4\x0f\x9c\xd5\x27\xb1\x38\xbf\x55\xbd\x97\xce\x62\xcf\xf9\xec\x1d\x6f\x9d\x4b\x83\x94\x2a\x72\xa1\x8e\x0a\xd9\x0a\x10\x8a\x6c\xc1\xad\x36\x4e\x7d\xe3\x92\x94\x9c\x42\xe0\xdc\x28\xfd\x7f\xd5\x13\x39\xb6\xe8\x87\x96\x1b\xfd\xa3\x85\x63\x05\x04\x6a\x39\xe8\x5c\x00\x4c\x53\x03\x2f\x2e\x0c\x1d\xa3\xa6\x51\x9b\x5b\x5b\x97\xfd\x99\xb3\x59\xd8\x1a\x06\x7f\x21\x5e\x3a\x96\x82\xcf\xb8\x5e\xab\x65\x74\xf4\xe5\x17\xcc\x81\xc2\xc0\x6a\xf4\xc9\xd4\xdc\x7d\x0c\x89\xa4\x42\xc5\x27\xd1\x65\xf6\xe1\xc2\x62\x9a\x50\xd2\x4f\x8a\xe1\xa3\x5f\x58\xba\x7b\xf0\x47\xf0\x6f\x98\x1f\x1c\x98\x94\xcd\x77\x8a\x8c\xba\x1f\xb4\xa4\xe8\x2f\x5c\x2f\xe0\xa7\x9d\x50\x1b\x78\x86\x77\x5f\xf7\xf8\xb2\xfd\x86\x63\xca\xd8\x6f\xe1\x15\x83\x72\x37\x33\x8f\x12\x73\x06\xb8\x57\x43\x91\x2e\x49\x68\x54\xe3\x52\x7c\xc9\x29\x70\x43\x59\x2c\xe6\x83\x46\xb5\x9e\xa2\xb5\xab\xcd\xfb\xea\x7d\xb5\xde\xac\x5f\xdf\x5e\xed\xcc\xbc\xdc\xf6\x36\x87\x67\xed\x7f\x01\x00\x00\xff\xff\x0c\x9a\xf5\x4c\xd6\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-snapshot-controller.yaml": &vfsgen۰CompressedFileInfo{ + name: "serviceaccount-snapshot-controller.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 341, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x8f\xc1\x6a\xec\x30\x0c\x45\xf7\xfe\x8a\xcb\xec\x6d\x78\xf0\x56\xde\xf5\x1b\x06\x02\x5d\x2a\xb6\xca\x98\x71\xe4\x60\x29\x19\x4a\x3a\xff\x5e\xd2\x4c\xcb\x74\xd1\x9d\x2d\xe9\x1e\x1d\x6d\x9b\x47\x79\x43\x18\xa8\x2e\xac\x81\x85\xc6\xca\x43\xab\xcb\xc4\x67\xa1\x59\x2f\xcd\x70\xbf\x3b\xef\xbd\xa3\xb9\x0c\xdc\xb5\x34\x89\x58\xff\xb9\x6b\x91\x1c\x71\xe6\xbe\x96\xc4\x2f\x29\xb5\x45\xcc\x4d\x6c\x94\xc9\x28\x3a\x40\x68\xe2\x08\x1e\xd5\xeb\x83\xe4\x53\x13\xeb\xad\x56\xee\x8f\xbe\xce\x94\x38\xe2\xba\x8c\xec\xf5\x5d\x8d\x27\x07\x54\x1a\xb9\xea\x8e\x00\xbe\xfc\x24\xd5\x25\x33\x4e\x74\x53\xbf\xf3\x92\x16\x9f\x7b\x59\xb9\x87\x63\xf6\x84\x80\x0f\x48\x91\xcc\x62\xf8\xbf\x1b\x1f\xd1\x5b\xb1\xcb\xcf\x71\xfa\xcb\x35\x7c\x5b\x05\x12\x69\x46\x56\x9a\xe8\x91\x7c\x2a\x44\x6c\x1b\xac\xbd\xd2\x54\xff\xda\xc1\x92\xf7\xcf\xd3\xf3\x33\x00\x00\xff\xff\xe9\x38\xd0\xbb\x55\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/statefulset.yaml": &vfsgen۰CompressedFileInfo{ + name: "statefulset.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 860, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x92\xc1\x8b\xea\x30\x10\xc6\xef\x85\xfe\x0f\x83\xef\x9c\x4a\x1f\xef\x2d\x12\xf0\xb0\x77\xd9\x8b\xe0\x7d\x9a\x8e\x1a\x4c\x93\x6c\x26\xed\x22\xae\xff\xfb\xd2\xb4\x4a\x97\x15\x95\xcd\x2d\xd3\x99\x6f\x7e\xdf\xd7\x9c\x4e\x02\xf4\x16\x8a\x0d\x9a\x96\xb8\x20\x8b\x95\xa1\x8d\x33\x6d\x43\x6b\x8b\x9e\xf7\x2e\xc2\xf9\x9c\x67\x7f\xae\x37\xe5\x6c\x0c\xce\x18\x0a\x79\x76\xd0\xb6\x96\xb0\x8e\x18\x69\xdb\x9a\x35\xc5\x3c\x43\xaf\x37\x14\x58\x3b\x2b\x01\xbd\xe7\x79\x57\xe6\x59\x43\x11\x6b\x8c\x28\xf3\x0c\xc0\x62\x43\x12\xa8\x62\xc1\xa3\xa6\x98\x6a\x0e\x0d\xec\x51\x91\x84\x43\x5b\x91\xe0\x23\x47\x6a\xfa\x2f\x06\x2b\x32\x9c\x54\x00\x12\xba\x55\xa6\xad\x09\x66\xf8\xc1\xa2\x97\x54\xac\x45\x1d\x74\x47\xa1\x18\x9a\x67\x50\xc0\x27\x58\x6d\x6b\xb2\x11\xfe\x25\x33\xec\x49\x25\x11\xa6\xd0\x69\x45\x6f\x8f\x88\x02\x79\xa3\x15\xb2\x84\x72\x18\x33\xa4\xa2\x0b\x23\x48\x83\x51\xed\x57\x53\x34\xe8\xad\xdf\x55\x7c\xc6\xc0\x65\xcd\xea\x86\x91\x97\x64\x04\x20\x52\xe3\x0d\x46\xba\xa0\x4c\x83\xee\x8f\xf9\x8e\xf5\x1c\xd8\xef\xb2\x5d\x8c\x48\x00\xd7\x7c\xd3\x65\xc8\xf8\x55\x29\xd7\xda\xf8\x30\xea\xfe\xf4\x15\xd4\x96\xc2\x14\x5c\x8c\x0f\xe7\x2e\x37\x80\x6e\x70\x47\x12\xde\x5b\x3c\x16\xda\xcd\x0f\x0b\x56\xac\xe7\x37\x86\x64\xf7\xb7\x28\x8b\x72\x3a\x8b\x61\x37\xdd\x38\x6c\x15\xa2\x5b\xfe\xff\x59\x34\x84\x35\x05\x91\x7e\x91\x76\x76\xb9\x45\xc3\x94\x67\x7d\x70\x64\xeb\x14\xc5\x57\x00\x00\x00\xff\xff\x84\x95\x8b\x6a\x5c\x03\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/templates/storageclass.yaml": &vfsgen۰CompressedFileInfo{ + name: "storageclass.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 269, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x4c\x8e\x31\x6b\xc3\x40\x0c\x46\xf7\xfb\x15\x22\xbb\xaf\x74\x2b\x37\x36\x25\x5b\xa7\x42\x3a\xcb\x3e\x25\x08\xfb\xa4\x20\xe9\xdc\x21\xe4\xbf\x17\x3b\x14\x3a\x7f\x1f\xef\xbd\x99\xa5\x16\xf8\x0a\x35\xbc\xd2\x71\x41\xf7\x84\x37\x3e\x93\x39\xab\x14\xf0\xe7\x90\xe7\x37\xcf\xac\x2f\xeb\x6b\x6a\x14\x58\x31\xb0\x24\x00\xc1\x46\x05\x68\xf4\xc1\xa7\x74\xbf\x0f\xc0\x17\xc8\x67\x5c\x3a\x79\x26\xc1\x71\xa1\x0f\xba\x60\x5f\xe2\x3f\x1f\x1e\x8f\x04\x80\x22\x1a\x18\xac\xe2\x1b\x09\xfe\x4c\xd3\x76\xc9\x73\x1f\xc9\x84\x82\x76\x2b\xfb\x50\x9f\x9c\x61\x9f\x0b\x1c\xc2\x3a\x1d\x76\x25\x49\xdd\x88\x37\xd3\x95\xb7\x66\xb2\xbd\x28\x4f\xce\x19\x7f\x3c\x4f\xda\xd2\xaa\x4b\x6f\xf4\xce\x52\x59\xae\x9f\x5a\xa9\xc0\x37\x72\x9c\xd4\x4e\x6c\x1e\x47\x15\xef\x8d\x2c\xfd\x06\x00\x00\xff\xff\xa9\xd1\x41\xcb\x0d\x01\x00\x00"), + }, + "/components/aws-ebs-csi-driver/manifests/values.yaml": &vfsgen۰CompressedFileInfo{ + name: "values.yaml", + modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), + uncompressedSize: 2113, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\xc1\x6e\x1b\x37\x10\xbd\xf3\x2b\x06\xd6\x21\x17\x6b\x6d\xa9\x28\x10\xec\xcd\xb5\x5d\xc0\x40\xdd\x18\x51\xd0\xa0\x08\x72\x18\x71\x67\xa5\xa9\xb9\xe4\x66\x86\x5c\x57\x29\xfa\xef\x05\xb9\xbb\x8e\x1c\xa7\x48\x7c\x5a\x9b\x9c\xf7\x66\x38\x7c\xf3\xa8\x05\x5c\x51\x8b\xc9\x45\x18\xd0\x25\x52\x68\x83\x00\x3e\xe8\x92\xb6\xba\xb4\xca\xcb\x46\x78\x20\xa9\xcc\x02\xde\xed\x59\x81\x15\x10\xfe\xbc\xb8\xfd\x6d\xd9\x06\xe9\x30\x46\x6a\xa0\x65\x47\x39\xe0\x8a\xac\x43\x21\x18\x50\x18\xb7\x8e\x14\x62\x80\x2d\x41\x8f\xaa\xd4\x00\xfb\x18\xe0\x10\x92\x40\xa4\xae\x77\x18\x49\x2b\x63\x84\x7a\xc7\x16\x2f\x43\xf2\xb1\x86\xb5\x31\xdc\xe1\x8e\x6a\x03\x20\xd4\x07\xe5\x18\xe4\x50\x03\x76\xf8\x39\xf8\xb3\xe7\x85\x19\x80\x88\xbb\x1a\x4e\x86\xf3\xea\xe7\xea\xfc\xc4\x00\xf4\xc9\xb9\xbb\xe0\xd8\x1e\x6a\xb8\x69\x7f\x0f\xf1\x4e\x48\xc9\x47\x63\x94\x1b\xb2\x28\x9a\xd9\x7b\x09\x03\x2b\x07\x4f\x72\x33\x67\x7c\x9a\xf3\x53\xc2\x43\xc5\xe1\xec\xfe\xb5\x5a\xe5\xb3\x9c\xf3\x08\x54\xc2\xa7\xd4\xab\x39\x35\xc6\x88\x76\xff\x12\xc6\x19\xf1\x94\x6e\x3d\xd2\xa9\xc7\x5e\xf7\x21\xc6\x97\x30\x1e\x81\x8e\x49\xd7\xd5\xaa\x5a\x65\x52\xc7\x03\x79\x52\xbd\x93\xb0\xa5\x1f\xa3\x9d\x21\x7d\x86\x3c\xad\x74\x35\x56\x2a\xa4\xfc\xf9\x25\x55\x4e\x80\x63\xb2\xf3\xea\xa7\x91\xcc\x87\x86\xae\xca\xed\xbe\xa5\x1d\x6b\x14\x7c\x01\x71\x06\x4f\xda\x58\xca\x0c\xff\x46\xcd\xa3\xce\xee\x92\x73\x1b\xb2\x42\x51\x6b\xf8\xf0\xd1\x78\xec\xe8\xcd\x40\x22\xdc\x50\x0d\x27\x27\xa6\x4d\xce\x3d\x5b\x34\x7d\x68\x2e\xbc\x0f\x11\x23\x07\xaf\x35\xfc\xf3\xaf\xc9\x03\x22\x89\x80\x5b\x20\x9f\xd5\x0f\x43\x70\xa9\x23\x50\xbb\xa7\x26\x39\xf6\xbb\x32\x5b\xcd\xc1\x63\xc7\x76\xde\x7d\x54\x14\xfb\x9d\x19\x81\x7f\x94\x9d\xcd\x23\xac\x86\x16\x9d\xd2\xff\x67\x28\xbd\xfc\x1a\xff\x76\x5a\xfc\x2e\x7a\xd6\xcb\xd3\xec\xd3\xe2\x23\x5a\x48\x43\x12\x4b\xe3\x61\x01\x16\xf0\x9e\x20\x69\x42\xe7\x0e\x20\x64\x43\xd7\x91\x6f\xc0\x87\x98\x87\x5e\x7b\xb2\xdc\x1e\xa0\x99\xbc\xe5\x11\x0d\xe8\x9b\x1c\xe0\x08\x07\x82\x98\x1d\x05\xb3\xa3\xd8\xe0\xd5\x72\x48\x5a\xa8\xed\x3e\xb0\xa5\xd2\xae\xb8\xcf\x69\x48\xaa\xd1\x7e\xd0\x69\x00\xf6\x56\x08\x95\x14\xec\x1e\xbd\x1d\xbf\x12\x15\x24\x79\x08\x1e\xc8\x0f\x2c\xc1\x77\xe4\xa3\xc2\x03\xc7\x3d\x38\x8e\xd1\x51\xe1\x7e\x2c\xe5\x14\x34\xd9\x7d\x4e\x7f\xcb\x9e\xef\xd3\x96\x2a\xb8\x69\xb3\x41\x41\x13\xe0\x01\xfd\x93\x93\x1c\xc1\x92\x1f\x4f\x1b\x4b\x71\x6d\x70\x2e\x3c\xe4\xee\x67\x76\xc7\x3e\x87\x60\xf3\x57\xd2\xb2\xdf\xe5\x04\x9e\x2c\xa9\xa2\x1c\x4e\xcb\xf9\x85\xba\x50\x4e\x4f\x60\x93\xb8\x03\x6c\x05\x4b\x6f\xda\x48\x02\xaf\xbe\xb4\xfa\x55\x35\x91\x76\x1c\x8b\x69\x2d\x00\xc0\xf6\xa9\x86\xd5\xf9\x79\x37\xfd\xdf\x51\x57\x66\x61\xb5\x7e\x7d\xcb\xd3\x11\x3f\x25\xd2\x1f\x45\x98\x3c\x31\x1b\x72\x64\x63\x90\x51\xca\x31\x38\x92\x59\xdb\x1f\x3e\x1a\x83\x6d\xcb\x9e\xe3\x61\x56\xfa\xf5\xdf\x51\x70\x16\x50\xc4\x5d\x71\xfa\xd1\xca\xf2\x5f\x94\xbf\x93\xd0\x8b\x40\xbe\xf8\x66\x33\xa1\xf2\x7b\xb1\x5c\x2e\xcd\x02\x28\x73\x8d\xaa\x7b\x87\x3b\xad\x4d\x2e\xf1\x9e\x0e\xab\x7a\x7c\x92\x56\xf3\xc2\x7a\x5a\x58\x9b\xaf\x21\x53\x55\x17\xef\x37\x90\x47\x3e\xf8\x5c\x44\xd2\xf1\x42\xb3\x24\xc7\x5b\x64\x6a\x72\xd3\x7d\xe9\xfc\x14\xf8\xc0\xce\xe5\x37\xca\x85\x70\x4f\x0d\xa4\x1e\x06\xc6\x12\x90\xd9\xae\x2f\xd7\xd0\x51\xc4\x06\x23\x9a\x05\x28\xc9\xc0\xf6\xa8\xf6\x91\xa4\x86\xa4\x4b\x42\x8d\xcb\x95\x99\x57\xb2\x4b\xe4\xc6\x96\xa7\xe6\xb9\x5b\x00\x3c\xeb\xf1\x44\x7e\x61\x6d\x79\x0a\x0d\xe4\xa1\x88\x12\x9c\x23\x19\x9d\x0f\x9f\x91\xcc\xb3\xfb\xed\x7d\xb3\x80\x5f\xf3\xf4\xe6\x99\xcf\xb2\x9e\x35\x9d\x94\x00\xa1\xe1\xb6\x25\xc9\x32\xd6\x18\x04\x77\x04\xa1\xcf\xd8\x53\xa0\x6a\x57\xc1\x9b\x9e\xfc\xf5\x2f\x9b\xc9\x15\xa6\x1f\x09\x9b\x31\xf2\xd2\xa1\x6a\x0d\x51\x12\x99\xff\x02\x00\x00\xff\xff\xaa\xfd\x89\xb4\x41\x08\x00\x00"), + }, "/components/cert-manager": &vfsgen۰DirInfo{ name: "cert-manager", modTime: time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC), @@ -4867,6 +5047,7 @@ var vfsgenAssets = func() http.FileSystem { fs["/lokomotive-kubernetes"].(os.FileInfo), } fs["/components"].(*vfsgen۰DirInfo).entries = []os.FileInfo{ + fs["/components/aws-ebs-csi-driver"].(os.FileInfo), fs["/components/cert-manager"].(os.FileInfo), fs["/components/cluster-autoscaler"].(os.FileInfo), fs["/components/contour"].(os.FileInfo), @@ -4878,6 +5059,38 @@ var vfsgenAssets = func() http.FileSystem { fs["/components/rook-ceph"].(os.FileInfo), fs["/components/velero"].(os.FileInfo), } + fs["/components/aws-ebs-csi-driver"].(*vfsgen۰DirInfo).entries = []os.FileInfo{ + fs["/components/aws-ebs-csi-driver/.helmignore"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests"].(os.FileInfo), + } + fs["/components/aws-ebs-csi-driver/manifests"].(*vfsgen۰DirInfo).entries = []os.FileInfo{ + fs["/components/aws-ebs-csi-driver/manifests/Chart.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/values.yaml"].(os.FileInfo), + } + fs["/components/aws-ebs-csi-driver/manifests/templates"].(*vfsgen۰DirInfo).entries = []os.FileInfo{ + fs["/components/aws-ebs-csi-driver/manifests/templates/NOTES.txt"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/_helpers.tpl"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrole-attacher.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrole-provisioner.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrole-resizer.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshot-controller.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrole-snapshotter.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-attacher.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-provisioner.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-resizer.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshot-controller.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/clusterrolebinding-snapshotter.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/controller.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/csidriver.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/node.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/role-snapshot-controller-leaderelection.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/rolebinding-snapshot-controller-leaderelection.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-csi-controller.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/serviceaccount-snapshot-controller.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/statefulset.yaml"].(os.FileInfo), + fs["/components/aws-ebs-csi-driver/manifests/templates/storageclass.yaml"].(os.FileInfo), + } fs["/components/cert-manager"].(*vfsgen۰DirInfo).entries = []os.FileInfo{ fs["/components/cert-manager/manifests"].(os.FileInfo), } diff --git a/pkg/components/aws-ebs-csi-driver/component.go b/pkg/components/aws-ebs-csi-driver/component.go new file mode 100644 index 000000000..123b88cb6 --- /dev/null +++ b/pkg/components/aws-ebs-csi-driver/component.go @@ -0,0 +1,81 @@ +// Copyright 2020 The Lokomotive Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package awsebscsidriver + +import ( + "fmt" + + "github.com/hashicorp/hcl/v2" + "github.com/hashicorp/hcl/v2/gohcl" + "github.com/kinvolk/lokomotive/pkg/components" + "github.com/kinvolk/lokomotive/pkg/components/util" +) + +const name = "aws-ebs-csi-driver" + +const chartValuesTmpl = ` +enableDefaultStorageClass: {{ .EnableDefaultStorageClass }} +` + +//nolint:gochecknoinits +func init() { + components.Register(name, newComponent()) +} + +type component struct { + EnableDefaultStorageClass bool `hcl:"enable_default_storage_class,optional"` +} + +func newComponent() *component { + return &component{ + EnableDefaultStorageClass: true, + } +} + +// LoadConfig loads the component config. +func (c *component) LoadConfig(configBody *hcl.Body, evalContext *hcl.EvalContext) hcl.Diagnostics { + if configBody == nil { + return hcl.Diagnostics{} + } + + return gohcl.DecodeBody(*configBody, evalContext, c) +} + +// RenderManifests renders the Helm chart templates with values provided. +func (c *component) RenderManifests() (map[string]string, error) { + helmChart, err := util.LoadChartFromAssets(fmt.Sprintf("/components/%s/manifests", name)) + if err != nil { + return nil, fmt.Errorf("loading chart from assets failed: %w", err) + } + + values, err := util.RenderTemplate(chartValuesTmpl, c) + if err != nil { + return nil, fmt.Errorf("rendering chart values template failed: %w", err) + } + + renderedFiles, err := util.RenderChart(helmChart, name, c.Metadata().Namespace, values) + if err != nil { + return nil, fmt.Errorf("rendering chart failed: %w", err) + } + + return renderedFiles, nil +} + +func (c *component) Metadata() components.Metadata { + return components.Metadata{ + Name: name, + Namespace: "kube-system", + } +} diff --git a/pkg/components/aws-ebs-csi-driver/component_test.go b/pkg/components/aws-ebs-csi-driver/component_test.go new file mode 100644 index 000000000..742020dd4 --- /dev/null +++ b/pkg/components/aws-ebs-csi-driver/component_test.go @@ -0,0 +1,139 @@ +// Copyright 2020 The Lokomotive Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// nolint:testpackage +package awsebscsidriver + +import ( + "strings" + "testing" + + "github.com/hashicorp/hcl/v2" + "github.com/kinvolk/lokomotive/pkg/components/util" +) + +func TestStorageClassEmptyConfig(t *testing.T) { + configHCL := `component "aws-ebs-csi-driver" {}` + + component := newComponent() + + body, diagnostics := util.GetComponentBody(configHCL, name) + if diagnostics != nil { + t.Fatalf("Error getting component body: %v", diagnostics) + } + + diagnostics = component.LoadConfig(body, &hcl.EvalContext{}) + if diagnostics.HasErrors() { + t.Fatalf("Valid config should not return error, got: %s", diagnostics) + } + + m, err := component.RenderManifests() + if err != nil { + t.Fatalf("Rendering manifests with valid config should succeed, got: %s", err) + } + + if len(m) == 0 { + t.Fatalf("Rendered manifests shouldn't be empty") + } + + storageClassFound := false + for _, v := range m { + storageClassFound = strings.Contains(v, "storageclass.kubernetes.io/is-default-class: \"true\"") + if storageClassFound { + break + } + } + + if !storageClassFound { + t.Fatalf("Empty config should apply default storage class") + } +} + +func TestStorageClassEnabled(t *testing.T) { + configHCL := `component "aws-ebs-csi-driver" { + enable_default_storage_class = true + }` + + component := newComponent() + + body, diagnostics := util.GetComponentBody(configHCL, name) + if diagnostics != nil { + t.Fatalf("Error getting component body: %v", diagnostics) + } + + diagnostics = component.LoadConfig(body, &hcl.EvalContext{}) + if diagnostics.HasErrors() { + t.Fatalf("Valid config should not return error, got: %s", diagnostics) + } + + m, err := component.RenderManifests() + if err != nil { + t.Fatalf("Rendering manifests with valid config should succeed, got: %s", err) + } + + if len(m) == 0 { + t.Fatalf("Rendered manifests shouldn't be empty") + } + + storageClassFound := false + for _, v := range m { + storageClassFound = strings.Contains(v, "storageclass.kubernetes.io/is-default-class: \"true\"") + if storageClassFound { + break + } + } + + if !storageClassFound { + t.Fatalf("Default storage class should be set") + } +} + +func TestStorageClassDisabled(t *testing.T) { + configHCL := `component "aws-ebs-csi-driver" { + enable_default_storage_class = false + }` + + component := newComponent() + + body, diagnostics := util.GetComponentBody(configHCL, name) + if diagnostics != nil { + t.Fatalf("Error getting component body: %v", diagnostics) + } + + diagnostics = component.LoadConfig(body, &hcl.EvalContext{}) + if diagnostics.HasErrors() { + t.Fatalf("Valid config should not return error, got: %s", diagnostics) + } + + m, err := component.RenderManifests() + if err != nil { + t.Fatalf("Rendering manifests with valid config should succeed, got: %s", err) + } + + if len(m) == 0 { + t.Fatalf("Rendered manifests shouldn't be empty") + } + + storageClassFound := true + for _, v := range m { + storageClassFound = strings.Contains(v, "storageclass.kubernetes.io/is-default-class: \"true\"") + if storageClassFound { + break + } + } + + if storageClassFound { + t.Fatalf("Default storage class should not be set") + } +} diff --git a/pkg/components/aws-ebs-csi-driver/doc.go b/pkg/components/aws-ebs-csi-driver/doc.go new file mode 100644 index 000000000..b3d9dd121 --- /dev/null +++ b/pkg/components/aws-ebs-csi-driver/doc.go @@ -0,0 +1,16 @@ +// Copyright 2020 The Lokomotive Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Package awsebscsidriver contains code for the aws-ebs-csi-driver component. +package awsebscsidriver diff --git a/test/components/aws-ebs-csi-driver/aws-ebs-csi-driver_test.go b/test/components/aws-ebs-csi-driver/aws-ebs-csi-driver_test.go new file mode 100644 index 000000000..9d1ff8039 --- /dev/null +++ b/test/components/aws-ebs-csi-driver/aws-ebs-csi-driver_test.go @@ -0,0 +1,49 @@ +// Copyright 2020 The Lokomotive Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +build aws aws_edge +// +build e2e + +// nolint:testpackage +package awsebscsidriver + +import ( + "fmt" + "testing" + "time" + + testutil "github.com/kinvolk/lokomotive/test/components/util" +) + +const namespace = "kube-system" + +func TestCSIDriverDeployments(t *testing.T) { + client := testutil.CreateKubeClient(t) + + testCases := []struct { + deployment string + }{ + { + deployment: "ebs-csi-controller", + }, + } + + for _, test := range testCases { + test := test + t.Run(fmt.Sprintf("aws-ebs-csi-driver deployment:%s", test.deployment), func(t *testing.T) { + t.Parallel() + testutil.WaitForDeployment(t, client, namespace, test.deployment, time.Second*5, time.Minute*5) + }) + } +}