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

[CI-1334] update dns svc discovery for rke2 (#2895) #2898

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

ti-afra
Copy link
Contributor

@ti-afra ti-afra commented Sep 27, 2023

dns service is named differently on rke2. default dns service is called "kube-dns" and on rke2 it is called "rke2-coredns-rke2-coredns". Thus, we need to retrieve dns service using the appropriate name based on the platform.

Description

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

* change dns svc retrieval

* update error msg
@caseydavenport caseydavenport merged commit 0ae136f into tigera:master Sep 27, 2023
5 checks passed
@ti-afra ti-afra deleted the nodelocal-rke2 branch September 27, 2023 16:35
@ti-afra ti-afra changed the title update dns svc discovery for rke2 (#2895) [CI-1334] update dns svc discovery for rke2 (#2895) Sep 27, 2023
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