-
-
Save AlexRogalskiy/4e1ed72fdddde6f4ef9c6ba106b0ca2f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Create a k8s cluster | |
| git clone https://github.com/vfarcic/devops-toolkit-crossplane | |
| cd devops-toolkit-crossplane | |
| helm repo add crossplane-stable \ | |
| https://charts.crossplane.io/stable | |
| helm repo update | |
| helm upgrade --install \ | |
| crossplane crossplane-stable/crossplane \ | |
| --namespace crossplane-system \ | |
| --create-namespace \ | |
| --wait | |
| # Replace `[...]` with your Civo token | |
| export CIVO_TOKEN=[...] | |
| export CIVO_TOKEN_ENCODED=$(\ | |
| echo $CIVO_TOKEN | base64) | |
| echo "apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| namespace: crossplane-system | |
| name: civo-creds | |
| type: Opaque | |
| data: | |
| credentials: $CIVO_TOKEN_ENCODED" \ | |
| | kubectl apply --filename - | |
| kubectl apply \ | |
| --filename crossplane-config/provider-civo.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment