-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Kube-Flux - Added features of carml contribution (#625)
# Description > This is a follow up to: Azure/ResourceModules#4142 <details> <summary>The current version of flux configuration 2022-03-01 doesn't add Postbuild substitution variables</summary> Updated Microsoft.KubernetesConfiguration/fluxConfigurations to version 2023-05-01 </details> > Please include a summary of the change and which issue is fixed. Updated Microsoft.KubernetesConfiguration/fluxConfigurations to version 2023-05-01 and added postBuild section in common main.test.bicep. > Please also include the context. The current version 2022-03-01 doesn't add Postbuild substitution variables which are included in the Bicep configuration. We have tested these by running the common/main.test.bicep with 2 postBuild substitute variables with values foo and bar and they don't appear in the Kustomization in AKS. Please see snippet below which is a result of running 'kubectl describe kustomization fluxaakcfccom001-unified -n flux-system' ![image](https://github.com/Azure/ResourceModules/assets/39670555/edfefa45-69a9-419f-8c8e-54be71acc945) We have updated the API version to 2023-05-01 which renders the expected results. Please see snippet below which is a result of running 'kubectl describe kustomization fluxaakcfccom001-unified -n flux-system' ![image](https://github.com/Azure/ResourceModules/assets/39670555/e5d6a060-6729-4054-ae8a-34d7bb02a64f) This is a feature we require to correctly configure our Flux configuration. | Pipeline | | - | | [![avm.res.kubernetes-configuration.flux-configuration](https://github.com/AlexanderSehr/bicep-registry-modules/actions/workflows/avm.res.kubernetes-configuration.flux-configuration.yml/badge.svg?branch=users%2Falsehr%2FkubeContr)](https://github.com/AlexanderSehr/bicep-registry-modules/actions/workflows/avm.res.kubernetes-configuration.flux-configuration.yml) | | [![avm.res.kubernetes-configuration.extension](https://github.com/AlexanderSehr/bicep-registry-modules/actions/workflows/avm.res.kubernetes-configuration.extension.yml/badge.svg?branch=users%2Falsehr%2FkubeContr)](https://github.com/AlexanderSehr/bicep-registry-modules/actions/workflows/avm.res.kubernetes-configuration.extension.yml) | There are no dependencies - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Update to documentation ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I'm sure there are no other open Pull Requests for the same update/change - [ ] My corresponding pipelines / checks run clean and green without any errors or warnings - [x] My code follows the style guidelines of this project - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation (readme) - [x] I did format my code --------- Co-authored-by: Erika Gressi <[email protected]>
- Loading branch information
1 parent
218cf9f
commit 68f7e41
Showing
6 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
avm/res/kubernetes-configuration/flux-configuration/version.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters