Skip to content

Commit 85066c9

Browse files
committed
Edit k3s deploy blog
1 parent fded24a commit 85066c9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • adminforth/documentation/blog/2025-11-04-k3s-ec2-deployment

adminforth/documentation/blog/2025-11-04-k3s-ec2-deployment/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,13 +729,14 @@ sed -i 's/certificate-authority-data:.*/insecure-skip-tls-verify: true/g' kubeco
729729
export KUBECONFIG=$(pwd)/kubeconfig.yaml
730730
731731
cd helm
732-
export APP_NAMESPACE="myadmin"
733-
export IMAGE_FULL_TAG="$${ACCOUNT_ID}.dkr.ecr.$${REGION}.amazonaws.com/myadmink3s:$${TAG}"
732+
export APP_NAMESPACE="myadmin" # <<< SET YOUR APP NAMESPACE HERE
733+
export IMAGE_FULL_TAG="$${ACCOUNT_ID}.dkr.ecr.$${REGION}.amazonaws.com/myadmink3s:$${TAG}" # Change 'myadmink3s' to your app name in 'helmfile.yaml' & 'Chart.yaml' files as well
734734
helmfile apply
735735
cd ..
736736
737737
echo "Deployment complete!"
738738
```
739+
You need to change the values of `APP_NAMESPACE` and `IMAGE_FULL_TAG` in the `deploy/deploy.sh` script to match your application name and image tag. Note that `IMAGE_FULL_TAG` is constructed dynamically from the Terraform outputs and the tag, so you only need to change `APP_NAMESPACE`.
739740

740741
Don't forget to make the script executable:
741742

0 commit comments

Comments
 (0)