saiyam1814 / argo-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the demo to show GitOps in action using ArgoCD on Civo Kubernetes

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 image
  • 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

About

License:MIT License


Languages

Language:HTML 47.3%Language:Jinja 30.9%Language:Python 17.7%Language:Dockerfile 4.1%