(CAT-2193): Fixed kubernetes environment setup for Debian. #237
Annotations
3 errors and 1 warning
Run tests:
spec/classes/repos_spec.rb#L45
kubernetes::repos with osfamily => Ubuntu and manage_docker => true is expected to contain Apt::Source[kubernetes] with ensure => "present", location => "http://apt.kubernetes.io", repos => "main", release => "kubernetes-xenial" and key => {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"}
Failure/Error:
expect(subject).to contain_apt__source('kubernetes').with(
ensure: 'present',
location: 'http://apt.kubernetes.io',
repos: 'main',
release: 'kubernetes-xenial',
key: { 'id' => '54A647F9048D5688D7DA2ABE6A030B21BA07F4FB', 'source' => 'https://packages.cloud.google.com/apt/doc/apt-key.gpg' },
)
expected that the catalogue would contain Apt::Source[kubernetes] with key set to {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} but it is set to {"name"=>"kubernetes-apt-keyring.gpg", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"}
|
Run tests:
spec/classes/repos_spec.rb#L106
kubernetes::repos with osfamily => Ubuntu and container_runtime => cri_containerd and containerd_install_method => package is expected to contain Apt::Source[kubernetes] with ensure => "present", location => "http://apt.kubernetes.io", repos => "main", release => "kubernetes-xenial" and key => {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"}
Failure/Error:
expect(subject).to contain_apt__source('kubernetes').with(
ensure: 'present',
location: 'http://apt.kubernetes.io',
repos: 'main',
release: 'kubernetes-xenial',
key: { 'id' => '54A647F9048D5688D7DA2ABE6A030B21BA07F4FB', 'source' => 'https://packages.cloud.google.com/apt/doc/apt-key.gpg' },
)
expected that the catalogue would contain Apt::Source[kubernetes] with key set to {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} but it is set to {"name"=>"kubernetes-apt-keyring.gpg", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"}
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see /~https://github.com/actions/runner-images/issues/10636
|
Loading