pre-commit autocorrected files (#9750)

This commit is contained in:
Bas
2023-02-06 10:35:16 +01:00
committed by GitHub
parent 10337f2fcb
commit 2c93c997cf
89 changed files with 150 additions and 104 deletions

View File

@@ -1,2 +1,2 @@
---
ssh_bastion_confing__name: ssh-bastion.conf
ssh_bastion_confing__name: ssh-bastion.conf

View File

@@ -1,2 +1,2 @@
---
allow_duplicates: true
allow_duplicates: true

View File

@@ -1,5 +1,5 @@
{% if crio_registry_auth is defined and crio_registry_auth|length %}
{
{
{% for reg in crio_registry_auth %}
"auths": {
"{{ reg.registry }}": {

View File

@@ -3,4 +3,4 @@ Environment="DOCKER_DNS_OPTIONS=\
{% for d in docker_dns_servers %}--dns {{ d }} {% endfor %} \
{% for d in docker_dns_search_domains %}--dns-search {{ d }} {% endfor %} \
{% for o in docker_dns_options %}--dns-opt {{ o }} {% endfor %} \
"
"

View File

@@ -1,2 +1,2 @@
[Service]
ExecStartPost=-{{ bin_dir }}/cleanup-docker-orphans.sh
ExecStartPost=-{{ bin_dir }}/cleanup-docker-orphans.sh

View File

@@ -375,7 +375,7 @@ valid_entropy_sources = ["/dev/urandom","/dev/random",""]
# When enable_guest_swap is enabled, insert a raw file to the guest as the swap device
# if the swappiness of a container (set by annotation "io.katacontainers.container.resource.swappiness")
# is bigger than 0.
# The size of the swap device should be
# The size of the swap device should be
# swap_in_bytes (set by annotation "io.katacontainers.container.resource.swap_in_bytes") - memory_limit_in_bytes.
# If swap_in_bytes is not set, the size should be memory_limit_in_bytes.
# If swap_in_bytes and memory_limit_in_bytes is not set, the size should

View File

@@ -65,4 +65,4 @@ ETCDCTL_CERT={{ etcd_cert_dir }}/admin-{{ inventory_hostname }}.pem
# ETCD 3.5.x issue
# https://groups.google.com/a/kubernetes.io/g/dev/c/B7gJs88XtQc/m/rSgNOzV2BwAJ?utm_medium=email&utm_source=footer
ETCD_EXPERIMENTAL_INITIAL_CORRUPT_CHECK={{ etcd_experimental_initial_corrupt_check }}
ETCD_EXPERIMENTAL_INITIAL_CORRUPT_CHECK={{ etcd_experimental_initial_corrupt_check }}

View File

@@ -87,4 +87,3 @@ rateLimiter:
rateLimitBucketWrite: {{ oci_rate_limit.rate_limit_bucket_write }}
{% endif %}
{% endif %}

View File

@@ -70,4 +70,3 @@ spec:
- name: kubernetes
mountPath: /etc/kubernetes
readOnly: true

View File

@@ -129,4 +129,3 @@ spec:
volumes:
- name: socket-dir
emptyDir: {}

View File

@@ -41,4 +41,4 @@ node-volume-attach-limit="{{ node_volume_attach_limit }}"
{% endif %}
{% if cinder_csi_rescan_on_resize is defined %}
rescan-on-resize={{ cinder_csi_rescan_on_resize | bool }}
{% endif %}
{% endif %}

View File

@@ -13,4 +13,4 @@ upcloud_csi_snapshot_controller_replicas: 2
upcloud_csi_snapshotter_image_tag: "v4.2.1"
upcloud_csi_snapshot_controller_image_tag: "v4.2.1"
upcloud_csi_snapshot_validation_webhook_image_tag: "v4.2.1"
upcloud_cacert: "{{ lookup('env','OS_CACERT') }}"
upcloud_cacert: "{{ lookup('env','OS_CACERT') }}"

View File

@@ -37,4 +37,4 @@
- inventory_hostname == groups['kube_control_plane'][0]
- not item is skipped
loop_control:
label: "{{ item.item.file }}"
label: "{{ item.item.file }}"

View File

@@ -90,4 +90,4 @@ spec:
- name: regcred
volumes:
- name: socket-dir
emptyDir: {}
emptyDir: {}

View File

@@ -5,4 +5,4 @@ metadata:
spec:
attachRequired: true
podInfoOnMount: true
fsGroupPolicy: File
fsGroupPolicy: File

View File

@@ -98,4 +98,4 @@ spec:
{% if upcloud_tolerations %}
tolerations:
{{ upcloud_tolerations | to_nice_yaml(indent=2) | indent(width=8) }}
{% endif %}
{% endif %}

View File

@@ -182,4 +182,4 @@ subjects:
roleRef:
kind: ClusterRole
name: csi-upcloud-resizer-role
apiGroup: rbac.authorization.k8s.io
apiGroup: rbac.authorization.k8s.io

View File

@@ -1,4 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: "{{ vsphere_csi_namespace }}"
name: "{{ vsphere_csi_namespace }}"

View File

@@ -3,4 +3,4 @@
approvers:
- kubespray-approvers
reviewers:
- kubespray-reviewers
- kubespray-reviewers

View File

@@ -17,4 +17,4 @@ ingress_nginx_termination_grace_period_seconds: 300
ingress_nginx_webhook_enabled: false
ingress_nginx_webhook_job_ttl: 1800
ingress_nginx_probe_initial_delay_seconds: 10
ingress_nginx_probe_initial_delay_seconds: 10

View File

@@ -8,4 +8,4 @@ metrics_server_limits_memory: 200Mi
metrics_server_requests_cpu: 100m
metrics_server_requests_memory: 200Mi
metrics_server_host_network: false
metrics_server_replicas: 1
metrics_server_replicas: 1

View File

@@ -104,4 +104,4 @@ spec:
- metrics-server
topologyKey: kubernetes.io/hostname
namespaces:
- kube-system
- kube-system

View File

@@ -3,4 +3,4 @@
approvers:
- bozzo
reviewers:
- bozzo
- bozzo

View File

@@ -40,4 +40,4 @@ dependencies:
- upcloud_csi_enabled
tags:
- persistent_volumes_upcloud_csi
- upcloud-csi-driver
- upcloud-csi-driver

View File

@@ -35,4 +35,4 @@
environment:
KUBECONFIG: "{{ kube_config_dir }}/admin.conf"
loop_control:
label: "{{ item.item.file }}"
label: "{{ item.item.file }}"

View File

@@ -31,4 +31,4 @@ nodeRegistration:
{% if kubeadm_patches is defined and kubeadm_patches.enabled %}
patches:
directory: {{ kubeadm_patches.dest_dir }}
{% endif %}
{% endif %}

View File

@@ -1,3 +1,2 @@
[global]
node-tags = {{ gce_node_tags }}
node-tags = {{ gce_node_tags }}

View File

@@ -94,4 +94,3 @@ spec:
path: /etc/kubernetes/admin.conf
name: kubeconfig
status: {}

View File

@@ -77,4 +77,3 @@ data:
"Type": "vxlan"
}
}

View File

@@ -6,4 +6,4 @@ kind: Secret
metadata:
name: cilium-ipsec-keys
namespace: kube-system
type: Opaque
type: Opaque

View File

@@ -3,4 +3,4 @@
approvers:
- bozzo
reviewers:
- bozzo
- bozzo

View File

@@ -38,4 +38,3 @@ fi
${OTHERSCRIPT} ${CONFIG}
ip link del ${DEVICE} type ${TYPE:-macvlan}

View File

@@ -41,4 +41,3 @@ ip link add \
type ${TYPE:-macvlan} mode ${MACVLAN_MODE:-private}
${OTHERSCRIPT} ${CONFIG}

View File

@@ -11,4 +11,3 @@ MACVLAN_MODE=bridge
IPADDR={{ node_pod_cidr|ipaddr('net')|ipaddr(1)|ipaddr('address') }}
NETMASK={{ node_pod_cidr|ipaddr('netmask') }}
NETWORK={{ node_pod_cidr|ipaddr('network') }}

View File

@@ -1,4 +1,3 @@
{% if enable_nat_default_gateway %}
iptables -t nat -D POSTROUTING -s {{ node_pod_cidr|ipaddr('net') }} -o {{ node_default_gateway_interface }} -j MASQUERADE
{% endif %}

View File

@@ -1,4 +1,3 @@
{% if enable_nat_default_gateway %}
iptables -t nat -I POSTROUTING -s {{ node_pod_cidr|ipaddr('net') }} -o {{ node_default_gateway_interface }} -j MASQUERADE
{% endif %}

View File

@@ -15,4 +15,3 @@ GatewayOnlink=yes
{% endif %}
{% endif %}
{% endfor %}

View File

@@ -24,4 +24,3 @@ iface mac0 inet static
{% endfor %}
post-down iptables -t nat -D POSTROUTING -s {{ node_pod_cidr|ipaddr('net') }} -o {{ node_default_gateway_interface }} -j MASQUERADE
post-down ip link delete mac0

View File

@@ -233,7 +233,7 @@ items:
{% if weave_npc_extra_args %}
- name: EXTRA_ARGS
value: "{{ weave_npc_extra_args }}"
{% endif %}
{% endif %}
image: {{ weave_npc_image_repo }}:{{ weave_npc_image_tag }}
imagePullPolicy: {{ k8s_image_pull_policy }}
resources: