Search

CrossPlane

Install Crossplane
helm repo add crossplane-stable https://charts.crossplane.io/stable helm repo update helm install crossplane --namespace crossplane-system --create-namespace crossplane-stable/crossplane
Shell
복사
Install CrossPlane CLI
curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | sh
Shell
복사
forProvider
이 필드는 프로바이더에 제공되는 필드다. 여기에 포함된 필더는 프로바이더 즉, AWS가 리소스를 만들 때 이 필드의 값을 사용한다.
writeConnectionSecretToRef
생성한 매니지드 리소스에 관한 연결 정보(엔드포인트나, 이름 등)를 저장할 시크릿을 저장한다. 생성한 리소스의 정보를 시크릿에 저장하고 서비스에서 사용할 Pod에서 이 시크릿을 연결해서 정보를 사용하는 구조다.
providerConfigRef
어떤 ProviderConfig를 사용할지 지정하고 생략할 시 default 구성을 사용한다.
deletionPolicy
매니지드 리소스를 삭제했을 때 실제 클라우드의 리소스를 어떻게 할지를 정한다. Delete로 지정하면 매니지드 리소스를 지울 때 클라우드의 리소스도 지우고 Orphan으로 지정하면 클라우드 리소스는 놔두고 Kubernetes 안에서만 지운다.

Secret 방식

Manual

IRSA 방식

Manual

Examples