Skip to content

Commit

Permalink
adding warning
Browse files Browse the repository at this point in the history
Signed-off-by: Prateek <[email protected]>
  • Loading branch information
Prateeknandle committed Jun 30, 2024
1 parent 295278c commit 6f28472
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,7 @@ func removeAnnotationsFromResource(c *k8s.Client, resource interface{}, resource
}

func removeAnnotations(c *k8s.Client) {
fmt.Println("Force removing the annotations. Deployments might be restarted.")
deployments, err := c.K8sClientset.AppsV1().Deployments("").List(context.Background(), metav1.ListOptions{})
if err != nil {
fmt.Printf("Error listing deployments: %v\n", err)
Expand Down

0 comments on commit 6f28472

Please sign in to comment.