Skip to content

Commit

Permalink
force new on affinity change
Browse files Browse the repository at this point in the history
  • Loading branch information
mingfang committed Jun 22, 2023
1 parent 1cb126b commit ec6f4d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions k8s/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var forceNewPattern = []*regexp.Regexp{
regexp.MustCompile(`k8s_\w+_\w+_stateful_set\.spec\.pod_management_policy`),
regexp.MustCompile(`k8s_\w+_\w+_stateful_set\.spec\.volume_claim_templates`),
regexp.MustCompile(`k8s_\w+_\w+_\w+\.spec\.template\.spec\.volumes`),
regexp.MustCompile(`k8s_\w+_\w+_\w+\.spec\.template\.spec\.affinity`),
regexp.MustCompile(`k8s_\w+_\w+_secret\.type$`),
regexp.MustCompile(`k8s_\w+_\w+_persistent_volume\.spec`),
regexp.MustCompile(`k8s_\w+_\w+_role_binding\.role_ref`),
Expand Down

0 comments on commit ec6f4d6

Please sign in to comment.