Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the cloud DNS API library and related methods #4

Merged
merged 7 commits into from
Jan 10, 2022
Merged

Conversation

sbeaulie
Copy link
Contributor

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

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
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
lib/vmpooler/providers/gce.rb Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
lib/vmpooler/providers/gce.rb Show resolved Hide resolved
lib/vmpooler/providers/gce.rb Outdated Show resolved Hide resolved
spec/unit/providers/gce_spec.rb Outdated Show resolved Hide resolved
spec/unit/providers/gce_spec.rb Outdated Show resolved Hide resolved
spec/unit/providers/gce_spec.rb Outdated Show resolved Hide resolved
vmpooler-provider-gce.gemspec Outdated Show resolved Hide resolved
Samuel Beaulieu added 4 commits December 29, 2021 12:02
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
…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 .
Copy link
Contributor

@genebean genebean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have some places where, unlike the rest of the code, you did not use () around method parameters.

lib/vmpooler/providers/gce.rb Outdated Show resolved Hide resolved
lib/vmpooler/providers/gce.rb Outdated Show resolved Hide resolved
lib/vmpooler/providers/gce.rb Outdated Show resolved Hide resolved
lib/vmpooler/providers/gce.rb Outdated Show resolved Hide resolved
spec/unit/providers/gce_spec.rb Outdated Show resolved Hide resolved
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
@genebean genebean merged commit 480796f into main Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants