Skip to content

Commit 35eea8f

Browse files
authored
Merge pull request #4849 from k8s-infra-cherrypick-robot/cherry-pick-4845-to-release-1.15
[release-1.15] workaround ASO User-Agent not getting set
2 parents 7052f10 + 100bf88 commit 35eea8f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

config/aso/kustomization.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,26 @@ patches:
3535
version: v1
3636
kind: Deployment
3737
name: azureserviceoperator-controller-manager
38+
# This implements https://github.com/Azure/azure-service-operator/pull/4011
39+
# for versions of ASO which don't include that fix.
40+
- patch: |-
41+
apiVersion: apps/v1
42+
kind: Deployment
43+
metadata:
44+
name: azureserviceoperator-controller-manager
45+
namespace: azureserviceoperator-system
46+
spec:
47+
template:
48+
spec:
49+
containers:
50+
- name: manager
51+
env:
52+
- name: AZURE_USER_AGENT_SUFFIX
53+
valueFrom:
54+
secretKeyRef:
55+
key: AZURE_USER_AGENT_SUFFIX
56+
name: aso-controller-settings
57+
optional: true
3858
3959
replacements:
4060
- source:

0 commit comments

Comments
 (0)