Skip to content
Discussion options

You must be logged in to vote

I discovered what was happening for anyone else that runs into this.

I generated omni-cert.yaml with this command:
docker run --rm -it -v /opt/project:/opt/project -v /etc/certs:/etc/certs custom-container:0.0.1 yq '.certificates = str_load("/etc/certs/mycert.cer")' /opt/project/original-omni-cert.yaml > /opt/project/new-omni-cert.yaml

And then I was trying to generate the new project config a similar way:
docker run --rm -it -v /opt/project:/opt/project -v /etc/certs:/etc/certs custom-container:0.0.1 yq '.omni.omniCert = str_load("/opt/project/new-omni-cert.yaml")' /opt/project/original-ProjectConfig.yaml > /opt/project/new-ProjectConfig.yaml

After inspecting both of these files more clo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CJacobStucki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant