File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ apiVersion: v2
22name : aos
33description : Helm chart for Duplo OpenTelemetry stack
44type : application
5- version : 2.1.3
5+ version : 2.1.4
66appVersion : " 2.1.1"
Original file line number Diff line number Diff line change 2525 sleep 10
2626 done
2727 echo "Triggering Duplo automation integration..."
28- INTEGRATIONS="apm linuxnode kubernetes slo aws-cloudwatch mimir loki tempo duplo-common"
28+ INTEGRATIONS="apm linuxnode kubernetes slo mimir loki tempo duplo-common"
29+ if [ "{{ .Values.global.cloud }}" == "aws" ]; then
30+ INTEGRATIONS="$INTEGRATIONS aws-cloudwatch"
31+ fi
2932 for i in $INTEGRATIONS; do
3033 echo "Enabling $i"
3134 if ! curl --fail --silent --show-error --location "$DUPLO_AUTOMATION_ENDPOINT/enable-integration" \
Original file line number Diff line number Diff line change @@ -162,8 +162,10 @@ spec:
162162 value : " duplo-otel-alerting"
163163 - name : AOS_DUPLO_PORTAL_NAME
164164 value : " {{ .Values.global.customerName }}-{{ .Values.global.environment }}"
165+ {{- if eq .Values.global.cloud "aws" }}
165166 - name : AOS_REGION
166- value : " {{ .Values.global.awsRegion }}"
167+ value : " {{ .Values.global.AOSRegion }}"
168+ {{- end }}
167169 - name : DOCKER_IMAGE
168170 value : " {{ .Values.duploAutomation.image }}:{{ .Values.duploAutomation.imageTag | default .Values.global.release }}"
169171 volumeMounts :
Original file line number Diff line number Diff line change 22global :
33 clusterName : " duploinfra-{{infraName}}"
44 duploAuthUrl : " "
5- awsRegion : " "
5+ AOSRegion : " "
66 customerName : " "
77 environment : " "
88 namespace : " "
You can’t perform that action at this time.
0 commit comments