Allow customisation of k8s binary locations
Allow operators to customise the location k8s binaries are pulled from in kubernetes-entrypoint & kubetoolbox Change-Id: I8bab3fe7dfb9ac23dcfbfd2c709cfddaaab40534
This commit is contained in:
parent
796e92035c
commit
8dd0f553a2
@ -3,8 +3,10 @@ MAINTAINER {{ maintainer }}
|
||||
|
||||
{% block kubernetes_entrypoint_header %}{% endblock %}
|
||||
|
||||
{% block kubernetes_entrypoint_install_binary %}
|
||||
RUN curl -Lo /usr/local/bin/kubernetes-entrypoint https://github.com/stackanetes/kubernetes-entrypoint/releases/download/v0.1.1/kubernetes-entrypoint \
|
||||
&& chmod 755 /usr/local/bin/kubernetes-entrypoint
|
||||
{% endblock %}
|
||||
|
||||
{% block kubernetes_entrypoint_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
|
@ -13,8 +13,10 @@ MAINTAINER {{ maintainer }}
|
||||
|
||||
{{ macros.install_packages(kubetoolbox_packages | customizable("packages")) }}
|
||||
|
||||
{% block kubetoolbox_install_kube_binary %}
|
||||
RUN curl -o /usr/bin/kubectl http://storage.googleapis.com/kubernetes-release/release/v1.4.0/bin/linux/amd64/kubectl \
|
||||
&& chmod 755 /usr/bin/kubectl
|
||||
{% endblock %}
|
||||
|
||||
{% block kubetoolbox_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user