Closed Cryptophobia closed 3 years ago
Local unit test and local minikube testing passes for me. Had to modify the function.
There are multiple appsettings per app. We only care about the latest one. We use app.structure for the proc_types only if appsettings.autoscale is set. If autoscale is unset on deis, then the hpa should not be created and should return an error.
This is the intended behaviour as we assume deis/hephy controller is master of its own namespaces (apps).
Signed-off-by: Cryptophobia aouzounov@gmail.com
resolves #135
@dmcnaught @kingdonb
Local unit test and local minikube testing passes for me. Had to modify the function.
There are multiple appsettings per app. We only care about the latest one. We use app.structure for the proc_types only if appsettings.autoscale is set. If autoscale is unset on deis, then the hpa should not be created and should return an error.
This is the intended behaviour as we assume deis/hephy controller is master of its own namespaces (apps).