Forum Discussion

sundeepbhatia1989's avatar
sundeepbhatia1989
Copper Contributor
Apr 20, 2023

How to call multiple yaml file in same folder in azure devops pipeline

- stage: Namespace
  displayName: Deploy Namespace
  jobs:
    - job: Deploy
      pool: <pool name>    
      steps:
        - task: Kubernetes@1
          inputs:
            connectionType: 'Azure Resource Manager'
            azureSubscriptionEndpoint: <SPN>
            azureResourceGroup: <AKS RG>
            kubernetesCluster: <AKS>
            useClusterAdmin: true
            command: apply
            useConfigurationFile: true
            # configuration: tenant/developer/01namespace.yaml
            configuration: tenant
            workingDirectory: tenant/              #it will call yaml files inside tenant azure repository
            outputFormat: yaml

Resources