Azure / draft

A day 0 tool for getting your app on k8s fast
MIT License
561 stars 63 forks source link

Update Namespace in Deployment Files #339

Closed meecethereese closed 4 months ago

meecethereese commented 4 months ago

Description

This PR is a rework of the UpdateProductionDeployments() function that is called under Draft's generate-workflow command. Basically, I realized that to include custom namespaces I needed to change their values in all the deployment files and instead of unmarshalling each file, I figured it would be easier to recreate them (or if the user didn't already, create them for the first time).

Fixes # (issue) Feature # (details)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Is it a breaking change which will impact consuming tool(s).

Checklist: