Skip to content

Commit

Permalink
Fix helm apply command formatting. (#1141)
Browse files Browse the repository at this point in the history
Fix helm apply command formatting.
  • Loading branch information
orsenthil committed Sep 23, 2024
1 parent 99997e2 commit 1437abc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stable/aws-vpc-cni/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ done
kubectl -n kube-system annotate --overwrite configmap amazon-vpc-cni meta.helm.sh/release-name=aws-vpc-cni
kubectl -n kube-system annotate --overwrite configmap amazon-vpc-cni meta.helm.sh/release-namespace=kube-system
kubectl -n kube-system label --overwrite configmap amazon-vpc-cni app.kubernetes.io/managed-by=Helm
```

Kubernetes recommends using server-side apply for more control over the field manager. After adopting the chart resources, you can run the following command to apply the chart:

```
helm template aws-vpc-cni --include-crds --namespace kube-system eks/aws-vpc-cni --set originalMatchLabels=true | kubectl apply --server-side --force-conflicts --field-manager Helm -f -
```
Expand Down

0 comments on commit 1437abc

Please sign in to comment.