Skip to content

Commit 649f6c3

Browse files
authored
Merge pull request #6302 from devtron-labs/env-gen-change
chore: added env generator changes
2 parents 6718b63 + 9429511 commit 649f6c3

File tree

13 files changed

+2643
-344
lines changed

13 files changed

+2643
-344
lines changed

api/helm-app/gRPC/applicationClient.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func NewHelmAppClientImpl(logger *zap.SugaredLogger,
7272
}
7373
}
7474

75+
// CATEGORY=INFRA_SETUP
7576
type HelmClientConfig struct {
7677
Url string `env:"HELM_CLIENT_URL" envDefault:"127.0.0.1:50051"`
7778
}

api/helm-app/service/HelmAppService.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ func NewHelmAppServiceImpl(Logger *zap.SugaredLogger, clusterService cluster.Clu
146146
}
147147
}
148148

149+
// CATEGORY=CD
149150
type HelmReleaseConfig struct {
150151
RevisionHistoryLimitDevtronApp int `env:"REVISION_HISTORY_LIMIT_DEVTRON_APP" envDefault:"1"`
151152
RevisionHistoryLimitHelmApp int `env:"REVISION_HISTORY_LIMIT_HELM_APP" envDefault:"1"`

client/dashboard/Config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"github.com/caarlos0/env"
2121
)
2222

23+
// CATEGORY=INFRA_SETUP
2324
type Config struct {
2425
Host string `env:"DASHBOARD_HOST" envDefault:"localhost"`
2526
Port string `env:"DASHBOARD_PORT" envDefault:"3000"`

client/gitSensor/GitSensorClient.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func NewGitSensorClient(logger *zap.SugaredLogger, config *ClientConfig) (*Clien
7979
return client, nil
8080
}
8181

82+
// CATEGORY=INFRA_SETUP
8283
type ClientConfig struct {
8384
Url string `env:"GIT_SENSOR_URL" envDefault:"127.0.0.1:7070"`
8485
Protocol string `env:"GIT_SENSOR_PROTOCOL" envDefault:"REST"`

0 commit comments

Comments
 (0)