Skip to content

Commit 6e6cdda

Browse files
Added documentation for Upgrading ACK Controllers (#2533)
Fixes #1432 Description of changes: Added documentation for Upgrading ACK Controllers in install.md By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent c681d29 commit 6e6cdda

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/content/docs/user-docs/install.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,22 @@ ACK controllers need access to AWS IAM credentials to manage AWS resources.
9696
See [Next Steps](#Next-steps) for configuring AWS IAM credentials for ACK controller.
9797
{{% /hint %}}
9898

99+
To upgrade the ACK Controllers using Helm:
100+
101+
{{% hint type="warning" title="NOTE" %}}
102+
Check for any Custom Resource Definition (CRD) changes that might affect your existing resources.
103+
Check for changes with the versions that also might affect your existing resources.
104+
Check [Helm Documentation](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/)
105+
{{% /hint %}} for the same.
106+
107+
```bash
108+
export SERVICE=s3
109+
export LATEST_RELEASE_VERSION=$(curl -sL https://api.github.com/repos/aws-controllers-k8s/${SERVICE}-controller/releases/latest | jq -r '.tag_name | ltrimstr("v")')
110+
111+
aws ecr-public get-login-password --region us-east-1 | helm registry login --username AWS --password-stdin public.ecr.aws
112+
helm upgrade ack-$SERVICE-controller \ oci://public.ecr.aws/aws-controllers-k8s/$SERVICE-chart --namespace $ACK_SYSTEM_NAMESPACE --version=$LATEST_RELEASE_VERSION --set=aws.region=$AWS_REGION
113+
```
114+
99115
## Install an ACK service controller with static Kubernetes manifests
100116

101117
If you prefer not to use Helm, you may install an ACK service controller using static Kubernetes manifests that are included in the source repository.

0 commit comments

Comments
 (0)