-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: record installation method into odigos-deployment (#2184)
This PR adds "instllation method" to `odigos-deployment` config map, so we can reliably know if the current installation is deployed via "helm" or "odigos-cli". We can later use this info to warn or block usages which we do not support and might end up with a broken deployment or odigos. This PR also adds the installation method and tier to the describe cli command: ``` go run -tags=embed_manifests . describe Odigos Version: v1.0.142 Tier: community Installation Method: helm .... ```
- Loading branch information
Showing
7 changed files
with
55 additions
and
19 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
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
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
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,8 @@ | ||
package installationmethod | ||
|
||
type K8sInstallationMethod string | ||
|
||
const ( | ||
K8sInstallationMethodOdigosCli K8sInstallationMethod = "odigos-cli" | ||
K8sInstallationMethodHelm K8sInstallationMethod = "helm" | ||
) |