srl-labs / clabernetes

containerlab, but in kubernetes!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add imagePullSecrets option to clabverter

SimPeccaud opened this issue · comments

I didn't find any robust way to have this set in clabverter output.

Code is ready.

let it rip I think! though will defer to roman as he is the clabverter wrangler for sure! :D

@SimPeccaud I missed all that PullSecrets talk, what would you need clabverter to set? Can you give me an example of the manifest lines to add?

It's about setting this value in Topology: spec.imagePull.pullSecrets[0] = "regcred" when invoking clabverter with --imagePullSecrets="regcred".

regcred is the name of the secret created in clabernetes namespace of type kubernetes.io/dockerconfigjson that holds docker auth info to secure registry.