Closed mikethms closed 1 year ago
How can we test this with molecule
? If we can't test with molecule
can we check for resources in process like we do for other metallb resources? https://github.com/techno-tim/k3s-ansible/blob/master/roles/k3s/post/tasks/metallb.yml
@Undefining would love to merge this but wanted to check on https://github.com/techno-tim/k3s-ansible/pull/212#issuecomment-1407941614
I hopefully have time at the end of the week to see if I can write some molecule tests for this. Otherwise checking for created resources would also work.
Thank you @Undefining ! I really appreciate it!
Had some issues with my local molecule environment, unfortunately don't have the time to fully look into that. I compared a layer 2
deployment with a bgp
deployment. Luckily most of the checks in the metallb post tasks align with both types of deployment. I only needed to add a check for creation of BGPPeer
and BGPAdvertisement
.
Updated the pattern, the frr manifest gets downloaded as well.
Thank you so much!
Maybe I am missing something or something was overlooked when you created another PR but we added metal_lb_frr_tag_version
but it looks like it isn't being referenced anywhere. This tag does exist in the manifests but we aren't overriding it with regex. Not sure if this is really needed or not. https://raw.githubusercontent.com/metallb/metallb/v0.13.7/config/manifests/metallb-frr.yaml
Proposed Changes
Checklist
site.yml
playbookreset.yml
playbook