Skip to content

Bug: No validation on provider types on saving and updating gitops config #5083

@subhashish-devtron

Description

@subhashish-devtron

📜 Description

No validation on provider types on saving and updating gitops config

👟 Reproduction steps

hit API with random prodiver

👍 Expected behavior

API should send 400

👎 Actual Behavior

Api sends internal service error with bad type

☸ Kubernetes version

all

Cloud provider

all

🌍 Browser

Chrome

🧱 Your Environment

No response

✅ Proposed Solution

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

AB#9763

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions