makeKey concatenates the Kubernetes storage object type, a release name and version into a string with format:``` . .v ```. The storage type is prepended to keep name uniqueness between different release storage types. An example of clash when not using
(rlsname string, version int)
| 325 | // https://github.com/helm/helm/issues/6435. |
| 326 | // This key is used to uniquely identify storage objects. |
| 327 | func makeKey(rlsname string, version int) string { |
| 328 | return fmt.Sprintf("%s.%s.v%d", HelmStorageType, rlsname, version) |
| 329 | } |
| 330 | |
| 331 | // Init initializes a new storage backend with the driver d. |
| 332 | // If d is nil, the default in-memory driver is used. |
no outgoing calls
searching dependent graphs…