argocd Application referencing project default which does not exist


If you get this error, please try to check if this exist 

 kubectl get AppProject -A

If you get empty, then you can create it using the following yaml

# this manually creates the default project
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
  name: default
  namespace: argocd
spec:
  sourceRepos:
    - '*'
  destinations:
    - namespace: '*'
      server: '*'
  clusterResourceWhitelist:
    - group: '*'
      kind: '*'



 




Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm