Skip to main content
Dec 2, 2021 10:38 PM UTC
Question

Any special steps needed to upgrade from 1.2.0 to 1.4.0?

Hi,

I tried to upgrade from version 1.2.0 (which was previously upgraded from version 1.0.0) via the helm chart but the deployment couldn't be rolled out, because the secret op-credentials couldn't be found via


helm upgrade connect 1password/connect --namespace 1password-vault --set connect.version=1.4.0

So, is there a way to create this credentials file from an existing integration, as I do not want to recreate all the tokens and vault combinations for the integration again, or maybe extract the information from the running pod with version 1.2.0

thanks in advance,
Stephan


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided

5 replies

Dec 2, 2021 11:01 PM UTC

Hey @stmh ,

You should be able to upgrade without making any changes to the credentials file. We haven't changed the format or the fields inside that file since the initial release.

Couple questions:
1. Prior to running the upgrade, did you already create a Kubernetes secret named op-credentials?
2. Did you try providing the credentials file to the helm chart with this flag:
--set-file connect.credentials=<path/to/1password-credentials.json>
(src: https://github.com/1Password/connect-helm-charts/tree/main/charts/connect#values)

Dec 3, 2021 1:58 PM UTC

Hi @David_ag ,

thanks for the clarification. Then it seems I didnt keep a copy of the credentials-file. And somehow I do not have the op-credentials on the cluster. But somehow the connect-api is working without problem.

Is there a way to restore it from the deployed pod somehow? Or recreate the credentials file for an existing integration?

Dec 3, 2021 10:13 PM UTC

Unfortunately there's currently no way to recreate the credentials file.

I'm not completely familiar with the Kubernetes Secrets internals, but you may wan to try listing the Kubernetes secrets in the namespace where the operator is running. You may wan to consult the https://github.com/1Password/connect-helm-charts/tree/connect-1.2.0/charts/connect and see if you can discover where the credentials file is living in your cluster.

Dec 10, 2021 8:45 AM UTC

Ok, fortunately found a backup of the credential file. Thank you for your support.

Dec 10, 2021 12:03 PM UTC

On behalf of David, you are very welcome @stmh, and thank you for the update :)