-
Notifications
You must be signed in to change notification settings - Fork 15
/
images.go
33 lines (29 loc) · 936 Bytes
/
images.go
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
package cke
// Image is the type of container images.
type Image string
// Name returns docker image name.
func (i Image) Name() string {
return string(i)
}
// Container image definitions
const (
EtcdImage = Image("ghcr.io/cybozu/etcd:3.5.15.1")
KubernetesImage = Image("ghcr.io/cybozu/kubernetes:1.30.5.1")
ToolsImage = Image("ghcr.io/cybozu-go/cke-tools:1.30.0")
PauseImage = Image("ghcr.io/cybozu/pause:3.9.0.6")
CoreDNSImage = Image("ghcr.io/cybozu/coredns:1.11.3.1")
UnboundImage = Image("ghcr.io/cybozu/unbound:1.21.1.1")
UnboundExporterImage = Image("ghcr.io/cybozu/unbound_exporter:0.4.6.2")
)
// AllImages return container images list used by CKE
func AllImages() []string {
return []string{
EtcdImage.Name(),
ToolsImage.Name(),
KubernetesImage.Name(),
PauseImage.Name(),
CoreDNSImage.Name(),
UnboundImage.Name(),
UnboundExporterImage.Name(),
}
}