@@ -29,6 +29,7 @@ const (
2929 DDInfraKubernetesVersion = "kubernetesVersion"
3030 DDInfraOSDescriptor = "osDescriptor" // osDescriptor is expected in the format: <osFamily>:<osVersion>:<osArch>, see components/os/descriptor.go
3131 DDInfraOSImageID = "osImageID"
32+ DDInfraOSImageIDUseLatest = "osImageIDUseLatest"
3233 DDInfraDeployFakeintakeWithLoadBalancer = "deployFakeintakeWithLoadBalancer"
3334 DDInfraExtraResourcesTags = "extraResourcesTags"
3435 DDInfraSSHUser = "sshUser"
@@ -56,6 +57,8 @@ const (
5657 DDAgentAPPKeyParamName = "appKey"
5758 DDAgentFakeintake = "fakeintake"
5859 DDAgentDualShipping = "dualshipping"
60+ DDAgentFakeintakeStoreType = "fakeintakeStoreType"
61+ DDAGentFakeintakeRetentionPeriod = "fakeintakeRetentionPeriod"
5962 DDAgentSite = "site"
6063 DDAgentMajorVersion = "majorVersion"
6164 DDAgentExtraEnvVars = "extraEnvVars" // extraEnvVars is expected in the format: <key1>=<value1>,<key2>=<value2>,...
@@ -68,7 +71,8 @@ const (
6871 DDUpdaterParamName = "deploy"
6972
7073 // Testing workload namerNamespace
71- DDTestingWorkloadDeployParamName = "deploy"
74+ DDTestingWorkloadDeployParamName = "deploy"
75+ DDTestingWorkloadDeployArgoRollout = "deployArgoRollout"
7276
7377 // Dogstatsd namespace
7478 DDDogstatsdDeployParamName = "deploy"
@@ -106,7 +110,7 @@ type Env interface {
106110 KubernetesVersion () string
107111 DefaultResourceTags () map [string ]string
108112 ExtraResourcesTags () map [string ]string
109- ResourcesTags () pulumi.StringMap
113+ ResourcesTags () pulumi.StringMapInput
110114 AgentExtraEnvVars () map [string ]string
111115
112116 AgentDeploy () bool
@@ -212,6 +216,10 @@ func (e *CommonEnvironment) InfraOSImageID() string {
212216 return e .GetStringWithDefault (e .InfraConfig , DDInfraOSImageID , "" )
213217}
214218
219+ func (e * CommonEnvironment ) InfraOSImageIDUseLatest () bool {
220+ return e .GetBoolWithDefault (e .InfraConfig , DDInfraOSImageIDUseLatest , false )
221+ }
222+
215223func (e * CommonEnvironment ) KubernetesVersion () string {
216224 return e .GetStringWithDefault (e .InfraConfig , DDInfraKubernetesVersion , "1.32" )
217225}
@@ -247,7 +255,7 @@ func EnvVariableResourceTags() map[string]string {
247255 return tags
248256}
249257
250- func (e * CommonEnvironment ) ResourcesTags () pulumi.StringMap {
258+ func (e * CommonEnvironment ) ResourcesTags () pulumi.StringMapInput {
251259 tags := pulumi.StringMap {}
252260
253261 // default tags
@@ -269,6 +277,10 @@ func (e *CommonEnvironment) AgentDeployWithOperator() bool {
269277 return e .GetBoolWithDefault (e .AgentConfig , DDAgentDeployWithOperatorParamName , false )
270278}
271279
280+ func (e * CommonEnvironment ) AgentDeployArgoRollout () bool {
281+ return e .GetBoolWithDefault (e .TestingWorkloadConfig , DDTestingWorkloadDeployArgoRollout , false )
282+ }
283+
272284func (e * CommonEnvironment ) AgentVersion () string {
273285 return e .AgentConfig .Get (DDAgentVersionParamName )
274286}
@@ -341,6 +353,14 @@ func (e *CommonEnvironment) AgentUseDualShipping() bool {
341353 return e .GetBoolWithDefault (e .AgentConfig , DDAgentDualShipping , false )
342354}
343355
356+ func (e * CommonEnvironment ) AgentFakeintakeStoreType () string {
357+ return e .GetStringWithDefault (e .AgentConfig , DDAgentFakeintakeStoreType , "memory" )
358+ }
359+
360+ func (e * CommonEnvironment ) AgentFakeintakeRetentionPeriod () string {
361+ return e .AgentConfig .Get (DDAGentFakeintakeRetentionPeriod )
362+ }
363+
344364func (e * CommonEnvironment ) Site () string {
345365 return e .AgentConfig .Get (DDAgentSite )
346366}
0 commit comments