This is the repo for OSS Japan Demo
This is the demo to show GitOps in action using ArgoCD on Civo Kubernetes and also cluster creations using ArgoCD and crossplane Combination.
In order to learn more about ArgoCD quickly wach my CNCFMinutes video here.
Steps to do it on your own
- Fork the project
- create the project secrets
- Create Civo Kubernetes cluster
- Install ArgoCd
- Install Crossplane
- Setup the git repository to watch for using the cli or UI
- Make changes to the html
templates/name.html
===== Crossplane installation
kubectl create namespace crossplane-system
helm repo add crossplane-stable https://charts.crossplane.io/stable
helm repo update
helm install crossplane --namespace crossplane-system crossplane-stable/crossplane
Civo Provider
kubectl crossplane install provider crossplane/provider-civo:main
apiVersion: v1
kind: Secret
metadata:
namespace: crossplane-system
name: civo-provider-secret
type: Opaque
data:
credentials: igfkhawgflkhjasgflkhaslfjhslfgjasfgsdfghasfgafsg==
---
apiVersion: civo.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
name: civo-provider
spec:
region: fra1
credentials:
source: Secret
secretRef:
namespace: crossplane-system
name: civo-provider-secret
key: credentials