Commit graph

  • e3119758b4
    fix rubocop offence add-cloud-dns Samuel Beaulieu 2022-01-10 10:43:53 -06:00
  • 83770acd89
    fix dns_setup as zone was already a method also changed from setting the project name in the instance labels to a instance tag aka network tag, as the setup for allowing traffic in the FW is bassed on tag not label Samuel Beaulieu 2022-01-06 15:31:42 -06:00
  • 2cb2550aca
    refactor dns_zone to be renamed domain to match the global parameter being overwritten in the upstream vmpooler code, we use the global domain parameter, so naming that parameter the same in GCE. This parameter can be optionally set in the provider config, and overwrites the global parameter. It is used to infer the FQDN as . Samuel Beaulieu 2021-12-31 09:54:46 -06:00
  • b66218dc10
    replace dns zone entry if it already exists on the rare occasion where adding a dns record and we get teh error it already exists assume that it is stale and replace it with the new IP Samuel Beaulieu 2021-12-31 09:35:29 -06:00
  • 0beec3d8e9
    code review fixes Samuel Beaulieu 2021-12-29 12:17:25 -06:00
  • a4c730df7b
    fix rubocop and spec tests Samuel Beaulieu 2021-12-29 12:02:55 -06:00
  • daa55fe5b8
    Adding the cloud DNS API library and related methods we setup DNS when a VM is created and tear it down when a VM is deleted the DNS zone should exist already and is referenced by a provider setting the dns zone is also set in order to use it for vm_ready? instead of the global domain instances have a label that identifies which project they belong to, so it can be used for FW rules Samuel Beaulieu 2021-12-29 08:13:32 -06:00
  • f6ec318b2d
    Merge pull request #3 from puppetlabs/fix-tests Gene Liverman 2021-12-10 15:21:31 -05:00
  • 55654387af
    fix simplecov with jruby, add a .rubocop.yml config file Samuel Beaulieu 2021-12-10 12:32:23 -06:00
  • 356dfb3f52
    fix spec test yaml Samuel Beaulieu 2021-12-09 18:53:25 -06:00
  • 5c67073dad
    rubocop fixes Samuel Beaulieu 2021-12-09 18:43:36 -06:00
  • 662f965c0f
    refactor the connection and add debug logs Samuel Beaulieu 2021-12-09 17:52:19 -06:00
  • 04cc86689d
    Merge branch 'main' of github.com:puppetlabs/vmpooler-provider-gce Samuel Beaulieu 2021-12-09 11:38:01 -06:00
  • 8594160fbe
    Implementing the tag_vm_user method This method gets the user name based on the token:user metadata in redis, cleans it up to be safe for a label name (lowercase, numbers and dash or underscore only), and update the existing instance labels adding a new one called token-user Samuel Beaulieu 2021-12-09 11:35:29 -06:00
  • f6791baba0
    Adding support for fully qualified allow list eg user=bob before thhis change the allow list would only support checking the 'pool' label value we can now specify a different label name by using the format labename=value where the equal sign '=' is considered the separator Samuel Beaulieu 2021-12-09 11:33:10 -06:00
  • d401d6ae30
    Merge pull request #1 from puppetlabs/release-workflow Samuel 2021-12-08 13:46:22 -06:00
  • fc7a628063
    spec the purge method and align it with the new base method signature Samuel Beaulieu 2021-12-08 10:33:25 -06:00
  • a70e928c8e
    Add a release workflow for pushing to Rubygems Gene Liverman 2021-12-08 10:33:29 -05:00
  • 761c96fd38
    adding purge unconfigured method Samuel Beaulieu 2021-12-07 13:08:21 -06:00
  • c85fed771f
    improve revert_snapshot method Samuel Beaulieu 2021-12-07 12:12:55 -06:00
  • 2a0e9f5bdc
    adding spec tests Samuel Beaulieu 2021-12-06 11:11:13 -06:00
  • b631570871
    adding create_disk and create_snapshot method implementation Samuel Beaulieu 2021-12-03 13:31:04 -06:00
  • 588e29b6e1
    (DIO-2768) Initial gce provider Samuel Beaulieu 2021-12-01 16:16:40 -06:00