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

Fix annotation names and partials field #11560

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

mateiidavid
Copy link
Member

Prior to setting an enormous value to disable protocol detection, the field was meant to be configurable. In the refactor, the annotation name stayed the same instead of reflecting the change in the contract (i.e. not configurable but toggled). Additionally, there were two types in the proxy partials.

Prior to setting an enormous value to disable protocol detection, the
field was meant to be configurable. In the refactor, the annotation name
stayed the same instead of reflecting the change in the contract (i.e.
not configurable but toggled). Additionally, there were two types in the
proxy partials.

Signed-off-by: Matei David <[email protected]>
@mateiidavid mateiidavid requested a review from a team as a code owner November 2, 2023 16:57
@mateiidavid
Copy link
Member Author

Testing:

:; k get po nginx-deployment-887f5bf4b-kq9z5 -o yaml | rg 'DETECT' -A 1
    - name: LINKERD2_PROXY_OUTBOUND_DETECT_TIMEOUT
      value: 365d
    - name: LINKERD2_PROXY_INBOUND_DETECT_TIMEOUT
      value: 365d
--

With install time value for outbound detect timeout and an annotation for inbound:

:; k get ns default -o yaml | rg 'disable'
    config.linkerd.io/proxy-disable-inbound-protocol-detect-timeout: "true"
:; k get cm -n linkerd linkerd-config -o yaml
disableOutboundProtocolDetectTimeout: true

@olix0r olix0r merged commit 774eb06 into main Nov 2, 2023
@olix0r olix0r deleted the matei/detect-foreal-fix branch November 2, 2023 18:53
adleong pushed a commit that referenced this pull request Nov 16, 2023
Prior to setting an enormous value to disable protocol detection, the
field was meant to be configurable. In the refactor, the annotation name
stayed the same instead of reflecting the change in the contract (i.e.
not configurable but toggled). Additionally, there were two types in the
proxy partials.

Signed-off-by: Matei David <[email protected]>
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.

3 participants