Git Product home page Git Product logo

argocd-mini's Introduction

argocd - Testing apps in any namespace

Admin sets up an app-of-apps which points to a team's app-of-apps. The team project can deploy applications to namespace team. The team's app-of-apps consists of two identical guestbook applications, which are deployed to namespace team. They cannot change the guestbook applications to use e.g. the default project, since only applications in the argocd namespace can use the default project:

If no .spec.sourceNamespaces is set to an AppProject, a default of the control plane's namespace (e.g. argocd) will be assumed, and the current behaviour would not be changed (only Application resources created in the argocd namespace would be allowed to associate with the AppProject).

From the proposal. Tenant self-service use case in the proposal here.

default
  App/app-of-apps
  Project/team
team
  App/team-app-of-apps
  App/guestbook
  App/guestbook2
  Deployment/guestbook
  Service/guestbook
  Deployment/guestbook2
  Service/guestbook2

Running locally

Instructions taken from here. Start a kubernetes cluster, e.g. kind:

kind create cluster

Install, configure and inspect argo:

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

# Enable applications in any namespaces
k edit configmaps argocd-cmd-params-cm
# data:
#   application.namespaces: team
kubectl rollout restart -n argocd deployment argocd-server
kubectl rollout restart -n argocd statefulset argocd-application-controller

k apply -k admin/

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

# Get default password for the admin
argocd admin initial-password -n argocd

# Go to localhost:8080 and login as admin

argocd-mini's People

Contributors

slarwise 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.