Hi when I try to upgrade to datahub `v0.8.41` my f...
# troubleshoot
m
Hi when I try to upgrade to datahub
v0.8.41
my frontend and gms containers error with:
Copy code
Error: secret "datahub-auth-secrets" not found
How do I create this secret from the datahub helm chart (e.g. which pod/container creates the secret).
hmm I have noticed my
v0.8.40
pods do not mount this secret, is it new in
v0.8.41
?
Ahh I see
datahub-auth-secret
is a reference to
datahub-datahub-frontend-token
and
datahub-datahub-gms-token
These secrets already exist in my cluster, however when I upgrade: • The datahub upgrade job is not automatically run • The pods event logs describe a secret called
datahub-auth-secret
rather than the secret they should reference.
i
Hello Dominic,
Copy code
The datahub upgrade job is not automatically run
How are you upgrading your system? Using helm? The job resource has an annotation to run post helm upgrade:
"<http://helm.sh/hook|helm.sh/hook>": post-install,post-upgrade
Is the upgrade job enabled in your values.yaml?
.Values.datahubUpgrade.enabled
šŸ‘€ 1
m
Am runing the upgrade via terraform and helm
i
Terraform calls helm? Or do you use helm-dry-run and then terraform apply the updated files?
m
Adding
datahubUpgrade.enabled
resolved the issue, thanks for your help šŸ™‚ I am going to test this version against my previous issue.
šŸ‘ 1