@@ -32,9 +32,10 @@ type imagesReference struct {
3232}
3333
3434var templateValuesValidationMap = map [string ]interface {}{
35- "images" : "required" ,
36- "cloudproviderName" : "required,type(string)" ,
37- "featureGates" : "type(string)" ,
35+ "images" : "required" ,
36+ "cloudproviderName" : "required,type(string)" ,
37+ "featureGates" : "type(string)" ,
38+ "infrastructureName" : "required,type(string)" ,
3839}
3940
4041type openstackAssets struct {
@@ -48,9 +49,10 @@ func (o *openstackAssets) GetRenderedResources() []client.Object {
4849
4950func getTemplateValues (images * imagesReference , operatorConfig config.OperatorConfig ) (common.TemplateValues , error ) {
5051 values := common.TemplateValues {
51- "images" : images ,
52- "cloudproviderName" : operatorConfig .GetPlatformNameString (),
53- "featureGates" : operatorConfig .FeatureGates ,
52+ "images" : images ,
53+ "cloudproviderName" : operatorConfig .GetPlatformNameString (),
54+ "featureGates" : operatorConfig .FeatureGates ,
55+ "infrastructureName" : operatorConfig .InfrastructureName ,
5456 }
5557 _ , err := govalidator .ValidateMap (values , templateValuesValidationMap )
5658 if err != nil {
0 commit comments