Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement AssignImage mutator (#2429)
* Implement AssignImage mutator Signed-off-by: davis-haba <davishaba@google.com> * fix tests Signed-off-by: davis-haba <davishaba@google.com> * fix controller gen setup Signed-off-by: davis-haba <davishaba@google.com> * fix helm manifest generation Signed-off-by: davis-haba <davishaba@google.com> * WIP assignimage byPod status Signed-off-by: davis-haba <davishaba@google.com> * mutator pod status working for assignimage Signed-off-by: davis-haba <davishaba@google.com> * e2e test assignimage mutator deleted Signed-off-by: davis-haba <davishaba@google.com> * old kubectl run Signed-off-by: davis-haba <davishaba@google.com> * address comments. domain must have '.' unless localhost Signed-off-by: davis-haba <davishaba@google.com> * appease linter Signed-off-by: davis-haba <davishaba@google.com> * fix gator tests Signed-off-by: davis-haba <davishaba@google.com> * add test domain ending in colon still converges Signed-off-by: davis-haba <davishaba@google.com> * docs for assignimage Signed-off-by: davis-haba <davishaba@google.com> * remove newline Signed-off-by: davis-haba <davishaba@google.com> * address comments Signed-off-by: davis-haba <davishaba@google.com> * appease linter Signed-off-by: davis-haba <davishaba@google.com> * cleanup dead code branch Signed-off-by: davis-haba <davishaba@google.com> * validateDomain to use splitDomain Signed-off-by: davis-haba <davishaba@google.com> * future-proof validateImageParts. Add custom error types. Signed-off-by: davis-haba <davishaba@google.com> * fix readiness tracker test Signed-off-by: davis-haba <davishaba@google.com> * make manifests Signed-off-by: davis-haba <davishaba@google.com> * validate that splitting a valid tag never returns a path Signed-off-by: davis-haba <davishaba@google.com> * degenerate cases for unit tests. do not expose regex on image component error. Signed-off-by: davis-haba <davishaba@google.com> * test missing image field. update error copy. Signed-off-by: davis-haba <davishaba@google.com> * tag error copy Signed-off-by: davis-haba <davishaba@google.com> * Update pkg/expansion/system_test.go Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com> Signed-off-by: Davis Haba <52938648+davis-haba@users.noreply.github.com> * Update pkg/mutation/mutators/assignimage/assignimage_mutator.go Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com> Signed-off-by: Davis Haba <52938648+davis-haba@users.noreply.github.com> * errors.As instead of type casting in unit tests Signed-off-by: davis-haba <davishaba@google.com> * fix error type checking Signed-off-by: davis-haba <davishaba@google.com> Signed-off-by: Davis Haba <52938648+davis-haba@users.noreply.github.com> Co-authored-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com> Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
- Loading branch information