Skip to content

Commit

Permalink
change order of ensureCABundleConfigMap task
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-rafraf authored and kubermatic-bot committed Jun 19, 2024
1 parent 98665ca commit c788ff1
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 c788ff1

Please sign in to comment.