We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f935e9e commit be4bc3fCopy full SHA for be4bc3f
pkg/resource/prunercronjob.go
@@ -175,7 +175,7 @@ done
175
},
176
}
177
cj.Spec.JobTemplate.Labels = map[string]string{"created-by": gcj.GetName()}
178
- cj.Spec.JobTemplate.Annotations = map[string]string{securityv1.RequiredSCCAnnotation: "restricted-v2"}
+ cj.Spec.JobTemplate.Spec.Template.Annotations = map[string]string{securityv1.RequiredSCCAnnotation: "restricted-v2"}
179
return cj, nil
180
181
0 commit comments