mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-18 03:30:07 -03:30
pre-commit autocorrected files (#9750)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
---
|
||||
ssh_bastion_confing__name: ssh-bastion.conf
|
||||
ssh_bastion_confing__name: ssh-bastion.conf
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
---
|
||||
allow_duplicates: true
|
||||
allow_duplicates: true
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if crio_registry_auth is defined and crio_registry_auth|length %}
|
||||
{
|
||||
{
|
||||
{% for reg in crio_registry_auth %}
|
||||
"auths": {
|
||||
"{{ reg.registry }}": {
|
||||
|
||||
@@ -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 %} \
|
||||
"
|
||||
"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPost=-{{ bin_dir }}/cleanup-docker-orphans.sh
|
||||
ExecStartPost=-{{ bin_dir }}/cleanup-docker-orphans.sh
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -87,4 +87,3 @@ rateLimiter:
|
||||
rateLimitBucketWrite: {{ oci_rate_limit.rate_limit_bucket_write }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -70,4 +70,3 @@ spec:
|
||||
- name: kubernetes
|
||||
mountPath: /etc/kubernetes
|
||||
readOnly: true
|
||||
|
||||
|
||||
@@ -129,4 +129,3 @@ spec:
|
||||
volumes:
|
||||
- name: socket-dir
|
||||
emptyDir: {}
|
||||
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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') }}"
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
@@ -90,4 +90,4 @@ spec:
|
||||
- name: regcred
|
||||
volumes:
|
||||
- name: socket-dir
|
||||
emptyDir: {}
|
||||
emptyDir: {}
|
||||
|
||||
@@ -5,4 +5,4 @@ metadata:
|
||||
spec:
|
||||
attachRequired: true
|
||||
podInfoOnMount: true
|
||||
fsGroupPolicy: File
|
||||
fsGroupPolicy: File
|
||||
|
||||
@@ -98,4 +98,4 @@ spec:
|
||||
{% if upcloud_tolerations %}
|
||||
tolerations:
|
||||
{{ upcloud_tolerations | to_nice_yaml(indent=2) | indent(width=8) }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -182,4 +182,4 @@ subjects:
|
||||
roleRef:
|
||||
kind: ClusterRole
|
||||
name: csi-upcloud-resizer-role
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: "{{ vsphere_csi_namespace }}"
|
||||
name: "{{ vsphere_csi_namespace }}"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
approvers:
|
||||
- kubespray-approvers
|
||||
reviewers:
|
||||
- kubespray-reviewers
|
||||
- kubespray-reviewers
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -104,4 +104,4 @@ spec:
|
||||
- metrics-server
|
||||
topologyKey: kubernetes.io/hostname
|
||||
namespaces:
|
||||
- kube-system
|
||||
- kube-system
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
approvers:
|
||||
- bozzo
|
||||
reviewers:
|
||||
- bozzo
|
||||
- bozzo
|
||||
|
||||
@@ -40,4 +40,4 @@ dependencies:
|
||||
- upcloud_csi_enabled
|
||||
tags:
|
||||
- persistent_volumes_upcloud_csi
|
||||
- upcloud-csi-driver
|
||||
- upcloud-csi-driver
|
||||
|
||||
@@ -35,4 +35,4 @@
|
||||
environment:
|
||||
KUBECONFIG: "{{ kube_config_dir }}/admin.conf"
|
||||
loop_control:
|
||||
label: "{{ item.item.file }}"
|
||||
label: "{{ item.item.file }}"
|
||||
|
||||
@@ -31,4 +31,4 @@ nodeRegistration:
|
||||
{% if kubeadm_patches is defined and kubeadm_patches.enabled %}
|
||||
patches:
|
||||
directory: {{ kubeadm_patches.dest_dir }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
[global]
|
||||
node-tags = {{ gce_node_tags }}
|
||||
|
||||
node-tags = {{ gce_node_tags }}
|
||||
|
||||
@@ -94,4 +94,3 @@ spec:
|
||||
path: /etc/kubernetes/admin.conf
|
||||
name: kubeconfig
|
||||
status: {}
|
||||
|
||||
|
||||
@@ -77,4 +77,3 @@ data:
|
||||
"Type": "vxlan"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,4 +6,4 @@ kind: Secret
|
||||
metadata:
|
||||
name: cilium-ipsec-keys
|
||||
namespace: kube-system
|
||||
type: Opaque
|
||||
type: Opaque
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
approvers:
|
||||
- bozzo
|
||||
reviewers:
|
||||
- bozzo
|
||||
- bozzo
|
||||
|
||||
@@ -38,4 +38,3 @@ fi
|
||||
${OTHERSCRIPT} ${CONFIG}
|
||||
|
||||
ip link del ${DEVICE} type ${TYPE:-macvlan}
|
||||
|
||||
|
||||
@@ -41,4 +41,3 @@ ip link add \
|
||||
type ${TYPE:-macvlan} mode ${MACVLAN_MODE:-private}
|
||||
|
||||
${OTHERSCRIPT} ${CONFIG}
|
||||
|
||||
|
||||
@@ -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') }}
|
||||
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
@@ -15,4 +15,3 @@ GatewayOnlink=yes
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user