prehistoric-salesclerk-23462
05/25/2022, 9:05 AMError: UPGRADE FAILED: error validating "": error validating data: unknown object type "nil" in Secret.data.token_service_salt
it runs fine when I execute manually from my console, this the command that I am using.
helm -n bi-datahub upgrade --install datahub datahub/datahub -f helm/charts/${ENV}/datahub.yaml
Help would be highly appreciated.incalculable-ocean-74010
05/25/2022, 12:13 PMincalculable-ocean-74010
05/25/2022, 12:16 PMelegant-article-21703
05/25/2022, 3:19 PMhelm repo update
2. helm upgrade datahub datahub/datahub
Am I missing something? Thanks in advance. I'm trying to update from v0.8.33 to v0.8.35incalculable-ocean-74010
05/25/2022, 4:16 PMhelm install -f <values.yaml> datahub charts/datahub --dry-run do you get a secret generated with a token_service_salt key?prehistoric-salesclerk-23462
05/25/2022, 4:23 PMtoken_service_signing_keyincalculable-ocean-74010
05/25/2022, 4:26 PMincalculable-ocean-74010
05/25/2022, 4:26 PMprehistoric-salesclerk-23462
05/25/2022, 4:28 PMtoken_service_saltprehistoric-salesclerk-23462
05/25/2022, 4:28 PMincalculable-ocean-74010
05/25/2022, 4:28 PMincalculable-ocean-74010
05/25/2022, 4:28 PMprehistoric-salesclerk-23462
05/25/2022, 4:29 PM--debug logs?incalculable-ocean-74010
05/25/2022, 4:30 PMincalculable-ocean-74010
05/25/2022, 4:30 PMprehistoric-salesclerk-23462
05/25/2022, 4:31 PMhistory.go:56: [debug] getting history for release datahub
upgrade.go:142: [debug] preparing upgrade for datahub
Error: UPGRADE FAILED: error validating "": error validating data: unknown object type "nil" in Secret.data.token_service_salt
helm.go:84: [debug] error validating "": error validating data: unknown object type "nil" in Secret.data.token_service_salt
<http://helm.sh/helm/v3/pkg/kube.scrubValidationError|helm.sh/helm/v3/pkg/kube.scrubValidationError>
<http://helm.sh/helm/v3/pkg/kube/client.go:632|helm.sh/helm/v3/pkg/kube/client.go:632>
<http://helm.sh/helm/v3/pkg/kube.(*Client).Build|helm.sh/helm/v3/pkg/kube.(*Client).Build>
<http://helm.sh/helm/v3/pkg/kube/client.go:204|helm.sh/helm/v3/pkg/kube/client.go:204>
<http://helm.sh/helm/v3/pkg/action.validateManifest|helm.sh/helm/v3/pkg/action.validateManifest>
<http://helm.sh/helm/v3/pkg/action/upgrade.go:528|helm.sh/helm/v3/pkg/action/upgrade.go:528>
<http://helm.sh/helm/v3/pkg/action.(*Upgrade).prepareUpgrade|helm.sh/helm/v3/pkg/action.(*Upgrade).prepareUpgrade>
<http://helm.sh/helm/v3/pkg/action/upgrade.go:259|helm.sh/helm/v3/pkg/action/upgrade.go:259>
<http://helm.sh/helm/v3/pkg/action.(*Upgrade).RunWithContext|helm.sh/helm/v3/pkg/action.(*Upgrade).RunWithContext>
<http://helm.sh/helm/v3/pkg/action/upgrade.go:143|helm.sh/helm/v3/pkg/action/upgrade.go:143>
main.newUpgradeCmd.func2
<http://helm.sh/helm/v3/cmd/helm/upgrade.go:197|helm.sh/helm/v3/cmd/helm/upgrade.go:197>
<http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
<http://github.com/spf13/cobra@v1.3.0/command.go:856|github.com/spf13/cobra@v1.3.0/command.go:856>
<http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
<http://github.com/spf13/cobra@v1.3.0/command.go:974|github.com/spf13/cobra@v1.3.0/command.go:974>
<http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
<http://github.com/spf13/cobra@v1.3.0/command.go:902|github.com/spf13/cobra@v1.3.0/command.go:902>
main.main
<http://helm.sh/helm/v3/cmd/helm/helm.go:83|helm.sh/helm/v3/cmd/helm/helm.go:83>
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1571
UPGRADE FAILED
main.newUpgradeCmd.func2
<http://helm.sh/helm/v3/cmd/helm/upgrade.go:199|helm.sh/helm/v3/cmd/helm/upgrade.go:199>
<http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
<http://github.com/spf13/cobra@v1.3.0/command.go:856|github.com/spf13/cobra@v1.3.0/command.go:856>
<http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
<http://github.com/spf13/cobra@v1.3.0/command.go:974|github.com/spf13/cobra@v1.3.0/command.go:974>
<http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
<http://github.com/spf13/cobra@v1.3.0/command.go:902|github.com/spf13/cobra@v1.3.0/command.go:902>
main.main
<http://helm.sh/helm/v3/cmd/helm/helm.go:83|helm.sh/helm/v3/cmd/helm/helm.go:83>
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1571prehistoric-salesclerk-23462
05/25/2022, 4:37 PM0.2.76 version, it works fine with 0.2.72incalculable-ocean-74010
05/25/2022, 4:40 PMmetadata_service_authenticationprehistoric-salesclerk-23462
05/25/2022, 4:42 PMmetadata_service_authentication:
enabled: false
systemClientId: "__datahub_system"
systemClientSecret:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
tokenService:
signingKey:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
# Set to false if you'd like to provide your own auth secrets
provisionSecrets: trueincalculable-ocean-74010
05/25/2022, 4:47 PMsalt:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_salt"
Under tokenService and try againprehistoric-salesclerk-23462
05/25/2022, 4:51 PMincalculable-ocean-74010
05/25/2022, 4:58 PMprehistoric-salesclerk-23462
05/25/2022, 5:03 PMshy-scooter-37097
05/26/2022, 5:23 PMprehistoric-salesclerk-23462
05/27/2022, 8:49 AM