Skip to content

Commit

Permalink
Fix key in old versions
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Dec 11, 2024
1 parent d2f0466 commit a1e64f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/Debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
set_fact:
kube_key_version: "{{ kube_minor_version }}"

# for some reason, the key for 1.27 or lower is does not work
# for some reason, the key for 1.27.X or lower is does not work
- name: Set kube_key_version
set_fact:
kube_key_version: "1.30"
when: "kube_version is version('1.27', '<')"
when: "kube_version is version('1.28', '<')"

- name: Add repo key
get_url:
Expand Down

0 comments on commit a1e64f7

Please sign in to comment.