Skip to content

Commit

Permalink
Arc extension fixes (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
gracewehner authored Sep 26, 2023
1 parent 5664fd4 commit 16b9723
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LARGE_REGION="$MEDIUM_REGION,\"eastus\""
BATCH_1_REGIONS="$LARGE_REGION,\"westus2\",\"southcentralus\",\"southeastasia\",\"koreacentral\",\"centralus\",\"japaneast\",\"australiaeast\""
BATCH_2_REGIONS="$BATCH_1_REGIONS,\"northeurope\",\"uksouth\",\"francecentral\",\"westus\",\"northcentralus\",\"eastasia\",\"westus3\",\"usgovvirginia\""
BATCH_3_REGIONS="$BATCH_2_REGIONS,\"westeurope\",\"canadacentral\",\"canadaeast\",\"australiasoutheast\",\"centralindia\",\"switzerlandnorth\",\"germanywestcentral\",\"norwayeast\",\"germanynorth\""
BATCH_4_REGIONS="$BATCH_3_REGIONS,\"japanwest\",\"ukwest\",\"koreasouth\",\"southafricanorth\",\"southindia\",\"brazilsouth\",\"uaenorth\",\"norwaywest\""
BATCH_4_REGIONS="$BATCH_3_REGIONS,\"japanwest\",\"ukwest\",\"koreasouth\",\"southafricanorth\",\"southindia\",\"brazilsouth\",\"uaenorth\",\"norwaywest\",\"swedensouth\""

RELEASE_TRAIN_PIPELINE="\"pipeline\""
RELEASE_TRAIN_STAGING="$RELEASE_TRAIN_PIPELINE,\"staging\""
Expand Down
2 changes: 1 addition & 1 deletion otelcollector/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.7.5
6.7.6
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ spec:
- mountPath: /anchors/mariner
name: anchors-mariner
readOnly: true
{{- if or (ne .Values.AzureMonitorMetrics.ArcExtension true) (and (ne .Values.Azure.Cluster.Distribution "aks_edge_k3s") (ne .Values.Azure.Cluster.Distribution "aks_edge_k8s")) }}
{{- if or (ne .Values.AzureMonitorMetrics.ArcExtension true) (and (not (hasPrefix "aks_edge" .Values.ClusterDistribution )) (and (ne .Values.Azure.Cluster.Distribution "aks_edge_k3s") (ne .Values.Azure.Cluster.Distribution "aks_edge_k8s"))) }}
- mountPath: /anchors/ubuntu
name: anchors-ubuntu
readOnly: true
Expand Down Expand Up @@ -262,7 +262,7 @@ spec:
hostPath:
path: /etc/pki/ca-trust/anchors/
type: DirectoryOrCreate
{{- if or (ne .Values.AzureMonitorMetrics.ArcExtension true) (and (ne .Values.Azure.Cluster.Distribution "aks_edge_k3s") (ne .Values.Azure.Cluster.Distribution "aks_edge_k8s")) }}
{{- if or (ne .Values.AzureMonitorMetrics.ArcExtension true) (and (not (hasPrefix "aks_edge" .Values.ClusterDistribution )) (and (ne .Values.Azure.Cluster.Distribution "aks_edge_k3s") (ne .Values.Azure.Cluster.Distribution "aks_edge_k8s"))) }}
- name: anchors-ubuntu
hostPath:
path: /usr/local/share/ca-certificates/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ spec:
- mountPath: /anchors/mariner
name: anchors-mariner
readOnly: true
{{- if or (ne .Values.AzureMonitorMetrics.ArcExtension true) (and (ne .Values.Azure.Cluster.Distribution "aks_edge_k3s") (ne .Values.Azure.Cluster.Distribution "aks_edge_k8s")) }}
{{- if or (ne .Values.AzureMonitorMetrics.ArcExtension true) (and (not (hasPrefix "aks_edge" .Values.ClusterDistribution )) (and (ne .Values.Azure.Cluster.Distribution "aks_edge_k3s") (ne .Values.Azure.Cluster.Distribution "aks_edge_k8s"))) }}
- mountPath: /anchors/ubuntu
name: anchors-ubuntu
readOnly: true
Expand Down Expand Up @@ -289,7 +289,7 @@ spec:
hostPath:
path: /etc/pki/ca-trust/anchors/
type: DirectoryOrCreate
{{- if or (ne .Values.AzureMonitorMetrics.ArcExtension true) (and (ne .Values.Azure.Cluster.Distribution "aks_edge_k3s") (ne .Values.Azure.Cluster.Distribution "aks_edge_k8s")) }}
{{- if or (ne .Values.AzureMonitorMetrics.ArcExtension true) (and (not (hasPrefix "aks_edge" .Values.ClusterDistribution )) (and (ne .Values.Azure.Cluster.Distribution "aks_edge_k3s") (ne .Values.Azure.Cluster.Distribution "aks_edge_k8s"))) }}
- name: anchors-ubuntu
hostPath:
path: /usr/local/share/ca-certificates/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,12 @@ Azure:
requests:
cpu: 20m
memory: 50Mi
ClusterDistribution: ""
prometheus-node-exporter:
service:
port: 9110
targetPort: 9110
image:
registry: mcr.microsoft.com
repository: oss/prometheus/node-exporter

0 comments on commit 16b9723

Please sign in to comment.