fix(agent): correct Podman container engine header in sync edge client [BE-12887] (#2498) (#2506)

This commit is contained in:
RHCowan
2026-04-30 09:03:20 +12:00
committed by GitHub
parent e964be75db
commit 8e39a16172
4 changed files with 37 additions and 0 deletions
@@ -8,6 +8,30 @@ import {
} from './scripts';
import { ScriptFormValues } from './types';
it('buildLinuxPodmanCommand should include PODMAN=1', () => {
const command = buildLinuxPodmanCommand(
'2.19.0',
'test-edge-key',
{
allowSelfSignedCertificates: false,
authEnabled: false,
edgeGroupsIds: [],
edgeIdGenerator: '',
envVars: '',
group: 0,
os: 'linux',
platform: 'podman',
tagsIds: [],
tlsEnabled: false,
},
false,
'test-edge-id',
'test-secret'
);
expect(command).toContain('PODMAN=1');
});
describe.each([
{
name: 'buildLinuxStandaloneCommand',