Skip to content

Commit

Permalink
Allow to override kubernetes repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Girardin committed Dec 4, 2023
1 parent 263ccea commit 09ed7fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/packages/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
_control_plane: false

kubernetes_repository: '{{ kubernetes_upstream_repository }}'
kubeadm_pkgs: true
node_pkgs: true

Expand Down
2 changes: 1 addition & 1 deletion roles/packages/vars/os_Debian.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
_repo_version: '{{ (_target_kubeadm_version|regex_findall("(?:\d+)"))[0:2]|join(".") }}'
kubernetes_repository: >-
kubernetes_upstream_repository: >-
{%- if _repo_version is version("1.24", ">=") -%}
{{ kubernetes_new_repository }}
{%- else -%}
Expand Down

0 comments on commit 09ed7fa

Please sign in to comment.