Skip to content

abangser/argocd-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To recreate demo...

  1. Run minikube (minikube start --driver=hyperkit)

  2. Create an ArgoCD namespace

    kubectl create namespace argocd
  3. Install argocd in k8s

    kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
  4. Install argocd CLI

    brew tap argoproj/tap
    brew install argoproj/tap/argocd
  5. Port-forward argocd server

    kubectl -n argocd port-forward svc/argocd-server 8080:443
  6. Login

    argocd login 127.0.0.1:8080 --username admin --password <POD_NAME>
  7. Add Abby's public git repo:

    argocd repo add https://github.com/abangser/argocd-examples.git
  8. Clone repo:

    git clone git@github.com:abangser/argocd-example.git
  9. Manually apply the two application resources:

    kubectl apply -f app-helm.yaml -f app-kustomize-sed-deployment.yaml -f app-kustomize-sed-kustomization.yaml -f app-kustomize-set-image-cli.yaml
  10. Load local ArgoUI at https://127.0.0.1:8080/applications

Expected state: We want Argo to update the deployment to use the newly created image tag based on the current commit.

Solution 4: Repackage our application using Helm 3 and feed a parameter override via the Argo application (argo-helm.yaml) Helm will be in a healthy state but the kustomize apps will not be as they have not had their "post commit" changes done yet.

NOTE: To reset either solution 1 or 2 for review, change the image tag in the kustomize base directories to not contain a valid commit hash and re-comment out the jobs in CircleCI.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published