Good Key
This commit is contained in:
@@ -4,12 +4,17 @@ include:
|
||||
|
||||
{% if grains['os'] == 'Debian' %}
|
||||
{% set DEBVER = salt['grains.get']('oscodename') %}
|
||||
Remove K8S Repository:
|
||||
file.absent:
|
||||
- names:
|
||||
- /etc/apt/sources.list.d/k8s.list
|
||||
|
||||
Debian K8S Add Repo:
|
||||
pkgrepo.managed:
|
||||
- name: deb https://apt.kubernetes.io/ kubernetes-{{DEBVER}} main
|
||||
- file: /etc/apt/sources.list.d/k8s.list
|
||||
- enable: 1
|
||||
- gpgkey: https://dl.google.com/linux/linux_signing_key.pub
|
||||
- key_url: https://packages.cloud.google.com/apt/doc/apt-key.gpg
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user