1 Commits

2 changed files with 1 additions and 10 deletions

View File

@@ -10,11 +10,7 @@ LABEL org.opencontainers.image.vendor="ALT Linux Team"
ARG PKG_VERSION
{% if branch == 'p10' %}
{{ install_packages("etcd${PKG_VERSION}") }}
{% else %}
{{ install_packages("etcd-for-kubernetes${PKG_VERSION}") }}
{% endif %}
RUN ln -s /usr/sbin/etcd /usr/local/bin/etcd && ln -s /usr/bin/etcdctl /usr/local/bin/etcdctl

View File

@@ -5,12 +5,7 @@ version_template:
- "{{ version }}"
- "{{ version }}-0"
source_packages:
- >
{%- if branch in ["p10"] -%}
etcd{{ version }}
{%- else -%}
etcd-for-kubernetes{{ version }}
{%- endif -%}
- etcd-for-kubernetes{{ version }}
annotations:
org.opencontainers.image.revision: ''
org.opencontainers.image.source: 'https://github.com/etcd-io/etcd'