Fix yamllint findings (#271)

This commit is contained in:
Manuel Rüger authored and GitHub committed 2022-03-28 21:19:52 -04:00
1 parent e88a2260c5
commit cfe1344376
6 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ export BOOTSTRAP_ANSIBLE_KUBE_VIP_ADDRESS=""
#
# Default prefixes for hostnames assigned by Ansible
# These are unused on nodes where BOOTSTRAP_ANSIBLE_HOSTNAME_ is provided
#
#
export BOOTSTRAP_ANSIBLE_DEFAULT_CONTROL_NODE_HOSTNAME_PREFIX="k8s-"
export BOOTSTRAP_ANSIBLE_DEFAULT_NODE_HOSTNAME_PREFIX="k8s-"
@@ -29,10 +29,10 @@ spec:
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production"
hajimari.io/enable: "true"
hajimari.io/icon: "video-input-antenna"
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
cert-manager.io/cluster-issuer: "letsencrypt-production"
hajimari.io/enable: "true"
hajimari.io/icon: "video-input-antenna"
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
hosts:
- host: "echo-server.${SECRET_DOMAIN}"
paths:
@@ -2,4 +2,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- helm-release.yaml
+3 -3
View File
@@ -28,6 +28,6 @@ roleRef:
kind: ClusterRole
name: system:kube-vip-role
subjects:
- kind: ServiceAccount
name: kube-vip
namespace: kube-system
- kind: ServiceAccount
name: kube-vip
namespace: kube-system
+1 -1
View File
@@ -229,7 +229,7 @@ verify_ansible_hosts() {
local node_hostname=
local default_control_node_prefix=
local default_worker_node_prefix=
default_control_node_prefix="BOOTSTRAP_ANSIBLE_DEFAULT_CONTROL_NODE_HOSTNAME_PREFIX"
default_worker_node_prefix="BOOTSTRAP_ANSIBLE_DEFAULT_NODE_HOSTNAME_PREFIX"
_has_optional_envar "${default_control_node_prefix}"
@@ -40,7 +40,7 @@
- name: Check if Raspberry Pi
command: grep -q "Raspberry Pi" /proc/cpuinfo
ignore_errors: true
register: is_raspberry
register: is_raspberry
- name: Install raspberry specific packages for Ubuntu 21 or greater
ansible.builtin.apt:
@@ -55,7 +55,7 @@
retries: 5
until: apt_install_raspberry is success
when: is_raspberry and (ansible_lsb.major_release|int >= 21)
- name: Copy 20auto-upgrades unattended-upgrades config
ansible.builtin.blockinfile:
path: /etc/apt/apt.conf.d/20auto-upgrades