Skip to content

Commit

Permalink
Sets cache-control headers for the upload of setup_k8s.sh to GCS. (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkinkade authored Jul 18, 2019
1 parent 64aab20 commit c13a726
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manage-cluster/create_k8s_configs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ sed -e "s/{{CA_CERT_HASH}}/${ca_cert_hash}/" ../node/setup_k8s.sh.template \
> ./setup_k8s.sh

# Upload the evaluated template to GCS.
gsutil cp ./setup_k8s.sh gs://epoxy-${PROJECT}/stage3_coreos/
cache_control="Cache-Control:private, max-age=0, no-transform"
gsutil -h "$cache_control" cp ./setup_k8s.sh gs://epoxy-${PROJECT}/stage3_coreos/setup_k8s.sh

0 comments on commit c13a726

Please sign in to comment.