Skip to content

Commit

Permalink
[release/v1.56] Remove TORCX_BINDIR from containerd binary call (#1763)
Browse files Browse the repository at this point in the history
* [release/v1.56] Remove TORCX_BINDIR from containerd binary call

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* Bump OSM to v1.2.4

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>

* Fix Hetzner E2E tests

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>

* do not use removed yamllint image anymore

---------

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
Co-authored-by: Marko Mudrinić <mudrinic.mare@gmail.com>
Co-authored-by: Christoph Mewes <christoph@kubermatic.com>
  • Loading branch information
3 people committed Feb 21, 2024
1 parent 91f9179 commit e4e0835
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 15 deletions.
9 changes: 5 additions & 4 deletions .prow/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/yamllint:0.1
- image: quay.io/kubermatic/build:go-1.19-node-18-18
command:
- "sh"
- "-c"
- "yamllint -c .yamllint.conf ."
- yamllint
- -c
- .yamllint.conf
- .
resources:
requests:
memory: 32Mi
Expand Down
4 changes: 2 additions & 2 deletions examples/operating-system-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ spec:
serviceAccountName: operating-system-manager-webhook
containers:
# TODO: Update this to a semver tag before release.
- image: quay.io/kubermatic/operating-system-manager:v1.2.3
- image: quay.io/kubermatic/operating-system-manager:v1.2.4
imagePullPolicy: IfNotPresent
name: webhook
command:
Expand Down Expand Up @@ -1304,7 +1304,7 @@ spec:
serviceAccountName: operating-system-manager
containers:
# TODO: Update this to a semver tag before release.
- image: quay.io/kubermatic/operating-system-manager:v1.2.3
- image: quay.io/kubermatic/operating-system-manager:v1.2.4
imagePullPolicy: IfNotPresent
name: operating-system-manager
command:
Expand Down
2 changes: 1 addition & 1 deletion pkg/containerruntime/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ cat <<EOF | tee /etc/systemd/system/containerd.service.d/10-machine-controller.c
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/cloud-init_v1.24.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ write_files:
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/cloud-init_v1.24.9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ write_files:
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/cloud-init_v1.25.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ write_files:
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ write_files:
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/ignition_v1.24.0.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/ignition_v1.24.9.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/ignition_v1.25.0.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/e2e/provisioning/all_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ func TestHetznerProvisioningE2E(t *testing.T) {
t.Fatal("unable to run the test suite, HZ_E2E_TOKEN environment variable cannot be empty")
}

selector := OsSelector("ubuntu", "centos", "rockylinux")
selector := OsSelector("ubuntu", "rockylinux")

// act
params := []string{fmt.Sprintf("<< HETZNER_TOKEN >>=%s", hzToken)}
Expand Down

0 comments on commit e4e0835

Please sign in to comment.