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