Skip to content

Commit

Permalink
fix: replace image repo when update cwf (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
hysyeah authored Oct 15, 2024
1 parent 89fee75 commit 9bf03fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhook/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func (wh *Webhook) CreateOrUpdateCronWorkflowMutatingWebhook() error {
NamespaceSelector: &metav1.LabelSelector{},
Rules: []admissionregv1.RuleWithOperations{
{
Operations: []admissionregv1.OperationType{admissionregv1.Create},
Operations: []admissionregv1.OperationType{admissionregv1.Create, admissionregv1.Update},
Rule: admissionregv1.Rule{
APIGroups: []string{"*"},
APIVersions: []string{"v1alpha1"},
Expand Down

0 comments on commit 9bf03fe

Please sign in to comment.