Skip to content
  1. May 10, 2022
  2. May 03, 2022
  3. Apr 27, 2022
  4. Apr 25, 2022
  5. Apr 12, 2022
  6. Apr 11, 2022
    • Anthony Bible's avatar
      Fixes for Hetzner terraform and Hetzner Cloud (#8702) · 9dced713
      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
      9dced713
  7. Mar 29, 2022
    • Christian Rohmann's avatar
      terrform/openstack: Fix templating of ansible_ssh_common_args in... · 90883e76
      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.
      90883e76
  8. Mar 13, 2022
  9. Mar 03, 2022
  10. Feb 25, 2022
  11. Feb 18, 2022
    • Kenichi Omichi's avatar
      Fix print_hostnames of inventory.py (#8554) · cc45e365
      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.
      cc45e365
  12. Feb 15, 2022
  13. Feb 14, 2022
  14. Feb 07, 2022
    • DenisKa's avatar
      Fixed mitogen.yml (#8508) · 696101a9
      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?:
      696101a9
  15. Feb 02, 2022
  16. Feb 01, 2022
  17. Jan 31, 2022
  18. Jan 27, 2022
  19. Jan 25, 2022
    • ceesios's avatar
      Proposing fixes for contrib/terraform/vsphere/ #8436 (#8441) · d86a3b96
      ceesios authored
      * fixes issues in vSphere Terraform contrib. #8436
      
      * fix formatting
      
      * add variables to the main module and document changes
      
      * add missing newline
      d86a3b96
    • Mathieu Parent's avatar
      Update terraform GCP to Ubuntu 20.04 (latest LTS) (#8463) · d64b341b
      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
      d64b341b
  20. Jan 14, 2022
  21. Jan 11, 2022
    • moss2k13's avatar
      contrib: add cloud-init support for terraform vms (#8394) · 135c9b29
      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
      135c9b29
  22. Jan 09, 2022
    • Kenichi Omichi's avatar
      Fix risky-file-permissions (#8370) · f80fd24a
      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.
      f80fd24a
    • Kenichi Omichi's avatar
      Move containerd_version to defaults/main.yml (#8379) · 51bd9bee
      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.
      51bd9bee
  23. Dec 23, 2021
  24. Nov 30, 2021
  25. Nov 22, 2021
  26. Nov 19, 2021
  27. Nov 12, 2021
  28. Nov 04, 2021
  29. Oct 07, 2021
  30. Sep 24, 2021
  31. Sep 15, 2021
  32. Sep 10, 2021
  33. Aug 19, 2021
  34. Jul 26, 2021
    • Kenichi Omichi's avatar
      Fix how to get image ID on offline deployment (#7808) · 8f44cd35
      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.
      8f44cd35
Loading