Skip to content

Commit

Permalink
update secret mount path
Browse files Browse the repository at this point in the history
  • Loading branch information
shsun_pure committed Jun 24, 2024
1 parent bef8ffb commit fb65095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/storagecluster/storagecluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ func addPxServiceAccountTokenSecretIfNotExist(spec *v1.PodSpec) {
// mountPath must be consistent with oci-monitor for mounting to px runc container
volMount := v1.VolumeMount{
Name: volName,
MountPath: "/var/run/secrets/portworx.io/portworx-service-secret",
MountPath: "/etc/pwx-secrets/px-sa-token-secret",
}
for i, container := range spec.Containers {
spec.Containers[i].VolumeMounts = append(container.VolumeMounts, volMount)
Expand Down

0 comments on commit fb65095

Please sign in to comment.