Skip to content

Commit

Permalink
update restore pvc labels command
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebot committed Apr 12, 2024
1 parent 9fedc0a commit dc60c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smol_k8s_lab/k8s_tools/restores.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def restore_seaweedfs(k8s_obj: K8s,
for swfs_pvc, snapshot_id in snapshots.items():
# label the PVCs so Argo CD doesn't complain
subproc([f"kubectl label pvc -n {namespace} {swfs_pvc} "
f"argocd.argoproj.io/instance: {app}-s3-pvc"])
f"argocd.argoproj.io/instance={app}-s3-pvc"])

# build a k8up restore file and apply it
restore_pvc(k8s_obj, app, swfs_pvc, namespace,
Expand Down

0 comments on commit dc60c80

Please sign in to comment.