* INFRA-3988 | Ashvin | Add autoscaling to Flink
Autoscaling will only be supported by Flink versions 1.18 and later.
Migration is done using the following command
```shell
find . -name "manifest*flink*" | xargs -I{} sh -c "jq -r '.flink.flinkDeployment.flinkConfiguration += {\"autoscaler\": { \"enabled\": false }}' {} | sponge {}"
```
Adds validation in JSON schema
Updates kutegen with autoscaler changes
* INFRA-3988 | Ashvin | Remove promgateway configuration from Flink
This field is not required now that we use servicemonitor to fetch the
metrics. Earlier pushgateway was used.
Command used to do the migration is
```shell
find . -name "kub*flink*" | xargs -I {} sh -c "sed -i 's/promgate//' {}"
```
* INFRA-3988 | Ashvin | Add max-parallelism in test fixtures
Command used
```shell
find . -name "kube*flink*json" | xargs -I{} sh -c "jq -r '. | .kubeObject.items |= map(if .kind == \"FlinkDeployment\" then .spec.flinkConfiguration += { \"pipeline.max-parallelism\": \"100\" } else . end)' {} | sponge {}"
```
* Revert "INFRA-3988 | Ashvin | Remove promgateway configuration from Flink"
This reverts commit 3ef63ad31a587814275d5bad6f6d467cf638a0b9.
* INFRA-3988 | Ashvin | Remove promgateway configuration from Flink
This field is not required now that we use servicemonitor to fetch the
metrics. Earlier pushgateway was used.
Command used to do the migration is
```shell
find . -name "*flink*json" | xargs -I {} sh -c "sed -i '/promgate/d' {}"
```
* INFRA-3988 | Add Flink autoscaler field to all manifests
Only Flink manifests will be effected by this migration
* INFRA-3988 | Ashvin | Update kutegen
* INFRA-3931 | Ashvin | Remove taskmanager replica from jsonschema backend validation
* INFRA-3931 | Ashvin | Update tests to accommodate for the new flinkVersion field
* INFRA-3931 | Ashvin | Add controller level validation on taskManagerSlots and flinkVersion
Both are now required fields.
* INFRA-3930 | Ashvin | Update kutegen and add migration script
* INFRA-3931 | Ashvin | Remove replicas field from test files
This field was deleted long back as it was redundant. See this https://github.com/navi-infra/kutegen/pull/190
Please enter the commit message for your changes. Lines starting
This file was earlier written to migrate using API but because lack of metadata, submit does not go through. Now the logic queries direct to database instead.