An open API service indexing awesome lists of open source software.

https://github.com/sergioarmgpl/crossplane-argo-dslatam


https://github.com/sergioarmgpl/crossplane-argo-dslatam

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# crossplane-argo-dslatam
# Create GKE Cluster
To create a GKE cluster follow the next steps:
1. Create a firewall rule to accept all incoming traffic and call it as allin
2. Create a firewall rule to accept all outgoing traffic and call it allout
3. Create the cluster in GCP
4. Access the cluster
5. Create a service account with the following commands:
```
gcloud iam service-accounts create dslatam --display-name="SA Demo Crossplane"
gcloud iam service-accounts add-iam-policy-binding [email protected] --member='serviceAccount:[email protected]' --role='roles/owner'

gcloud projects add-iam-policy-binding ${GCP_PROJECT_ID} \
--member=serviceAccount:${GCP_SVC_ACC} \
--role=roles/container.admin

```
6. Create a key to be used in Crossplane:
```
gcloud iam service-accounts keys create key.json [email protected]
```

# Install ArgoCD
1. To install ArgoCD run the fullowing steps:
```
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
```
2. Access ArgoCD by running the following command:
```
kubectl port-forward svc/argocd-server -n argocd 8080:443
```
3. Install the CLI local client:
```
brew install argocd
```
4. Get the current admin ArgoCD password:
```
argocd admin initial-password -n argocd
```
5. Login with the admin user and previous password and update it:
```
argocd login --insecure localhost:8080
argocd account update-password --insecure --server localhost:8080
```

# Install Crossplane
To install crossplane follow the next steps:
1. Add the helm repository:
```
helm repo add \
crossplane-stable https://charts.crossplane.io/stable
helm repo update
```
2. Install Crossplane using helm:
```
helm install crossplane \
crossplane-stable/crossplane \
--namespace crossplane-system \
--create-namespace
```
3. Install the GCP Provide:
```
cat <