mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 10:00:56 +00:00
Add labels to volumeClaimTemplates in StatefulSets if includeVolumeClaimTemplates is true (#5831)
This commit is contained in:
committed by
GitHub
parent
b317895057
commit
80f63ae0c3
@@ -14,6 +14,7 @@ func GetDefaultFieldSpecs() []byte {
|
||||
[]byte(nameSuffixFieldSpecs),
|
||||
[]byte(commonLabelFieldSpecs),
|
||||
[]byte(templateLabelFieldSpecs),
|
||||
[]byte(volumeClaimTemplateLabelFieldSpecs),
|
||||
[]byte(commonAnnotationFieldSpecs),
|
||||
[]byte(namespaceFieldSpecs),
|
||||
[]byte(varReferenceFieldSpecs),
|
||||
@@ -32,6 +33,7 @@ func GetDefaultFieldSpecsAsMap() map[string]string {
|
||||
result["namesuffix"] = nameSuffixFieldSpecs
|
||||
result["commonlabels"] = commonLabelFieldSpecs
|
||||
result["templatelabels"] = templateLabelFieldSpecs
|
||||
result["volumeclaimtemplatelabels"] = volumeClaimTemplateLabelFieldSpecs
|
||||
result["commonannotations"] = commonAnnotationFieldSpecs
|
||||
result["namespace"] = namespaceFieldSpecs
|
||||
result["varreference"] = varReferenceFieldSpecs
|
||||
|
||||
Reference in New Issue
Block a user