forked from kubernetes/cloud-provider-gcp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.ko.yaml
44 lines (38 loc) · 2.06 KB
/
.ko.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
defaultPlatforms:
- linux/arm64
- linux/amd64
builds:
- id: cloud-controller-manager
dir: .
main: cmd/cloud-controller-manager
ldflags:
- -X k8s.io/component-base/version/verflag.programName=cloud-controller-manager
- -X k8s.io/component-base/version.buildDate={{.Env.BUILD_DATE}}
- -X k8s.io/component-base/version.gitCommit={{.Env.KUBE_GIT_COMMIT}}
- -X k8s.io/component-base/version.gitMajor={{.Env.KUBE_GIT_MAJOR}}
- -X k8s.io/component-base/version.gitMinor={{.Env.KUBE_GIT_MINOR}}
- -X k8s.io/component-base/version.gitTreeState={{.Env.KUBE_GIT_TREE_STATE}}
- -X k8s.io/component-base/version.gitVersion={{.Env.KUBE_GIT_VERSION}}
- -X k8s.io/client-go/pkg/version.buildDate={{.Env.BUILD_DATE}}
- -X k8s.io/client-go/pkg/version.gitCommit={{.Env.KUBE_GIT_COMMIT}}
- -X k8s.io/client-go/pkg/version.gitMajor={{.Env.KUBE_GIT_MAJOR}}
- -X k8s.io/client-go/pkg/version.gitMinor={{.Env.KUBE_GIT_MINOR}}
- -X k8s.io/client-go/pkg/version.gitTreeState={{.Env.KUBE_GIT_TREE_STATE}}
- -X k8s.io/client-go/pkg/version.gitVersion={{.Env.KUBE_GIT_VERSION}}
- id: gcp-controller-manager
dir: .
main: cmd/gcp-controller-manager
ldflags:
- -X k8s.io/component-base/version/verflag.programName=gcp-controller-manager
- -X k8s.io/component-base/version.buildDate={{.Env.BUILD_DATE}}
- -X k8s.io/component-base/version.gitCommit={{.Env.KUBE_GIT_COMMIT}}
- -X k8s.io/component-base/version.gitMajor={{.Env.KUBE_GIT_MAJOR}}
- -X k8s.io/component-base/version.gitMinor={{.Env.KUBE_GIT_MINOR}}
- -X k8s.io/component-base/version.gitTreeState={{.Env.KUBE_GIT_TREE_STATE}}
- -X k8s.io/component-base/version.gitVersion={{.Env.KUBE_GIT_VERSION}}
- -X k8s.io/client-go/pkg/version.buildDate={{.Env.BUILD_DATE}}
- -X k8s.io/client-go/pkg/version.gitCommit={{.Env.KUBE_GIT_COMMIT}}
- -X k8s.io/client-go/pkg/version.gitMajor={{.Env.KUBE_GIT_MAJOR}}
- -X k8s.io/client-go/pkg/version.gitMinor={{.Env.KUBE_GIT_MINOR}}
- -X k8s.io/client-go/pkg/version.gitTreeState={{.Env.KUBE_GIT_TREE_STATE}}
- -X k8s.io/client-go/pkg/version.gitVersion={{.Env.KUBE_GIT_VERSION}}