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

helm: Don't suppress configuration for registries other than TXT #3736

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

johngmyers
Copy link
Contributor

Description

The "aws-sd" and "dynamodb" registries also consume txtOwnerId. The "dynamodb" registry will also soon be consuming txtPrefix and txtSuffix.

Also document these existing settings.

Checklist

  • Unit tests updated
  • End user documentation updated

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 27, 2023
@mloiseleur
Copy link
Contributor

@johngmyers Wdyt about changing also the help message of the CLI. Currently with --help:

  --txt-owner-id="default"       When using the TXT registry, a name that identifies this instance of ExternalDNS
                                 (default: default)

I suggest to replace it with something like

  --txt-owner-id="default"       When using the registry, a name that identifies this instance of ExternalDNS
                                 (default: default)

@johngmyers
Copy link
Contributor Author

@mloiseleur chaging the description of the flag would be good, but is outside the scope of this PR.

I put a more complete description in the second paragraph of https://github.com/kubernetes-sigs/external-dns/blob/master/docs/registry/registry.md

@k8s-ci-robot
Copy link
Contributor

@mloiseleur: changing LGTM is restricted to collaborators

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@@ -88,7 +87,6 @@ spec:
{{- if and (eq .Values.txtPrefix "") (ne .Values.txtSuffix "") }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{{- if and (eq .Values.txtPrefix "") (ne .Values.txtSuffix "") }}
{{- if and (not .Values.txtPrefix "") .Values.txtSuffix }}

This change would be worth making for consistency while modifying this area.

Copy link
Contributor

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @johngmyers, this looks good to me. I did add a single comment which is IMHO a worthwhile change but it's not necessary.

/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 29, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johngmyers, mloiseleur, stevehipwell

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 29, 2023
@k8s-ci-robot k8s-ci-robot merged commit 0228c14 into kubernetes-sigs:master Jun 29, 2023
10 checks passed
@johngmyers johngmyers deleted the dynamodb-helm branch June 30, 2023 03:52
@johngmyers johngmyers mentioned this pull request Sep 13, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants