Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi Cluster Deploy of App of Apps: Permission Denied in GUI #21496

Open
abunet opened this issue Jan 15, 2025 · 1 comment
Open

Multi Cluster Deploy of App of Apps: Permission Denied in GUI #21496

abunet opened this issue Jan 15, 2025 · 1 comment
Labels
component:ui User interfaces bugs and enhancements enhancement New feature or request user-issue An issue caused by the user ecosystem, misconfiguration or misuse of Argo CD

Comments

@abunet
Copy link

abunet commented Jan 15, 2025

HI,

I have two cluster:
corp-cluster-dev
satellite1-cluster-dev

the two clusters are connected with rancher

ArgoCD is installed on both clusters. Every ArgoCD are configured.

I need to deploy, from ArgoCD in corp-cluster-dev an app to satellite1-cluster-dev. satellite1-cluster-dev is defined in ArgoCD corp-cluster-dev
The RBAC permissions seem to be created correctly between clusters

Image

i have an app of app deployment the manifest has satellite1-cluster-dev as destination

project: mdw-dev
source:
  repoURL: https://scm-eng-fts.mydomain.com/rmq/mdw-argocd.git
  path: satellite1/layer-01/broker-01/dev/apps
  targetRevision: HEAD
  directory:
    recurse: true
    jsonnet: {}
destination:
  namespace: argocd
  name: satellite1-cluster-dev

the manifest loads this application

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  labels:
    app.kubernetes.io/instance: apps.itsw.layer-01.broker-01
    mdw.io/argocd: Application
  name: itsw.layer-01.broker-01
  namespace: argocd
spec:
  destination:
    name: satellite1-cluster-dev
    namespace: mdw-satellite1-dev
  project: mdw-dev
  sources:
    - chart: cf-core-broker
      helm:
        valueFiles:
          - $values/satellite1/layer-01/broker-01/dev/apps/cf-core-broker/values.yaml
      path: cf-core-broker
      repoURL: dre-eng-fts.mydomain.com/k8s-charts
      targetRevision: 0.1.0
    - ref: values
      repoURL: https://scm-eng-fts.mydomain.com/rmq/mdw-argocd.git
      targetRevision: HEAD

When i sync the Application is created on corp-cluster-dev:

Image

if i switch on ArgoCD on the "child" cluster satellite1-cluster-dev, i can see the application deployment:

Image

The problem is: when i click on open Application link on corp-cluster-dev (the main cluster) I receive an error:

Image

i cannot see in logs any specific error.

Image

@abunet abunet added the bug Something isn't working label Jan 15, 2025
@agaudreault
Copy link
Member

That is expected. The link on Application always assume the current (self) instance URL. I think you could try to configure deep links to provide a different url.

Maybe changes will be required in the UI so you can override the default link.

@agaudreault agaudreault added enhancement New feature or request component:ui User interfaces bugs and enhancements user-issue An issue caused by the user ecosystem, misconfiguration or misuse of Argo CD and removed bug Something isn't working labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ui User interfaces bugs and enhancements enhancement New feature or request user-issue An issue caused by the user ecosystem, misconfiguration or misuse of Argo CD
Projects
None yet
Development

No branches or pull requests

2 participants