Skip to content

Instantly share code, notes, and snippets.

View tunchamroeun's full-sized avatar

Tun Cham Roeun tunchamroeun

  • CloudWare Center
  • Cambodia
View GitHub Profile
@tunchamroeun
tunchamroeun / refresh-ecr-token-for-kubernetes.sh
Last active April 30, 2022 02:20 — forked from guessi/refresh-ecr-token-for-kubernetes.sh
Refresh ECR Token for Kubernetes - Resolve ECR Token Expired Issue
#!/bin/bash
# prerequisite:
# - ec2 instance should attached proper iam role
# - awscli
# - kubectl
# Usage:
#
# define the following variales in your environment (root account)