Closed klaus385 closed 2 years ago
Hi @klaus385, thank you for raising this issue!
For the issue 1: Can you please provide details (e.g, redisAddr field, namespace of your Redis deployment) to us in order to reproduce error? Also, can you please comment out .redis.pass
field instead of setting it to an empty string?
# Redis password
# If you're using Bitnami Redis chart please input your password in the field below
# pass: ""
For Re-Bootstrapping
issue:
We are working on our bootstrap scripts to prevent such errors. We have open PRs regarding bootstrap enhancement and are hoping to release them soon!
There might be a couple of reasons for re-boostrapping
issue:
kubectl get jobs -n <namespace>
and delete them if they failed.@buraksekili I tried deploying and not providing a .redis.pass
at all and the bootstrapping is still trying to be executed. As for mongo what would those duplicate records be and in the interim how would you suggest resolving to be able to proceed? In relation to the Kubernetes jobs, it doesn't appear to run one at all.
I just realized that according to Tyk Pro values.yaml that you sent, .Values.bootstrap
field is set to false
which means that bootstrapping is disabled. Can you please retry after setting it to true
? Please delete the preceding jobs if they exist. Also, it'd be better if you have a fresh Mongo installation to prevent duplicate record errors. You may want to try using simple-redis and simple-mongo, as described here , to see that everything works.
In the meantime, I will try to reproduce this error and inform you about possible solutions regarding Mongo and other stuff. Again, thank you!
@buraksekili thanks again for looking into this. I wanted to say that after changing the chart version to be 0.9.5
and not setting redis.pass
that I was no longer getting the previous bootstrap screen.
Since we were on 0.8.2
we were trying to minimize the updates for the chart deployed to a minimum. Though it seems from 0.9.0
to 0.9.5
that those implemented changes to the chart resolved our issue.
With that being said I appreciate the feedback given thus far and it did help us proceed in migrating to this maintained upstream chart.
We are trying to migrate from the Helm Chart maintained fork as mentioned on #64. However, we encounter two problems when doing so and pointing the deployment with the same values to use this upstream chart.
Issues
Even though the Redis instance is accessible from the location where the Tyk Gateway is deployed. Also, when we update our fork to allow for an empty password for the connection to Redis we do NOT see this error. This leads me to think that even when I set
redisPass
in the values to""
it's NOT allowing for Redis connection without a password.What I mean by this is that the following shown in the screenshot is prompted to me as if the currently deployed setup for Tyk-Pro wasn't already bootstrapped.
Current Configuration
Using Tyk-Operator, Tyk-Pro 0.8.2, and Tyk Pro Self-Managing License.
Tyk Pro Values
Tyk Operator Values
Look forward to hearing back and hopefully getting these issues resolved.