Skip to content

App Ingress authority routing only supports exact matching #937#994

Merged
sjana-do merged 5 commits intodigitalocean:mainfrom
aupadhyay-shark:App_Ingress_authority_routing_only_supports_exact_matching
May 4, 2026
Merged

App Ingress authority routing only supports exact matching #937#994
sjana-do merged 5 commits intodigitalocean:mainfrom
aupadhyay-shark:App_Ingress_authority_routing_only_supports_exact_matching

Conversation

@aupadhyay-shark
Copy link
Copy Markdown
Contributor

@aupadhyay-shark aupadhyay-shark commented Apr 15, 2026

Issue - #937

Root Cause
The bug is in
https://github.com/aupadhyay-shark/godo/blob/e9ef74c396061df3c575c27b8d5f44c789424139/apps.gen.go

type AppIngressSpecRuleStringMatch struct {
Prefix string json:"prefix,omitempty"
Exact string json:"exact,omitempty"
}

Fix
Changed Prefix and Exact from string to *string in AppIngressSpecRuleStringMatch

Comment thread apps_accessors.go
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Update to apps_accessors_test.go is missing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated.

Copy link
Copy Markdown
Contributor

@harshmaru7 harshmaru7 left a comment

Choose a reason for hiding this comment

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

This fixes the bug but it looks like a breaking change

@aupadhyay-shark
Copy link
Copy Markdown
Contributor Author

This fixes the bug but it looks like a breaking change

not every customer but who directly import "github.com/digitalocean/godo" in their own code and upgrade to the new version, they will have to change update thier code base accordingly and it will be a compile error for them

@sjana-do sjana-do merged commit 75156c9 into digitalocean:main May 4, 2026
9 checks passed
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.

4 participants