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

ArgoCD Manifest error #160

Open
brimdor opened this issue May 10, 2024 · 4 comments
Open

ArgoCD Manifest error #160

brimdor opened this issue May 10, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@brimdor
Copy link

brimdor commented May 10, 2024

Similar issue to: #102
When running "make" for the first time, when it gets to the "system" portion, it fails.

system\bootstrap.yml

  • name: Apply ArgoCD manifests
    kubernetes.core.k8s:
    resource_definition: "{{ argocd_manifests.stdout }}"
    apply: true
    server_side_apply:
    field_manager: argocd-controller

That task fails and gives the following error:
TASK [Apply ArgoCD manifests] ******************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible_collections.kubernetes.core.plugins.module_utils.k8s.exceptions.CoreException: Failed to load resource definition: 'str' object has no attribute 'setdefault'
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to load resource definition: 'str' object has no attribute 'setdefault'"}

To reproduce this error, start over from scratch, to replicate a first time build. You can do this using my reset script I put in a pull request along with other quality of life change suggestions. (#159)

Then run the usual process to build.

  1. make tools
  2. make configure (if needed)
  3. make

Once it gets to the step described above, it will fail.

@brimdor brimdor added the bug Something isn't working label May 10, 2024
@fullstackjam
Copy link

You can retry run make, it will work

@brimdor
Copy link
Author

brimdor commented Jul 29, 2024 via email

@fullstackjam
Copy link

  • name: argo-cd
    version: 5.55.0
    works great

@fullstackjam
Copy link

interesting thing is when i use kubepary to install kubernetes: v1.30.3, make -C system works well, so i think question may be on k3s version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants