Skip to content

Commit

Permalink
address comment from Mat and Hunter
Browse files Browse the repository at this point in the history
Signed-off-by: Anubhab Majumdar <[email protected]>
  • Loading branch information
anubhabMajumdar committed Jun 21, 2024
1 parent ac3efdd commit 784710b
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 55 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -527,4 +527,4 @@ quick-deploy-hubble:

.PHONY: simplify-dashboards
simplify-dashboards:
cd deploy/legacy/grafana/dashboards/ && go test . -tags=dashboard,simplifydashboard -v
go test -tags=dashboard,simplifydashboard -v ./deploy/...
2 changes: 1 addition & 1 deletion cmd/hubble/daemon_main_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func setupZapLogger(retinaConfig *config.Config, k8sCfg *rest.Config) *log.ZapLo
logger.Fatalf("Failed to setup zap logger: %v", err)
}

namedLogger := log.Logger().Named("retina-enterprise")
namedLogger := log.Logger().Named("retina-with-hubble")
namedLogger.Info("Traces telemetry initialized with zapai", zap.String("version", retinaVersion), zap.String("appInsightsID", applicationInsightsID))

return namedLogger
Expand Down
46 changes: 0 additions & 46 deletions cmd/hubble/subcmd_linux.go

This file was deleted.

6 changes: 3 additions & 3 deletions deploy/hubble/manifests/controller/helm/retina/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ os:
# FIXME: remove unnecessary pieces, etc.
operator:
enabled: true
repository: acndev.azurecr.io/retina-operator-enterprise
repository: acndev.azurecr.io/retina-operator
pullPolicy: Always
tag: "latest"
leaderElection: true
Expand All @@ -27,12 +27,12 @@ agent:
leaderElection: false
enabled: true
name: retina-agent
repository: acndev.azurecr.io/retina-agent-enterprise
repository: acndev.azurecr.io/retina-agent
tag: "latest"
init:
enabled: true
name: retina-agent-init
repository: acndev.azurecr.io/retina-agent-init-enterprise
repository: acndev.azurecr.io/retina-agent-init
tag: "latest"
pullPolicy: Always
container:
Expand Down
3 changes: 0 additions & 3 deletions deploy/legacy/graphana/dashboards/README.md

This file was deleted.

1 change: 0 additions & 1 deletion pkg/hubble/hubble_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func newRetinaHubble(params hubbleParams) *RetinaHubble {
}

func (rh *RetinaHubble) defaultOptions() {
// Set the default values for Retina-enterprise.
// Not final, will be updated later.
option.Config.HubblePreferIpv6 = false
option.Config.EnableHighScaleIPcache = false
Expand Down
1 change: 1 addition & 0 deletions pkg/shared/config/type.go
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Placeholder file. Required for windows build and lint.
package config
1 change: 1 addition & 0 deletions pkg/shared/telemetry/type.go
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// Placeholder file. Required for windows build and lint.
package telemetry

0 comments on commit 784710b

Please sign in to comment.