Tags: mitzen/azure-service-operator
Tags
Fix release by running format code after run-kustomize (Azure#1809)
Fix conversion webhooks in operator bundle (Azure#1765) * Update bundle generation to get webhooks working Now that recent versions of OLM and operator-sdk support conversion webhooks, we can remove some of the scaffolding and use of cert-manager. * Remove installing cert-manager and creating cert from instructions These aren't needed any longer - OLM and operator-sdk set up certificates between the webhook service, pod, crds and webhook configs. * Remove vestigial webhook service * Update install-operator-sdk for latest version This has much better support for conversion webhooks.
Code gardening for code generation (Azure#1672) * Allocate locals only when we know we need them * Use helper method * Eliminate EnsureStatementBlock() and subsume into StatementBlock() * Allow SimpleIfElse() to handle multiple statements per branch * Use simplified SimpleIfElse() * Change SimpleAssignment() to always do assignment * Introduce SimpleDeclaration to always do variable := definition * fixup! Change SimpleAssignment() to always do assignment * fixup! Change SimpleAssignment() to always do assignment * Introduce SetVariable() * Modify SimpleDeclaration() to take string for variable name * Rename method to ShortDeclaration() * Renamed to `AssignmentStatement()`
Fix path so kustomize adds prefixes to the webhook service namespace … …and name (Azure#1535) This was missed when the webhook patches were updated to apply correctly to v1 CRDs.
Draft of multitenancy document (Azure#1408) * Initial draft of multitenancy doc * Split into semantic lines for better diffing, some tweaks * Wording tweak Co-authored-by: Dave Fellows <[email protected]> * Clarify that flexible credential matching is a future plan Since it's orthogonal to the changes to allow multiple operators per cluster. * Wording tweaks Co-authored-by: Dave Fellows <[email protected]> Co-authored-by: Matthew Christopher <[email protected]>
Update operatorhub bundle generation (Azure#1410) * Updated template ClusterServiceVersion with values from repo From upstream-community-operators. * Remove deployments field from template It'll be filled in by the kustomize output anyway. * Add new CRDs to ClusterServiceVersion template This shouldn't need to be done, but without them in the CSV yaml the descriptions aren't available. I haven't yet been able to find a different way of providing the descriptions - doc comments on the types go into the OpenAPI schema rather than being attached to the CRD directly. * Use a different service account in the operator bundle deployment We can't rely on the default service account because OLM deploys the operator in the `operators` namespace alongside other operators. Make sure that the service account used on the role bindings is also updated. * Rename bundle dir and CSV so it can be dropped into community-operators
Always allow converting MySQL[AAD]Users back to v1alpha1 (Azure#1393) * Remove ignore entry for manager The output of `make manager` goes into bin/ which is already ignored. This entry was causing very confusing things to happen with directories called `manager` further down the directory tree. * Never error when converting v1alpha2 MySQLAADUser -> v1alpha1 (Unless JSON serialisation fails for some reason.) Instead we store the changed fields in an annotation and allow roundtripping that when converting in the other direction. * Never error when converting v1alpha2 MySQLUser -> v1alpha1 (Unless JSON serialisation fails for some reason.) Instead we store the changed fields in an annotation and allow roundtripping that when converting in the other direction. * Review feedback, thanks @matthchr * Comment out the replica server in the MySQL happy path test This is perpetually timing out for me at the moment, and testing manually shows that creation can take more than an hour.
PreviousNext