i have a helm chart i am trying to deploy with argocd, i noticed that when i create a project and application by applying kubectl apply -f argocd_manifest.yml
for both project and application, the project and application do not show in the argocd ui, even if i am logged in and have a cluster created. here are my manifests
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: xxxx
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: xxxx-project
source:
repoURL: https://github.com/xxxx.git
targetRevision: xxx/xxx
chart: xxxx-xxx
path: "xxxx/xxxx"
helm:
# releaseName: xxxx-xxxx
valueFiles:
- "x/values.yaml"
destination:
server: https://xxxxxxxx.eks.amazonaws.com
namespace: "xxxx"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- Validate=true
- CreateNamespace=true
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: xxxxx
namespace: argocd
# Finalizer that ensures that project is not deleted until it is not referenced by any application
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
description: xxxxx
sourceRepos:
- 'https://github.com/xxxxxxxx.git'
# Only permit applications to deploy to the guestbook namespace in the same cluster
destinations:
- namespace: "*"
server: "*"
# Deny all cluster-scoped resources from being created, except for Namespace
clusterResourceWhitelist:
- group: '*'
kind: '*'
i can see the application and project in i run kubectl get appproject -n argocd
and kubectl get app -n argocd
but no in my argocd webui
i have tried making sure my login for argocd and aws are intact and correct, also checked ~/.kube/config to ensure all configs are correct and also checked the argocd-application-controller logs