Skip to content

Commit

Permalink
ROX-21529: attach stackroxinfra container registry to AKS (#1461)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Martensen <[email protected]>
  • Loading branch information
stehessel and tommartensen authored Jan 16, 2025
1 parent 6ea8df4 commit 7711c28
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chart/infra-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ sources:
- https://github.com/stackrox/infra
annotations:
acsDemoVersion: 4.6.1
automationFlavorsVersion: 0.10.38
automationFlavorsVersion: 0.10.39
ocpCredentialsMode: Passthrough
5 changes: 5 additions & 0 deletions chart/infra-server/static/workflow-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ spec:
secretKeyRef:
name: azure-secrets
key: AZURE_SP_TENANT
- name: ACR_TO_ATTACH
valueFrom:
secretKeyRef:
name: azure-secrets
key: ACR_TO_ATTACH
- name: NODE_COUNT
value: '{{ "{{" }}workflow.parameters.nodes{{ "}}" }}'
- name: INSTANCE_TYPE
Expand Down
2 changes: 2 additions & 0 deletions chart/infra-server/templates/azure/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ data:
{{ .Values.azure.sp_password | b64enc }}
AZURE_SP_TENANT: |-
{{ .Values.azure.sp_tenant | b64enc }}
ACR_TO_ATTACH: |-
{{ .Values.azure.aks_attached_acr | b64enc }}

0 comments on commit 7711c28

Please sign in to comment.