`cache_repo` doesn't work
Hi, I trying to understand how cache_repo work.
I already have dockerconfigjson secret in cluster and I'm very and you could assume that its data is correct because I'm using it in
imagePullSecrets
for Deployment
when I create workspace, I got this error. Please help me, Thanks.
Bellow is my template I used.
values for cache_repo
, is jfrog.jfrog.svc:8081/docker/cache_repo
(jfrog service in jfrog namespace), insecure_cache_repo
is true6 Replies
<#1315715674760282172>
Category
Bug report
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
I also got problem with base64 decode with
ENVBUILDER_GIT_SSH_PRIVATE_KEY_BASE64
but I'm not sure they are same issuesit has to be base64 encoded, I think it's spitting out that error because it's plaintext
Thank you, I think I figure it out,
data.kubernetes_secret.cache_repo_dockerconfig_secret[0].data[".dockerconfigjson"]
is base64 decoded value, I just have to encode it againyes, that should do the trick!
@Phorcys closed the thread.