diff --git a/k8s/daemonsets/templates.jsonnet b/k8s/daemonsets/templates.jsonnet index 4385b183..c461173b 100644 --- a/k8s/daemonsets/templates.jsonnet +++ b/k8s/daemonsets/templates.jsonnet @@ -758,7 +758,7 @@ local Heartbeat(expName, tcpPort, hostNetwork, services) = [ local ExperimentNoIndex(name, bucket, anonMode, datatypesArchived, datatypesAutoloaded, hostNetwork, siteType='physical') = { local autoAnnotations = contains("annotation2", datatypesAutoloaded), - local datatypesPushed = ['tcpinfo', 'pcap', 'scamper1', 'hopannotation2'] + datatypesArchived + if autoAnnotations then ["annotation2"] else [], + local datatypesPushed = ['tcpinfo', 'pcap', 'scamper1', 'hopannotation2'] + datatypesArchived + if autoAnnotations then [] else ["annotation2"], local allVolumes = datatypesArchived + datatypesAutoloaded, apiVersion: 'apps/v1', kind: 'DaemonSet',