This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scheme assignment and selector labels for statefulset headless svc (
#19494) Signed-off-by: Nitish Tiwari <nitish@min.io>
- Loading branch information
1 parent
be8ab92
commit 5b77af2
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Was the ":=" intentional? The := operator seems to declare a new $scheme variable that is only scoped within the IF block. Until I changed this, $scheme was always "http" regardless of tls.enabled. I opened a PR for this #21373