GithubHelp home page GithubHelp logo

microsoft / azure-schema-operator Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 5.0 2.74 MB

A kubernetes operator to manage Schemas for Databases on Azure

Home Page: https://microsoft.github.io/azure-schema-operator/

License: MIT License

Dockerfile 2.27% Shell 7.75% Makefile 4.25% Go 83.77% Python 1.96%

azure-schema-operator's Issues

validate helm release

The "Create Release" pipeline doesn't package the helm chart.
If the chart is not pre-packaged it will fail.

We need to trigger task package-helm and uploaded the generated package before releasing.
This is a simple fix as the task already exists.

Choose a local k8s dev env

The Azure-service-operator use kind http://kind.sigs.k8s.io/ to for local deployments.
the provide a simple way to install locally.

4 options:

  • Use the same method they use (we can take the scripts/tasks as is)2.
  • Minikube
  • kube in Docker client
  • We can also use k3s, which has lower resource footprint.

Bug: Running Dacca on schema without templateName causes unhandled exception

Describe the bug
When running the Dacpac on a specific target schema without specifying a template schema name in the configmap
cfgMap.Data["templateName"]

will result in an unhandled exception.
the manager will restart and the ClusterExecuter will remain stuck in Running state.

To Reproduce
Steps to reproduce the behavior:
Run the SQLServer flow on a target without specifying a templateName in the dacpac configMap.

Expected behavior
There are multiple issues and behaviors that need fixing here:

  • WebHook validation on the input is expected as this is not a valid input.
  • Error Event should be caught and handled
  • ClusterExecuter should not remain in stuck state.

failure handling tests

Test the Schema operator failure handling process.

We have 3 scenarios:

  1. abort - stop reconcile on a broken state
  2. ignore - stop reconcile on a successful state (ignoring any errors)
  3. rollback - rollback to previous version and attempt deployment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.