Skip to content

Commit

Permalink
mount charts dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jan 31, 2025
1 parent 5ab49b7 commit b511d51
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions operator/pkg/upgrade/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,14 @@ func CreateUpgradeJob(
},
},
},
{
Name: "ec-charts-dir",
VolumeSource: corev1.VolumeSource{
HostPath: &corev1.HostPathVolumeSource{
Path: runtimeconfig.EmbeddedClusterChartsSubDir(),
},
},
},
},
Containers: []corev1.Container{
{
Expand All @@ -207,6 +215,11 @@ func CreateUpgradeJob(
Name: "private-cas",
MountPath: "/certs",
},
{
Name: "ec-charts-dir",
MountPath: runtimeconfig.EmbeddedClusterChartsSubDir(),
ReadOnly: true,
},
},
},
},
Expand Down

0 comments on commit b511d51

Please sign in to comment.