MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / AutoMountConfigMapVolumeName

Function AutoMountConfigMapVolumeName

pkg/common/naming.go:122–124  ·  view source on GitHub ↗

We can't add prefixes to automount volume names, as adding any characters can potentially push the name over the 63 character limit (if the original object has a long name)

(volumeName string)

Source from the content-addressed store, hash-verified

120// can potentially push the name over the 63 character limit (if the original
121// object has a long name)
122func AutoMountConfigMapVolumeName(volumeName string) string {
123 return volumeName
124}
125
126func AutoMountSecretVolumeName(volumeName string) string {
127 return volumeName

Calls

no outgoing calls