Closed msenmurugan closed 6 years ago
This change breaks the API. Leaving this comment here to bump up the version and add this to release notes.
@msenmurugan Can you make sure the CI passes? I'll merge once that's done and Rob's comments are addressed
@wlan0 In order to fix the CI build, I have commented the koki.selector labels in all testdata yamls. After this change, the functional test throws an error as "Missing pod spec". To fix the missing pod spec issue, I need to comment the below code in koki_rc_to_kube_v1_rc.go. After commenting the below code, all the issues are fixed except replication_controller_spec_without_template and replication_controllers/meta_test test scenario.
func revertTemplate(kokiMeta *types.PodTemplateMeta, kokiSpec types.PodTemplate) (*v1.PodTemplateSpec, error) {
var hasMeta = kokiMeta != nil
var hasSpec = !reflect.DeepEqual(kokiSpec, types.PodTemplate{})
if !hasMeta && !hasSpec {
return nil, nil
}
Can you please let me know whether the above check is required and also help me in fixing those two test scenarios?
LGTM
Fix for koki selector match label is added by default during the creation of persistent volume claim