Skip to content

Commit

Permalink
change order of ensureCABundleConfigMap task (#3245)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-rafraf authored Jun 19, 2024
1 parent bce2ed9 commit d0deec6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/tasks/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,12 @@ func WithResources(t Tasks) Tasks {
Description: "ensure credential",
Predicate: func(s *state.State) bool { return s.Cluster.CloudProvider.SecretProviderClassName == "" },
},
{
Fn: ensureCABundleConfigMap,
Operation: "ensuring caBundle configMap",
Description: "ensure caBundle configMap",
Predicate: func(s *state.State) bool { return s.Cluster.CABundle != "" },
},
{
Fn: addons.Ensure,
Operation: "applying addons",
Expand All @@ -274,12 +280,6 @@ func WithResources(t Tasks) Tasks {
Fn: localhelm.Deploy,
Operation: "releasing core helm charts",
},
{
Fn: ensureCABundleConfigMap,
Operation: "ensuring caBundle configMap",
Description: "ensure caBundle configMap",
Predicate: func(s *state.State) bool { return s.Cluster.CABundle != "" },
},
{
Fn: externalccm.Ensure,
Operation: "ensuring external CCM",
Expand Down

0 comments on commit d0deec6

Please sign in to comment.