Hi there. I m trying to make my first deployment on Octopus Cloud. But I get this error when in the deployment process. I couldn’t get where am I doing something wrong or do I miss something?
The request is invalid: patch: Invalid value: "map[metadata:map[annotations:map[kubectl.kubernetes.io/last-applied-configuration:{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"labels\":{\"Octopus.Action.Id\":\"6ddf76b2-8e6e-4dff-a99b-b37f655e4db9\",\"Octopus.Deployment.Id\":\"deployments-8\",\"Octopus.Deployment.Tenant.Id\":\"untenanted\",\"Octopus.Environment.Id\":\"environments-1\",\"Octopus.Kubernetes.DeploymentName\":\"service-template\",\"Octopus.Kubernetes.SelectionStrategyVersion\":\"SelectionStrategyVersion2\",\"Octopus.Project.Id\":\"projects-1\",\"Octopus.RunbookRun.Id\":\"\",\"Octopus.Step.Id\":\"64e1bd15-cbf2-4464-b4da-e0e556228996\"},\"name\":\"service-template\",\"namespace\":\"default\"},\"spec\":{\"progressDeadlineSeconds\":240,\"replicas\":3,\"selector\":{\"matchLabels\":{\"Octopus.Kubernetes.DeploymentName\":\"service-template\"}},\"strategy\":{\"type\":\"RollingUpdate\"},\"template\":{\"metadata\":{\"labels\":{\"Octopus.Action.Id\":\"6ddf76b2-8e6e-4dff-a99b-b37f655e4db9\",\"Octopus.Deployment.Id\":\"deployments-8\",\"Octopus.Deployment.Tenant.Id\":\"untenanted\",\"Octopus.Environment.Id\":\"environments-1\",\"Octopus.Kubernetes.DeploymentName\":\"service-template\",\"Octopus.Kubernetes.SelectionStrategyVersion\":\"SelectionStrategyVersion2\",\"Octopus.Project.Id\":\"projects-1\",\"Octopus.RunbookRun.Id\":\"\",\"Octopus.Step.Id\":\"64e1bd15-cbf2-4464-b4da-e0e556228996\"}},\"spec\":{\"affinity\":{},\"containers\":[{\"env\":[{\"name\":\"ASPNETCORE_URLS\",\"value\":\"http://+:80\"},{\"name\":\"ASPNETCORE_ENVIRONMENT\",\"value\":\"#{Enviroments}\"}],\"envFrom\":[],\"image\":\"552403543468.dkr.ecr.eu-central-1.amazonaws.com/service-template:2022-02-11-12.sha-23a4d5\",\"imagePullPolicy\":\"Always\",\"name\":\"app-container-image\",\"ports\":[{\"containerPort\":80,\"name\":\"exposed-port\",\"protocol\":\"TCP\"}],\"resources\":{\"limits\":{\"cpu\":0.1,\"memory\":\"#{Memory Limit}\"}},\"securityContext\":{}}],\"dnsConfig\":{},\"imagePullSecrets\":[{\"name\":\"octopus-feedcred-feeds-1001\"}]}}}}\n] labels:map[Octopus.Action.Id:6ddf76b2-8e6e-4dff-a99b-b37f655e4db9 Octopus.Deployment.Id:deployments-8 Octopus.Deployment.Tenant.Id:untenanted Octopus.Environment.Id:environments-1 Octopus.Kubernetes.DeploymentName:service-template Octopus.Kubernetes.SelectionStrategyVersion:SelectionStrategyVersion2 Octopus.Project.Id:projects-1 Octopus.RunbookRun.Id: Octopus.Step.Id:64e1bd15-cbf2-4464-b4da-e0e556228996]] spec:map[progressDeadlineSeconds:240 selector:map[matchLabels:map[Octopus.Kubernetes.DeploymentName:service-template app:<nil>]] strategy:map[] template:map[metadata:map[labels:map[Octopus.Action.Id:6ddf76b2-8e6e-4dff-a99b-b37f655e4db9 Octopus.Deployment.Id:deployments-8 Octopus.Deployment.Tenant.Id:untenanted Octopus.Environment.Id:environments-1 Octopus.Kubernetes.DeploymentName:service-template Octopus.Kubernetes.SelectionStrategyVersion:SelectionStrategyVersion2 Octopus.Project.Id:projects-1 Octopus.RunbookRun.Id: Octopus.Step.Id:64e1bd15-cbf2-4464-b4da-e0e556228996 app:<nil>]] spec:map[affinity:map[] dnsConfig:map[] imagePullSecrets:[map[name:octopus-feedcred-feeds-1001]]]]]]": quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'