Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Use custom variables in azure-aks-deploy pipe

Massimo Martini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 5, 2020

I'm using a step like this:

- pipe: microsoft/azure-aks-deploy:1.0.1
variables:
AZURE_APP_ID: $AZURE_APP_ID
AZURE_PASSWORD: $AZURE_PASSWORD
AZURE_TENANT_ID: $AZURE_TENANT_ID
AZURE_AKS_NAME: $AKS_DEV_CLUSTER
AZURE_RESOURCE_GROUP: $RESOURCE_GROUP
KUBECTL_COMMAND: 'apply'
KUBECTL_ARGUMENTS: '-f deployment/develop/secret.yml'

 How can I use $MY_ENV_VARIABLE to replace a sensitive data inside secret.yml?

Thanks,

Massimo

1 answer

0 votes
Massimo Martini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2020

I solved by a simple SED command before the step ;-)

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events