File tree 4 files changed +1
-22
lines changed
dev-infrastructure/templates
4 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,6 @@ module mgmtCluster '../modules/aks-cluster-base.bicep' = {
107
107
namespace : 'maestro'
108
108
serviceAccountName : 'maestro'
109
109
}
110
- package_operator : {
111
- uamiName : 'package-operator'
112
- namespace : 'package-operator-system'
113
- serviceAccountName : 'package-operator'
114
- }
115
110
})
116
111
aksKeyVaultName : aksKeyVaultName
117
112
acrPullResourceGroups : acrPullResourceGroups
Original file line number Diff line number Diff line change @@ -8,14 +8,6 @@ ARO_HCP_IMAGE_REPOSITORY ?= package-operator/package-operator-package
8
8
9
9
deploy :
10
10
@kubectl create namespace ${NAMESPACE} --dry-run=client -o json | kubectl apply -f -
11
- PKO_MI_CLIENT_ID=$$(az identity show \
12
- -g ${RESOURCEGROUP} \
13
- -n package-operator \
14
- --query clientId -o tsv) && \
15
- PKO_MI_TENANT_ID=$$(az identity show \
16
- -g ${RESOURCEGROUP} \
17
- -n package-operator \
18
- --query tenantId -o tsv) && \
19
11
IMAGE_PULLER_MI_CLIENT_ID=$$(az identity show \
20
12
-g ${RESOURCEGROUP} \
21
13
-n image-puller \
@@ -32,9 +24,7 @@ deploy:
32
24
--set pullBinding.workloadIdentityClientId=" $$ {IMAGE_PULLER_MI_CLIENT_ID}" \
33
25
--set pullBinding.workloadIdentityTenantId=" $$ {IMAGE_PULLER_MI_TENANT_ID}" \
34
26
--set pullBinding.registry=${ARO_HCP_IMAGE_REGISTRY} \
35
- --set pullBinding.scope=' repository:*:pull' \
36
- --set serviceAccount.workloadIdentityClientId=" $$ {PKO_MI_CLIENT_ID}" \
37
- --set serviceAccount.workloadIdentityTenantId=" $$ {PKO_MI_CLIENT_ID}"
27
+ --set pullBinding.scope=' repository:*:pull'
38
28
39
29
image :
40
30
az acr login --name ${ARO_HCP_IMAGE_ACR} && \
Original file line number Diff line number Diff line change @@ -3,8 +3,5 @@ kind: ServiceAccount
3
3
metadata :
4
4
name : package-operator
5
5
namespace : package-operator-system
6
- annotations :
7
- azure.workload.identity/client-id : ' {{ .Values.serviceAccount.workloadIdentityClientId }}'
8
- azure.workload.identity/tenant-id : ' {{ .Values.serviceAccount.workloadIdentityTenantId }}'
9
6
labels :
10
7
package-operator.run/cache : " True"
Original file line number Diff line number Diff line change @@ -6,6 +6,3 @@ pullBinding:
6
6
scope : " "
7
7
workloadIdentityClientId : " "
8
8
workloadIdentityTenantId : " "
9
- serviceAccount :
10
- workloadIdentityClientId : " "
11
- workloadIdentityTenantId : " "
You can’t perform that action at this time.
0 commit comments