-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathkubernetes-latest.yaml
91 lines (80 loc) · 2.36 KB
/
kubernetes-latest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package:
name: kubernetes-latest
version: 0
epoch: 1
description: "Compatibility infrastructure for Kubernetes components"
copyright:
- license: GPL-2.0-or-later
environment:
contents:
packages:
- busybox
vars:
components: "kubectl kubeadm kubelet kube-scheduler kube-proxy kube-controller-manager kube-apiserver"
pipeline:
- runs: |
mkdir -p "${{targets.destdir}}"/usr/bin
for c in ${{vars.components}}; do
ln -sf $c-1.29 "${{targets.destdir}}"/usr/bin/$c
done
subpackages:
- name: kubectl-latest
dependencies:
runtime:
- kubectl-1.29
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
ln -s kubectl-1.29 ${{targets.subpkgdir}}/usr/bin/kubectl
- name: kubeadm-latest
dependencies:
runtime:
- kubeadm-1.29
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
ln -s kubeadm-1.29 ${{targets.subpkgdir}}/usr/bin/kubeadm
- name: kubelet-latest
dependencies:
runtime:
- kubelet-1.29
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
ln -s kubelet-1.29 ${{targets.subpkgdir}}/usr/bin/kubelet
- name: kube-scheduler-latest
dependencies:
runtime:
- kube-scheduler-1.29
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
ln -s kube-scheduler-1.29 ${{targets.subpkgdir}}/usr/bin/kube-scheduler
- name: kube-proxy-latest
dependencies:
runtime:
- kube-proxy-1.29
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
ln -s kube-proxy-1.29 ${{targets.subpkgdir}}/usr/bin/kube-proxy
- name: kube-controller-manager-latest
dependencies:
runtime:
- kube-controller-manager-1.29
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
ln -s kube-controller-manager-1.29 ${{targets.subpkgdir}}/usr/bin/kube-controller-manager
- name: kube-apiserver-latest
dependencies:
runtime:
- kube-apiserver-1.29
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
ln -s kube-apiserver-1.29 ${{targets.subpkgdir}}/usr/bin/kube-apiserver
update:
# This package and it's references to "latest" (1.29) must be bumped manually
# when a new latest is dropped.
enabled: false