diff --git a/cluster/expected/operator/expected.json b/cluster/expected/operator/expected.json index 56485a70c6..6a5050af27 100644 --- a/cluster/expected/operator/expected.json +++ b/cluster/expected/operator/expected.json @@ -599,12 +599,12 @@ "name": "docker-reg-cred" } ], - "limits": { - "cpu": 1, - "memory": "2G" - }, "maxHistory": 10, "resources": { + "limits": { + "cpu": 1, + "memory": "2G" + }, "requests": { "cpu": 0.2, "memory": "1G" diff --git a/cluster/pulumi/operator/src/operator.ts b/cluster/pulumi/operator/src/operator.ts index 31cfa866f6..31c5dbad80 100644 --- a/cluster/pulumi/operator/src/operator.ts +++ b/cluster/pulumi/operator/src/operator.ts @@ -27,11 +27,11 @@ export const operator = new k8s.helm.v3.Release( version: '2.1.0', namespace: namespace.ns.metadata.name, values: { - limits: { - cpu: 1, - memory: config.optionalEnv('OPERATOR_MEMORY_LIMIT') || '2G', - }, resources: { + limits: { + cpu: 1, + memory: config.optionalEnv('OPERATOR_MEMORY_LIMIT') || '2G', + }, requests: { cpu: 0.2, memory: config.optionalEnv('OPERATOR_MEMORY_REQUESTS') || '1G',