Skip to content
Snippets Groups Projects
Unverified Commit 2c93c997 authored by Bas's avatar Bas Committed by GitHub
Browse files

pre-commit autocorrected files (#9750)

parent 10337f2f
No related branches found
No related tags found
No related merge requests found
Showing
with 34 additions and 18 deletions
...@@ -24,7 +24,14 @@ skip_list: ...@@ -24,7 +24,14 @@ skip_list:
# (Disabled in June 2021) # (Disabled in June 2021)
- 'role-name' - 'role-name'
- 'experimental'
# [var-naming] "defaults/main.yml" File defines variable 'apiVersion' that violates variable naming standards # [var-naming] "defaults/main.yml" File defines variable 'apiVersion' that violates variable naming standards
# In Kubespray we use variables that use camelCase to match their k8s counterparts # In Kubespray we use variables that use camelCase to match their k8s counterparts
# (Disabled in June 2021) # (Disabled in June 2021)
- 'var-naming' - 'var-naming'
- 'var-spacing'
# [fqcn-builtins]
# Roles in kubespray don't need fully qualified collection names
# (Disabled in Feb 2023)
- 'fqcn-builtins'
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-xml
- id: check-merge-conflict
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git
rev: v1.27.1 rev: v1.27.1
hooks: hooks:
......
kubespray.io kubespray.io
\ No newline at end of file
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
identification within third-party archives. identification within third-party archives.
Copyright 2016 Kubespray Copyright 2016 Kubespray
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
You may obtain a copy of the License at You may obtain a copy of the License at
......
...@@ -5,4 +5,4 @@ approvers: ...@@ -5,4 +5,4 @@ approvers:
reviewers: reviewers:
- kubespray-reviewers - kubespray-reviewers
emeritus_approvers: emeritus_approvers:
- kubespray-emeritus_approvers - kubespray-emeritus_approvers
\ No newline at end of file
boto3 # Apache-2.0 boto3 # Apache-2.0
\ No newline at end of file
.generated .generated
/inventory /inventory
\ No newline at end of file
...@@ -31,4 +31,3 @@ ...@@ -31,4 +31,3 @@
[k8s_cluster:children] [k8s_cluster:children]
kube_node kube_node
kube_control_plane kube_control_plane
...@@ -27,4 +27,4 @@ ...@@ -27,4 +27,4 @@
} }
} }
] ]
} }
\ No newline at end of file
...@@ -103,4 +103,4 @@ ...@@ -103,4 +103,4 @@
} }
{% endif %} {% endif %}
] ]
} }
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
"variables": {}, "variables": {},
"resources": [], "resources": [],
"outputs": {} "outputs": {}
} }
\ No newline at end of file
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
} }
} }
] ]
} }
\ No newline at end of file
configparser>=3.3.0 configparser>=3.3.0
ruamel.yaml>=0.15.88
ipaddress ipaddress
ruamel.yaml>=0.15.88
hacking>=0.10.2 hacking>=0.10.2
pytest>=2.8.0
mock>=1.3.0 mock>=1.3.0
pytest>=2.8.0
#k8s_deployment_user: kubespray #k8s_deployment_user: kubespray
#k8s_deployment_user_pkey_path: /tmp/ssh_rsa #k8s_deployment_user_pkey_path: /tmp/ssh_rsa
...@@ -41,4 +41,3 @@ ...@@ -41,4 +41,3 @@
# [network-storage:children] # [network-storage:children]
# gfs-cluster # gfs-cluster
...@@ -21,4 +21,3 @@ ...@@ -21,4 +21,3 @@
{% endfor %} {% endfor %}
] ]
} }
...@@ -13,4 +13,3 @@ output "k8s_etcds" { ...@@ -13,4 +13,3 @@ output "k8s_etcds" {
output "k8s_nodes" { output "k8s_nodes" {
value = equinix_metal_device.k8s_node.*.access_public_ipv4 value = equinix_metal_device.k8s_node.*.access_public_ipv4
} }
...@@ -54,4 +54,3 @@ variable "number_of_etcd" { ...@@ -54,4 +54,3 @@ variable "number_of_etcd" {
variable "number_of_k8s_nodes" { variable "number_of_k8s_nodes" {
default = 1 default = 1
} }
...@@ -53,4 +53,4 @@ resource "null_resource" "inventories" { ...@@ -53,4 +53,4 @@ resource "null_resource" "inventories" {
triggers = { triggers = {
template = data.template_file.inventory.rendered template = data.template_file.inventory.rendered
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment