File tree 6 files changed +340
-136
lines changed
6 files changed +340
-136
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,5 @@ config:
37
37
EX_TestEmailAddress : " test@exceptionless.io"
38
38
EX_EnableArchive : " false"
39
39
EX_Serilog__MinimumLevel__Default : " Warning"
40
- EX_OTEL_EXPORTER_OTLP_ENDPOINT : http://apm.elastic-system.svc:8200
41
40
EX_Apm__EnableLogs : " true"
42
41
EX_Apm__FullDetails : " true"
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ Write-Output "AZ_USERNAME=$AZ_USERNAME AZ_PASSWORD=$AZ_PASSWORD AZ_TENANT=$AZ_TE
181
181
182
182
# renew service principal
183
183
$SP_ID = $ (az aks show -- resource- group $RESOURCE_GROUP -- name $CLUSTER -- query servicePrincipalProfile.clientId - o tsv)
184
- $SP_SECRET = $ (az ad sp credential reset -- name $SP_ID -- years 3 -- query password - o tsv)
184
+ $SP_SECRET = $ (az ad sp credential reset -- id $SP_ID -- years 3 -- query password - o tsv)
185
185
# store secret in 1Password (Exceptionless Azure CI Service Principal)
186
186
az aks update-credentials -- resource- group $RESOURCE_GROUP -- name $CLUSTER -- reset-service - principal -- service- principal $SP_ID -- client- secret $SP_SECRET
187
187
az aks get-credentials -- resource- group $RESOURCE_GROUP -- name $CLUSTER -- overwrite- existing
Original file line number Diff line number Diff line change 57
57
- configMapRef :
58
58
name : {{ template "exceptionless.fullname" . }}-config
59
59
env :
60
+ - name : HOST_IP
61
+ valueFrom :
62
+ fieldRef :
63
+ fieldPath : status.hostIP
64
+ - name : K8S_POD_IP
65
+ valueFrom :
66
+ fieldRef :
67
+ apiVersion : v1
68
+ fieldPath : status.podIP
69
+ - name : K8S_POD_UID
70
+ valueFrom :
71
+ fieldRef :
72
+ fieldPath : metadata.uid
73
+ - name : EX_OTEL_EXPORTER_OTLP_INSECURE
74
+ value : " true"
75
+ - name : EX_OTEL_EXPORTER_OTLP_ENDPOINT
76
+ value : $(HOST_IP):4317
77
+ - name : EX_OTEL_RESOURCE_ATTRIBUTES
78
+ value : k8s.pod.ip=$(K8S_POD_IP),k8s.pod.uid=$(K8S_POD_UID)
60
79
- name : RunJobsInProcess
61
80
value : ' false'
62
81
- name : EnableWebSockets
Original file line number Diff line number Diff line change 57
57
- configMapRef :
58
58
name : {{ template "exceptionless.fullname" . }}-config
59
59
env :
60
+ - name : HOST_IP
61
+ valueFrom :
62
+ fieldRef :
63
+ fieldPath : status.hostIP
64
+ - name : K8S_POD_IP
65
+ valueFrom :
66
+ fieldRef :
67
+ apiVersion : v1
68
+ fieldPath : status.podIP
69
+ - name : K8S_POD_UID
70
+ valueFrom :
71
+ fieldRef :
72
+ fieldPath : metadata.uid
73
+ - name : EX_OTEL_EXPORTER_OTLP_INSECURE
74
+ value : " true"
75
+ - name : EX_OTEL_EXPORTER_OTLP_ENDPOINT
76
+ value : $(HOST_IP):4317
77
+ - name : EX_OTEL_RESOURCE_ATTRIBUTES
78
+ value : k8s.pod.ip=$(K8S_POD_IP),k8s.pod.uid=$(K8S_POD_UID)
60
79
- name : RunJobsInProcess
61
80
value : ' false'
62
81
{{- if (empty .Values.storage.connectionString) }}
You can’t perform that action at this time.
0 commit comments