Skip to content

Commit

Permalink
kuberesource: use our own CAA image
Browse files Browse the repository at this point in the history
  • Loading branch information
Freax13 committed Nov 4, 2024
1 parent 3ae4e07 commit 3fb6a9d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/kuberesource/parts.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,11 @@ func NodeInstaller(namespace string, platform platforms.Platform) (*NodeInstalle

cloudAPIAdaptor := Container().
WithName("cloud-api-adaptor").
// TODO(freax13): Don't hard-code this
WithImage("quay.io/confidential-containers/cloud-api-adaptor:v0.9.0-amd64").
WithImage("ghcr.io/edgelesssys/contrast/cloud-api-adaptor:latest").
WithVolumeMounts(
VolumeMount().
WithName("ssh").
WithMountPath("/root/.ssh/").
WithMountPath("/.ssh/").
WithReadOnly(true),
VolumeMount().
WithName("pods-dir").
Expand All @@ -145,9 +144,10 @@ func NodeInstaller(namespace string, platform platforms.Platform) (*NodeInstalle
WithName("netns").
WithMountPath("/run/netns").
WithMountPropagation(corev1.MountPropagationHostToContainer),
).
WithArgs(
"/usr/local/bin/entrypoint.sh",
VolumeMount().
WithName("netns").
WithMountPath("/var/run/netns").
WithMountPropagation(corev1.MountPropagationHostToContainer),
).
WithEnv(
NewEnvVar("optionals", fmt.Sprintf("-socket /run/peerpod/hypervisor-%s.sock ", runtimeHandler)),
Expand Down

0 comments on commit 3fb6a9d

Please sign in to comment.