Skip to content

Commit

Permalink
salt: Fix the get method for maxPods value
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekiel-alexrod committed Nov 27, 2023
1 parent b799e4d commit 8530d32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
- Fix a bug in retry logic for ETCd backup
(PR[4197](https://github.com/scality/metalk8s/pull/4197))

- Fix the `get` method for the `maxPods` value
(PR[4200](https://github.com/scality/metalk8s/pull/4200))

## Release 125.0.6

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion salt/metalk8s/kubernetes/kubelet/standalone.sls
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Create kubelet config file:
address: {{ grains['metalk8s']['control_plane_ip'] }}
rotateCertificates: false
port: 10250
{%- if pillar.get("kubernetes:kubelet:config:maxPods") %}
{%- if salt.pillar.get("kubernetes:kubelet:config:maxPods") %}
maxPods: {{ pillar.kubernetes.kubelet.config.maxPods }}
{%- endif %}
{%- for key, value in kubelet.config.items() %}
Expand Down

0 comments on commit 8530d32

Please sign in to comment.