Skip to content

Commit

Permalink
Merge pull request #1938 from amacaskill/fix-vac-driver-name
Browse files Browse the repository at this point in the history
Remove VAC name from Driver name
  • Loading branch information
k8s-ci-robot authored Feb 14, 2025
2 parents 6e43a14 + f91049d commit 15a1b7b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion test/k8s-integration/config/test-config-template.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Timeouts:
{{ end }}
{{end}}
DriverInfo:
Name: csi-gcepd-{{.StorageClass}}--{{.SnapshotClass}}--{{.VolumeAttributesClass}}
Name: csi-gcepd-{{.StorageClass}}--{{.SnapshotClass}}
SupportedFsType:
{{range .SupportedFsType}} {{ . }}:
{{end}}
Expand Down
5 changes: 0 additions & 5 deletions test/k8s-integration/driver-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,8 @@ func generateDriverConfigFile(testParams *testParameters) (string, error) {
}

var absVacFilePath string
var vacName string
if testParams.volumeAttributesClassFile != "" {
absVacFilePath = filepath.Join(testParams.pkgDir, testConfigDir, testParams.volumeAttributesClassFile)
vacName = testParams.volumeAttributesClassFile[:strings.LastIndex(testParams.volumeAttributesClassFile, ".")]
} else {
vacName = "no-vac"
}

if !strings.Contains(testParams.storageClassFile, "sc-extreme") {
Expand All @@ -160,7 +156,6 @@ func generateDriverConfigFile(testParams *testParameters) (string, error) {
SnapshotClassFile: absSnapshotClassFilePath,
SnapshotClass: snapshotClassName,
VolumeAttributesClassFile: absVacFilePath,
VolumeAttributesClass: vacName,
SupportedFsType: fsTypes,
Capabilities: caps,
MinimumVolumeSize: minimumVolumeSize,
Expand Down

0 comments on commit 15a1b7b

Please sign in to comment.