Skip to content

Commit

Permalink
Updated ssm agent installer to work on all linux distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
prakarsh-dt committed May 13, 2021
1 parent 7587480 commit c4a2378
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/aws-ssm-agent-installer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: aws-ssm-agent-installer
appVersion: 0.1.0
description: Chart to enable AWS SSM Agent on EKS nodes
engine: gotpl
version: 0.10.1
version: 0.10.2
maintainers:
- email: [email protected]
name: Prakarsh
4 changes: 2 additions & 2 deletions charts/aws-ssm-agent-installer/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ spec:
containers:
- args:
- -c
- echo '* * * * * root yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm
& rm -rf /etc/cron.d/ssmstart' > /etc/cron.d/ssmstart & tail -f > /dev/null
- echo '* * * * * {{ .Values.installUser }} {{ .Values.installCommand }} {{ .Values.installUrl }}
&& rm -rf {{ .Values.installCronPath }}/ssmstart' > {{ .Values.installCronPath }}/ssmstart & tail -f > /dev/null
command:
- /bin/bash
image: quay.io/devtron/k8s-utils:amazonlinux-latest
Expand Down
3 changes: 3 additions & 0 deletions charts/aws-ssm-agent-installer/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
installUser: "root"
installCommand: "yum install -y"
installUrl: "https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm"
installCronPath: "/etc/cron.d"
daemonsetapiversion: apps/v1 #For Clusters running on k8s < 1.16 use extensions/v1beta1
tolerations:
- key: CriticalAddonsOnly
Expand Down

0 comments on commit c4a2378

Please sign in to comment.