Skip to content

Commit

Permalink
Merge branch 'add_sa_to_karpenter_for_irsa'
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam committed Jan 10, 2024
2 parents 18de518 + 96495af commit 6b3070d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/e2e/install-karpenter/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ runs:
--set "serviceMonitor.endpointConfig.relabelings[2].replacement=$(git describe --abbrev=0 --tags)" \
--set "serviceMonitor.endpointConfig.relabelings[3].targetLabel=commitsAfterTag" \
--set "serviceMonitor.endpointConfig.relabelings[3].replacement=\"$(git describe --tags | cut -d '-' -f 2)\"" \
--wait
if [[ "$K8S_VERSION" == '1.23' ]]; then
kubectl annotate sa karpenter -n kube-system eks.amazonaws.com/role-arn=arn:aws:iam::${ACCOUNT_ID}:role/${CLUSTER_NAME}-karpenter
fi
- name: diff-karpenter
shell: bash
env:
Expand Down

0 comments on commit 6b3070d

Please sign in to comment.