Skip to content

Instantly share code, notes, and snippets.

@RajputVaibhav
Created June 11, 2022 12:48
Show Gist options
  • Save RajputVaibhav/d9863487a5a64b079b83ea75b32d3096 to your computer and use it in GitHub Desktop.
Save RajputVaibhav/d9863487a5a64b079b83ea75b32d3096 to your computer and use it in GitHub Desktop.
For Medium blog on Crossplane
apiVersion: cluster.awsblueprints.io/v1alpha1
kind: amazonEks
metadata:
name: xplane-eks-cluster
namespace: default
spec:
compositionSelector:
matchLabels:
awsblueprints.io/provider: aws
awsblueprints.io/environment: dev
service: eks
resourceConfig:
providerConfigName: aws-provider-config
region: eu-west-1
parameters:
#EKS Input parameters
version: "1.21"
endpointPrivateAccess: false
endpointPublicAccess: true
subnetIds: # Update your subnet ids
- "subnet-abc"
- "subnet-def"
- "subnet-ghi"
managedNodeGroups:
minSize: 2
writeConnectionSecretToRef:
name: xplane-eks-cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment