-
Notifications
You must be signed in to change notification settings - Fork 0
/
lacework-admi-controller-helm.template.yaml
49 lines (48 loc) · 1.91 KB
/
lacework-admi-controller-helm.template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
AWSTemplateFormatVersion: '2010-09-09'
Description: This Cloudformation template installs the Lacework Agent into an existing EKS cluster.
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
- Label:
default: Lacework Agent Parameters
Parameters:
- EKSClusterName
- AgentToken
- LaceworkServerUrl
ParameterLabels:
EKSClusterName:
default: EKS Cluster Name
AgentToken:
default: Lacework Agent Token
LaceworkServerUrl:
default: Lacework API Server URL
Parameters:
EKSClusterName:
Description: "Specify the EKS cluster name. This AWS account must have access to this cluster."
Type: String
"AllowedPattern" : ".+"
ServerCertificate:
Description: "Certificate for TLS authentication with the Kubernetes api-server. See https://docs.lacework.com/integrate-with-kubernetes-admission-controller#create-tlsssl-certificates"
Type: String
"AllowedPattern" : ".+"
ServerKey:
Description: "Certificate key for TLS authentication with the Kubernetes api-server. See https://docs.lacework.com/integrate-with-kubernetes-admission-controller#create-tlsssl-certificates"
Type: String
"AllowedPattern": ".+"
CaBundle:
Description: "Root certificate for TLS authentication with the Kubernetes api-server. See https://docs.lacework.com/integrate-with-kubernetes-admission-controller#create-tlsssl-certificates"
Type: String
"AllowedPattern": ".+"
Resources:
LaceworkAdmissionController:
Type: "AWSQS::Kubernetes::Helm"
Properties:
ClusterID: !Ref EKSClusterName
Repository: "https://lacework.github.io/helm-charts/"
Namespace: "lacework"
Chart: "lacework/admission-controller"
Name: "lacework-admission-controller"
Values:
certs.serverCertificate: !Ref ServerCertificate
certs.serverKey: !Ref ServerKey
webhooks.cabundle: !Ref CaBundle