Skip to content

Commit

Permalink
modifefd s3 url
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumaranayaka, Amila authored and Kumaranayaka, Amila committed Jan 14, 2017
1 parent 355a624 commit b615409
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/master-userdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ write-files:
- path: /tmp/certsetup.sh
owner: "root"
permissions: '0600'
permissions: '0700'
content: |
#!/bin/bash
mkdir -p /etc/kubernetes/ssl/
curl -o /etc/kubernetes/ssl/ca.pem https://k8tlsbucket.${aws_region}.s3.amazonaws.com/ca.pem
curl -o /etc/kubernetes/ssl/apiserver-key.pem https://k8tlsbucket.${aws_region}.s3.amazonaws.com/kubernetes-key.pem
curl -o /etc/kubernetes/ssl/ca.pem https://k8tlsbucket.s3.${aws_region}.amazonaws.com/ca.pem
curl -o /etc/kubernetes/ssl/apiserver-key.pem https://k8tlsbucket.s3.${aws_region}.amazonaws.com/kubernetes-key.pem
curl -o /etc/kubernetes/ssl/apiserver.pem https://k8tlsbucket.s3.${aws_region}.amazonaws.com/kubernetes.pem
- path: "/etc/profile.env"
Expand Down

0 comments on commit b615409

Please sign in to comment.