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

fix: agent-node-files by append agentNode.HookActions #1537

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

huapox
Copy link

@huapox huapox commented Dec 18, 2024

Fix #1527

with tests:

#conf
  - description: 'registry.local-ca.pem'
    source: certs/registry/registry.local-ca.pem
    destination: /etc/ssl/certs/registry.local-ca.pem
    nodeFilters: 
    - "agent:0-1"
    - "server:*"

#traceLog
TRAC[0000] Filtered 1 nodes (filter: [server:*])        
TRAC[0000] Filtered 1 nodes (filter: [server:*])        
TRAC[0000] Filtered 3 nodes (filter: [agent:0-1 server:*])

#validate
root @ deb1013 in ~ |11:27:14  
$ docker exec -it k3d-mycluster-agent-1 sh
~ # find /etc/ssl/certs/
/etc/ssl/certs/
/etc/ssl/certs/ca-certificates.crt
/etc/ssl/certs/registry.local-ca.pem

@huapox
Copy link
Author

huapox commented Dec 18, 2024

@iwilltry42 Review Pleased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Files defined using config file are not created on agent nodes
1 participant