- May 10, 2022
-
-
Kenichi Omichi authored
-
- May 03, 2022
-
-
Robin Wallace authored
* [openstack] fix for new network modules * [openstack] for-each master nodes
-
- Apr 27, 2022
-
-
Cristian Calin authored
* [terraform] use modern day equinix metal provider * [CI] ensure packet job tests metal
-
- Apr 25, 2022
-
-
Olle Larsson authored
-
- Apr 12, 2022
-
-
SOPHAL HONG authored
Add tag to AWS VPC subnets for automatic subnet discovery by load balancers or ingress controllers (#8705)
-
Robin Wallace authored
* [upcloud] add upcloud csi-driver * Option to use ansible_host as api ip for kubueconfig
-
- Apr 11, 2022
-
-
Anthony Bible authored
* - add ability to specify the network_zone in hetzner terraform - Export the network id from hetzner terraform the the generated inventory.ini * - Add with_networks variable to allow different deployments of hcloud controller manager - Add network id to hcloud controller secret (added via the inventory) - Don't include extra_args if it's not set
-
- Mar 29, 2022
-
-
Christian Rohmann authored
terrform/openstack: Fix templating of ansible_ssh_common_args in no_floating.yml if used as TF module (#8646) * terraform/openstack: Use path.module for ansible_bastion_template.txt This extends on #7643 by not using path.root, but switching to path.module to allow use of the terraform code as a module itself. This change then keeps all calls to the template file stable even for that use-case. * terraform/openstack: Make sed calls fail on errors By using a single call with two replacements to use of sed will create proper exit codes and allowing for errors to be recognized by terraform.
-
- Mar 13, 2022
-
-
Kenichi Omichi authored
This adds a unit test for the function.
-
- Mar 03, 2022
-
-
Mathieu Parent authored
Also, do not create unneeded resources (target pools are charged and should only be created when needed).
-
- Feb 25, 2022
-
-
SOPHAL HONG authored
-
- Feb 18, 2022
-
-
Kenichi Omichi authored
When trying to run print_hostnames of inventory.py, it outputs the following error: $ CONFIG_FILE=./test-hosts.yaml python3 ./inventory.py print_hostnames Traceback (most recent call last): File "./inventory.py", line 472, in <module> sys.exit(main()) File "./inventory.py", line 467, in main KubesprayInventory(argv, CONFIG_FILE) File "./inventory.py", line 92, in __init__ self.parse_command(changed_hosts[0], changed_hosts[1:]) File "./inventory.py", line 415, in parse_command self.print_hostnames() File "./inventory.py", line 455, in print_hostnames print(' '.join(self.yaml_config['all']['hosts'].keys())) KeyError: 'all' because it is missed to load a hosts config file before printing hostnames. This fixes the issue.
-
- Feb 15, 2022
-
-
Mathieu Parent authored
-
SOPHAL HONG authored
-
- Feb 14, 2022
-
-
Takuya Murakami authored
Use jinja2 template and ansible to expand variables.
-
- Feb 07, 2022
-
-
DenisKa authored
Fixed the problem when call ansible-playbook contrib/mitogen/mitogen.yml "The error was: 'dict object' has no attribute 'section'" What type of PR is this? /kind bug What this PR does / why we need it: Which issue(s) this PR fixes: Fixes # Special notes for your reviewer: Does this PR introduce a user-facing change?:
-
- Feb 02, 2022
-
-
Cristian Calin authored
Use openstack_networking_port_v2 and openstack_networking_floatingip_associate_v2 to attach floating ips. This gives us more flexibility on disabling port security when binding instances directly on provider networks in private cloud scenario.
-
- Feb 01, 2022
-
-
Mathieu Parent authored
* terraform/gcp: Do not create unused subnetworks By default terraform creates a subnetwork in each 39 regions * terraform/gcp: Upgrade to latest google provider ... where "one of source_tags, source_ranges, or source_service_accounts must be defined"
-
Michael Schmitz authored
* Use sysctl_file_path variable for all sysctl_file locations * Add sysctl_file_path variable to kubespay-defaults * Remove previously used sysctl file locations if present * Use explicit filename in roles/kubernetes/node/defaults/main.yml * Defaults: use explicit value
-
- Jan 31, 2022
-
-
Mathieu Parent authored
-
- Jan 27, 2022
-
-
Cristian Calin authored
-
- Jan 25, 2022
-
-
ceesios authored
* fixes issues in vSphere Terraform contrib. #8436 * fix formatting * add variables to the main module and document changes * add missing newline
-
Mathieu Parent authored
* Fix terraform Warning Version constraints inside provider configuration blocks are deprecated Terraform 0.13 and earlier allowed provider version constraints inside the provider configuration block, but that is now deprecated and will be removed in a future version of Terraform. To silence this warning, move the provider version constraint into the required_providers block. * Fix terraform Warning: Quoted references are deprecated * terraform: Update GCP Ubuntu to latest LTS
-
- Jan 14, 2022
-
-
Cristian Calin authored
-
- Jan 11, 2022
-
-
moss2k13 authored
* contrib: add cloud-init support for terraform vms This change enables instance customization via cloud-init, for example: additional CA certs, custom SSH access etc. * contrib: update docs for terraform cloud-init * contrib: disable yamllint in cloud-init require-starting-space rule breaks cloud-init header * contrib: documenation formatting * yamllint: disable comments related checks * docs: markdown formatting
-
- Jan 09, 2022
-
-
Kenichi Omichi authored
When running ansible-lint directly, we can see a lot of warning message like risky-file-permissions File permissions unset or incorrect This fixes the warning messages.
-
Kenichi Omichi authored
All container image versions were defined in download/defaults/main.yml except containerd. The inconsistency caused the offline script(generate_list.sh) could not output the URL of containerd image. This moves the definition into a valid file. In addition, this adds host_os to generate_list.sh for downloading krew from a valid URL.
-
- Dec 23, 2021
-
-
zemkogabor authored
-
- Nov 30, 2021
-
-
Robin Wallace authored
-
- Nov 22, 2021
-
-
Olle Larsson authored
-
- Nov 19, 2021
-
-
Febrian Setianto authored
* use pre-existing floating IP for bastion * document bastion_fips in readme
-
- Nov 12, 2021
-
-
Lars Larsson authored
* Fixes various issues in vSphere Terraform code Provided to address various shortcomings and to fix the following issue in upstream Kubespray: https://github.com/kubernetes-sigs/kubespray/issues/8176 * Resolves Terraform formatting issues * Sets default prefix to human-readable name * Documents new default prefix in README
-
- Nov 04, 2021
-
-
Cristian Calin authored
-
- Oct 07, 2021
-
-
Fredrik Liv authored
-
- Sep 24, 2021
-
-
Kenichi Omichi authored
When not specifying disable_service_firewall, the task is failed. This adds the definition check.
-
- Sep 15, 2021
-
-
Ray Terrill authored
Modify connection_strings_etcd to only return etcd nodes - not master nodes - since this results in duplicate hosts in the generated Ansible inventory and is unnecessary.
-
- Sep 10, 2021
-
-
Fredrik Liv authored
additional disks
-
Vladimir Masarik authored
* Fix: adding new ips with inventory builder (#7577) * moved conflig loading logic to after checking whether the config should be loaded, and added check for whether the config should be loaded * added check for removing nodes from config if the user wants to remove a node, we need to load the config * Fix tox errors
-
- Aug 19, 2021
-
-
Victor Morales authored
The main functions are wrapped by a sys.exit function which expects and argument. The curent implementation isn't returning values in all cases. This change ensures main functions return a value in all cases.
-
- Jul 26, 2021
-
-
Kenichi Omichi authored
Previously IDs of container images were gotten from tar files of container images but that way was wrong. If multiple json files are contained in a tar file, the script got multiple IDs and tried to pass these IDs on `docker tag` command. Then the command was failed. This updates the script to get image IDs from `docker image inspect` command to fix this issue. In addition, this adds a check a registry container exists already or not before deploying registry container to avoid a container conflict failure.
-