aws-security-group-binding

by Skyloud SAS

Helm chartv1.0.0App 1.0.0Verified publisher

Chart to link an AWS ALB Target Group to a Kubernetes Service

About this chart

AWS Security Group Binding

This chart create a SecurityGroupBinding custom resource definition (CRD) that allows to bind an AWS security group to a Kubernetes namespace.

To have more information about the SecurityGroupBinding CRD, please refer to the official documentation

How to use

resource "helm_release" "aws_security_group_binding" {
  name       = "aws-security-group-binding"
  namespace  = "your-namespace"
  repository = "https://skyloud.github.io/helm-charts"
  chart      = "aws-security-group-binding"
  version    = "0.1.0"
  values = [
    yamlencode({
      "namespace" = "default"
      podSelector = {
        matchLabels = {
            app = "my-app"
        }
      }
      securityGroups = {
        groupIds = ["sg-1234567890abcdef0"]
      }
    })
  ]
}

Deploy aws-security-group-binding with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aws-security-group-binding on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartaws-security-group-binding is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply