mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-12-21 19:06:56 +01:00
Merge pull request #110 from bbcnt/repo_gpg_key_variable
gpgcheck and repo_gpgcheck as vars
This commit is contained in:
commit
c9d6264ad7
@ -122,6 +122,8 @@ Apt repository options for Kubernetes installation.
|
||||
kubernetes_yum_gpg_key:
|
||||
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
|
||||
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
|
||||
kubernetes_yum_gpg_check: true
|
||||
kubernetes_yum_repo_gpg_check: true
|
||||
|
||||
Yum repository options for Kubernetes installation. You can change `kubernete_yum_gpg_key` to a different url if you are behind a firewall or provide a trustworthy mirror. Usually in combination with changing `kubernetes_yum_base_url` as well.
|
||||
|
||||
|
@ -62,6 +62,9 @@ kubernetes_yum_gpg_key:
|
||||
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
|
||||
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
|
||||
|
||||
kubernetes_yum_gpg_check: true
|
||||
kubernetes_yum_repo_gpg_check: true
|
||||
|
||||
# Flannel config files.
|
||||
kubernetes_flannel_manifest_file_rbac: https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
|
||||
kubernetes_flannel_manifest_file: https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
|
||||
|
@ -4,8 +4,8 @@
|
||||
name: kubernetes
|
||||
description: Kubernetes
|
||||
enabled: true
|
||||
gpgcheck: true
|
||||
repo_gpgcheck: true
|
||||
gpgcheck: "{{ kubernetes_yum_gpg_check }}"
|
||||
repo_gpgcheck: "{{ kubernetes_yum_repo_gpg_check }}"
|
||||
baseurl: "{{ kubernetes_yum_base_url }}"
|
||||
gpgkey: "{{ kubernetes_yum_gpg_key }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user