Repository navigation
Conversation
c9d5290 to
bcfd9e7
Compare
|
@lemon0333 Triaged this today. The change is directionally right, it's what #3990 asked for, and it matches the ingress and ListenerSet conventions. The implementation is clean. One substantive ask and one mechanical one before approval: 1. Reframe the changelog: this is 2. Rebase. Main has moved to For most users who've set |
bcfd9e7 to
cee6f65
Compare
|
Thanks for the review, @jmeridth!
|
|
@lemon0333 one more time on the Chart.yaml. sorry |
cee6f65 to
fb0ce79
Compare
|
@jmeridth No worries — re-rebased onto current |
| {{- else if .Values.server.listenerset.enabled }} | ||
| hostnames: | ||
| - {{ tpl (.Values.server.listenerset.hostname | default .Values.global.domain) $ | quote }} | ||
| {{- else if .Values.global.domain }} |
There was a problem hiding this comment.
Doesn't this break anyone sitting on the default global.domain? With server.httproute.enabled=true and nothing else set, the route goes from no hostnames at all, which matches every hostname on the listener, to hostnames: ["argocd.example.com"]. Your changelog says as much, so should this be a major with an Upgrading section rather than a patch? (versioning)
fb0ce79 to
80bb966
Compare
|
Re-rebased onto |
|
@tico24 agreeing with you, and revising my earlier position on the record: I had accepted @lemon0333 two asks, which conveniently collapse into one rebase since #4033 took
The implementation itself needs no changes. Sorry for the moving target on versions this week; the merge queue has been busy. |
When server.httproute.hostnames (and applicationSet.httproute.hostnames) are not set and no ListenerSet is enabled, the rendered HTTPRoute omitted spec.hostnames entirely. Default it to global.domain, matching how the ListenerSet branch already falls back to global.domain. Closes argoproj#3990 Signed-off-by: lemon0333 <147061193+lemon0333@users.noreply.github.com>
argo-helm now bumps chart versions after merge (argoproj#4176). This puts the version and artifacthub.io/changes in Chart.yaml back to main's, and moves this PR's changelog entry into charts/argo-cd/changes/default-httproute-hostnames-to-global-domain-when-unset.yaml with the same bump level. Signed-off-by: Tim Collins <tim@thecollins.team>
066ba8b to
75920dc
Compare
Defaults the argo-cd
serverandapplicationSetHTTPRoutespec.hostnamestoglobal.domainwhenhostnamesare not set and no ListenerSet is enabled. Previously the rendered HTTPRoute omittedspec.hostnamesentirely in that case. This mirrors the existing ListenerSet branch, which already falls back toglobal.domain.Verified with
helm lintandhelm template:hostnamesunset →spec.hostnames: ["<global.domain>"]hostnamesset → uses the provided values (unchanged)global.domainis also emptyCloses #3990
Checklist:
Closes #3972