Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Kubernetes APT GPG keys #76

Merged
merged 5 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/edgenet-kubernetes/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ containerd_apt_repository: "deb [arch={{ containerd_apt_arch }}] https://downloa
containerd_apt_gpg_key: "https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg"

kubernetes_apt_release_channel: main
kubernetes_apt_repository: "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}"
kubernetes_apt_repository: "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.asc] http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}"
kubernetes_apt_gpg_key: https://packages.cloud.google.com/apt/doc/apt-key.gpg

# RedHat
Expand Down
2 changes: 1 addition & 1 deletion roles/edgenet-kubernetes/tasks/kube-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- name: Ensure Kubernetes APT GPG key is present
get_url:
url: "{{ kubernetes_apt_gpg_key }}"
dest: /usr/share/keyrings/kubernetes-archive-keyring.gpg
dest: /etc/apt/keyrings/kubernetes-archive-keyring.asc

- name: Ensure Kubernetes APT repository is present
apt_repository:
Expand Down