Sitelet https://github.com/kubernetes/kops/pull/18387
Skip to content

Automated cherry pick of #18384: Fix kops get assets when spec.dnsZone is a DNS name - #18387

Merged
k8s-ci-robot merged 1 commit into
kubernetes:release-1.34from
hakman:automated-cherry-pick-of-#18384-upstream-release-1.34
May 21, 2026
Merged

k8s-ci-robot merged 1 commit into
kubernetes:release-1.34from
hakman:automated-cherry-pick-of-#18384-upstream-release-1.34

Conversation

@hakman

@hakman hakman commented May 21, 2026

Copy link
Copy Markdown
Member

Cherry pick of #18384 on release-1.34.

#18384: Fix kops get assets when spec.dnsZone is a DNS name

For details on the cherry pick process, see the cherry pick requests page.

What type of PR is this?


@k8s-ci-robot k8s-ci-robot added this to the v1.34 milestone May 21, 2026
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 21, 2026
@k8s-ci-robot
k8s-ci-robot requested review from johngmyers and zetaab May 21, 2026 10:35
`kops get assets` runs with checkExisting disabled, so DNSZone.Find
is skipped and ZoneID is never populated from a DNS-name dnsZone.
IAMRolePolicy.ShouldCreate then aborts the run with "DNS ZoneID not
set" before assets.Copy is reached.
Fall back to DNSName when ZoneID is empty. The rendered policy is
discarded in dry-run modes; real applies always populate ZoneID
before this path runs.

Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
@hakman
hakman force-pushed the automated-cherry-pick-of-#18384-upstream-release-1.34 branch from f6cd76b to 4979537 Compare May 21, 2026 10:51
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 21, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rifelpet

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

The pull request process is described here

Details 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 May 21, 2026
@k8s-ci-robot
k8s-ci-robot merged commit f81b796 into kubernetes:release-1.34 May 21, 2026
18 checks passed
@hakman
hakman deleted the automated-cherry-pick-of-#18384-upstream-release-1.34 branch May 22, 2026 09:11
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants