Skip to content

Commit

Permalink
Use id not name for pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Jun 28, 2024
1 parent d7bc568 commit d050af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const createDeployment = async (project, options) => {
const vol = {
name: 'persistence',
persistentVolumeClaim: {
claimName: `${project.safeName}-pvc`
claimName: `${project.id}-pvc`
}
}
if (Array.isArray(localPod.spec.containers[0].volumeMounts)) {
Expand Down

0 comments on commit d050af5

Please sign in to comment.