-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add changes to support container environment variables
- Loading branch information
1 parent
b6845cd
commit 7631bde
Showing
5 changed files
with
53 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,6 @@ go.work | |
|
||
# Built Visual Studio Code Extensions | ||
*.vsix | ||
|
||
## Jetbrains IDE | ||
.idea |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package provider | ||
|
||
// Kubernetes default environment variables | ||
var k8sDefaultEnvVars = []string{ | ||
"KUBERNETES_PORT", | ||
"KUBERNETES_PORT_443_TCP", | ||
"KUBERNETES_PORT_443_TCP_ADDR", | ||
"KUBERNETES_PORT_443_TCP_PORT", | ||
"KUBERNETES_PORT_443_TCP_PROTO", | ||
"KUBERNETES_SERVICE_HOST", | ||
"KUBERNETES_SERVICE_PORT", | ||
"KUBERNETES_SERVICE_PORT_HTTPS", | ||
} |
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