Skip to content

Commit baf7238

Browse files
authored
Merge branch 'puppetlabs:main' into fix/kubeadm-join-node-check
2 parents 98fb0fb + b4b7e4d commit baf7238

File tree

4 files changed

+22
-12
lines changed

4 files changed

+22
-12
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,24 @@ jobs:
1313

1414
Integration:
1515
needs: "Spec"
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-24.04
1717
strategy:
1818
fail-fast: false
1919
matrix: {'platform':['rhel-8', 'debian-11'],'collection':['puppet7-nightly', 'puppet8-nightly']}
2020

2121
steps:
22+
- name: "Install Twingate"
23+
uses: "twingate/github-action@v1"
24+
with:
25+
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
26+
2227
- name: Checkout Source
2328
uses: actions/checkout@v3
2429

25-
- name: Activate Ruby 2.7
30+
- name: Activate Ruby 3.1
2631
uses: ruby/setup-ruby@v1
2732
with:
28-
ruby-version: "2.7"
33+
ruby-version: "3.1"
2934
bundler-cache: true
3035

3136
- name: Print bundle environment

.github/workflows/nightly.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,24 @@ jobs:
1111

1212
Integration:
1313
needs: "Spec"
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-24.04
1515
strategy:
1616
fail-fast: false
1717
matrix: {'platform':['rhel-8', 'debian-11'],'collection':['puppet7-nightly', 'puppet8-nightly']}
1818

1919
steps:
20+
- name: "Install Twingate"
21+
uses: "twingate/github-action@v1"
22+
with:
23+
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
24+
2025
- name: Checkout Source
2126
uses: actions/checkout@v3
2227

23-
- name: Activate Ruby 2.7
28+
- name: Activate Ruby 3.1
2429
uses: ruby/setup-ruby@v1
2530
with:
26-
ruby-version: "2.7"
31+
ruby-version: "3.1"
2732
bundler-cache: true
2833

2934
- name: Print bundle environment

manifests/config/worker.pp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@
9595
$kubelet_extra_config_yaml = regsubst(to_yaml($kubelet_extra_config), '^---\n', '')
9696

9797
$template = $kubernetes_version ? {
98-
/1\.12/ => 'v1alpha3',
99-
/1\.1(3|4|5\.[012])/ => 'v1beta1',
100-
/1\.(16|17|18|19|20|21)/ => 'v1beta2',
101-
default => 'v1beta3',
98+
/^1\.12/ => 'v1alpha3',
99+
/^1\.1(3|4|5\.[012])/ => 'v1beta1',
100+
/^1\.(16|17|18|19|20|21)/ => 'v1beta2',
101+
default => 'v1beta3',
102102
}
103103

104104
file { '/etc/kubernetes':

metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
},
1515
{
1616
"name": "puppetlabs-apt",
17-
"version_requirement": "<= 10.0.0"
17+
"version_requirement": ">= 10.0.0"
1818
},
1919
{
2020
"name": "puppet-archive",
21-
"version_requirement": ">= 2.0.0 < 8.0.0"
21+
"version_requirement": ">= 2.0.0 <= 8.1.0"
2222
},
2323
{
2424
"name": "puppet-augeasproviders_sysctl",

0 commit comments

Comments
 (0)