Skip to content

Support dns_record instead of the git repo#100

Draft
nrobinaubertin wants to merge 1 commit intomainfrom
dns
Draft

Support dns_record instead of the git repo#100
nrobinaubertin wants to merge 1 commit intomainfrom
dns

Conversation

@nrobinaubertin
Copy link
Contributor

@nrobinaubertin nrobinaubertin commented May 2, 2025

This PR should not be merged.

I keep it as draft because it is not intended to be merged but to be kept as a separate branch.

Overview

Removes support for the git repository way of propagating DNS changes in favor of using the dns-record relation interface

Checklist

  • The contributing guide was applied
  • The PR is tagged with appropriate label (urgent, trivial, complex)

Base automatically changed from update-charm to main May 28, 2025 01:47
Comment on lines +84 to +86
except ops.model.ModelError as e:
logger.error("ERROR while updating relation data: %s", e)
raise

Choose a reason for hiding this comment

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

We should not be in active state if there's no relation and should checked before

Choose a reason for hiding this comment

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

And the service should be put down when there's no relation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants