generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cluster API Security Self Assessment (#40)
* Cluster API Security Self Assessment Add reviewers name and handles Updates to resolve review feedback Further updates to status of recommended mitigations * Feedback from PR review to remove ccm
- Loading branch information
Showing
5 changed files
with
1,134 additions
and
0 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
...ecurity-assessments/cluster-api/images/data-flow-diagram-cluster-api-mermaid.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
```mermaid | ||
flowchart TB | ||
subgraph Bootstrap Node / Management Cluster | ||
kcp[Kubeadm Control Plane Controller]--https-->mgmtk8s | ||
kbc[Kubeadm Bootstrap Controller]--https-->mgmtk8s | ||
capi[Cluster API Controller]--https-->mgmtk8s | ||
capa[Cluster API AWS Controller]--https-->mgmtk8s | ||
mgmtk8s[Management Kubernetes API Server]--https-->mgmtetcd[etcd] | ||
end | ||
capa--https-->secrets | ||
capa--https-->EC2 | ||
capa--https-->ELB | ||
kcp--https-->k8sapi | ||
capi--https-->k8sapi | ||
kbc--https-->k8sapi | ||
subgraph AWS Regional Services | ||
secrets[AWS Secrets Manager] | ||
EC2[Amazon EC2] | ||
ELB[Elastic Load Balancing] | ||
end | ||
subgraph VPC[Provisioned VPC] | ||
ELB--TCP Passthrough-->k8sapi | ||
IMDS[Instance Metadata Service] | ||
subgraph Workload EC2 Instance | ||
Kubelet | ||
Kubeadm | ||
cloud-init | ||
awscli[AWS CLI] | ||
cloud-init--executes-->awscli | ||
cloud-init--executes-->Kubeadm | ||
cloud-init--starts-->Kubelet | ||
end | ||
k8sapi--websocket-->Kubelet | ||
awscli--https-->secrets | ||
Kubeadm--https-->k8sapi | ||
Kubelet--http-->IMDS | ||
awscli--http-->IMDS | ||
Kubelet--https-->k8sapi | ||
subgraph Workload control plane | ||
k8sapi[Workload Kubernetes API server] | ||
end | ||
end | ||
classDef Amazon fill:#FF9900; | ||
classDef ThirdParty fill:#FFB6C1; | ||
classDef AmazonBoundary fill:#fff2e6; | ||
class EC2,secrets,EC2,ELB,IMDS,awscli Amazon | ||
class cloud-init ThirdParty | ||
class VPC AmazonBoundary | ||
``` |
1 change: 1 addition & 0 deletions
1
sig-security-assessments/cluster-api/images/data-flow-diagram-cluster-api.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.02 MB
...ity-assessments/cluster-api/images/excalidraw-data-flow-diagram-cluster-api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+230 KB
...urity-assessments/cluster-api/images/mgmt-and-workload-cluster-relationship.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.