Can't restore snapshot from different namespace

Running a self-hosted environment on Digital Ocean using mainly docker-compose to deploy the workloads.

I’m able to restore all workloads with all its state within my namespace, but other developers who are referencing the snapshot from within their own namespace are not. Here is an example of the relevant docker-compose spec:

volumes:
  authorization-service-mysql:
    labels:
      dev.okteto.com/from-snapshot-name: mysql-snapshot
      dev.okteto.com/from-snapshot-namespace: boedy

Is this a bug or am I missing something?

I also have an open issue on renamed volume declarations

My mistake!

The snapshot dependency was pointing to the wrong branch which didn’t include the snapshot labels. I feel really silly now :man_facepalming:

Al working as expected now!

1 Like