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 docs for template based processing in k8s name resolution #3785

Merged
merged 10 commits into from
Oct 10, 2023

Conversation

mukundansundar
Copy link
Contributor

@mukundansundar mukundansundar commented Oct 5, 2023

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within codetabs
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:

Description

Cluster Domain related to https://github.com/dapr/components-contrib/blob/master/nameresolution/kubernetes/kubernetes.go#L63

Template related to dapr/components-contrib#2883

Issue reference

Will close #3556

@mukundansundar mukundansundar marked this pull request as ready for review October 5, 2023 13:26
@mukundansundar mukundansundar requested review from a team as code owners October 5, 2023 13:26
@mukundansundar mukundansundar linked an issue Oct 5, 2023 that may be closed by this pull request
Comment on lines 23 to 24
"clusterDomain": "cluster.local" # Mutually exclusive with the template field
"template": "{{.ID}}-{{.Data.region}}.internal:{{.Port}}" # Mutually exclusive with the clusterDomain field
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
"clusterDomain": "cluster.local" # Mutually exclusive with the template field
"template": "{{.ID}}-{{.Data.region}}.internal:{{.Port}}" # Mutually exclusive with the clusterDomain field
clusterDomain: "cluster.local" # Mutually exclusive with the template field
template: "{{.ID}}-{{.Data.region}}.internal:{{.Port}}" # Mutually exclusive with the clusterDomain field

@ItalyPaleAle
Copy link
Contributor

Thank you for this PR :)

Signed-off-by: Mukundan Sundararajan <[email protected]>
Signed-off-by: Mukundan Sundararajan <[email protected]>
Copy link
Contributor

@paulyuk paulyuk left a comment

Choose a reason for hiding this comment

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

LGTM. this is a helpful update and nicely written.

Copy link
Collaborator

@hhunter-ms hhunter-ms left a comment

Choose a reason for hiding this comment

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

really quick edits

@hhunter-ms hhunter-ms merged commit 0b14f3e into dapr:v1.12 Oct 10, 2023
4 checks passed
@mukundansundar mukundansundar deleted the template-k8s branch October 11, 2023 18:18
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.

[1.12] Update docs for Kubernetes nameresolver
4 participants