Code Monkey home page Code Monkey logo

crossplane-demo's Introduction

This is a demo for App of Apps + Crossplane

Please Note: the following is draft demo flow and it will further automated in the near future

Break the carts application

Step 1

Run the following script:

breakCarts.sh

Step 2

Carts old app is deployed on ARGO CD, We need to move to carts app that utilises crossplane created external dynamo db Replace carts-old with carts and add or uncomment crossplane-dynamodb in values.yaml in the app-of-apps dir and push changes to your repo after running the above commands as a script

Fix the carts application

Step 1

Broken carts App is deployed in Argo

Make sure $GITOPS_REPO_URL_ARGOCD has been setup as your git repo and you are logged in to argocd via cli, if not then use the following command

argocd login $(kubectl get svc argo-cd-argocd-server -n argocd -o json | jq --raw-output '.status.loadBalancer.ingress[0].hostname') --username admin --password $(kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d) --insecure

Step 2

Following script will fix the iam policy composition and then delete and recreate the whole app of apps setup, this will recreate the ui endpoint so extract that once apps are redeployed

fixCarts.sh

crossplane-demo's People

Contributors

7navyasa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.