Skip to content

Commit 8b9bf0b

Browse files
committed
etcd-manager-slim built with ko
1 parent 9728daa commit 8b9bf0b

File tree

1 file changed

+8
-2
lines changed
  • pkg/model/components/etcdmanager

1 file changed

+8
-2
lines changed

pkg/model/components/etcdmanager/model.go

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ metadata:
171171
spec:
172172
containers:
173173
- name: etcd-manager
174-
image: registry.k8s.io/etcd-manager/etcd-manager-slim:v3.0.20241012
174+
image: us-central1-docker.pkg.dev/k8s-staging-images/etcd-manager/etcd-manager-slim:v3.0.20241012-12-g1e88ae1
175175
resources:
176176
requests:
177177
cpu: 100m
@@ -183,6 +183,8 @@ spec:
183183
# TODO: Would be nice to scope this more tightly, but needed for volume mounting
184184
- mountPath: /rootfs
185185
name: rootfs
186+
- mountPath: /etc/ssl
187+
name: ca-certificates
186188
- mountPath: /run
187189
name: run
188190
- mountPath: /etc/kubernetes/pki/etcd-manager
@@ -196,6 +198,10 @@ spec:
196198
path: /
197199
type: Directory
198200
name: rootfs
201+
- hostPath:
202+
path: /etc/ssl
203+
type: Directory
204+
name: ca-certificates
199205
- hostPath:
200206
path: /run
201207
type: DirectoryOrCreate
@@ -558,7 +564,7 @@ func (b *EtcdManagerBuilder) buildPod(etcdCluster kops.EtcdClusterSpec, instance
558564
}
559565

560566
{
561-
container.Command = exec.WithTee("/etcd-manager", args, "/var/log/etcd.log")
567+
container.Command = exec.WithTee("/ko-app/etcd-manager", args, "/var/log/etcd.log")
562568

563569
cpuRequest := resource.MustParse("200m")
564570
if etcdCluster.CPURequest != nil {

0 commit comments

Comments
 (0)