Skip to content

Commit d7d9c1c

Browse files
committed
fix(terraform/kloudlite): helm charts controller missing HELM_JOB_RUNNER_IMAGE env var
1 parent bd639d5 commit d7d9c1c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

terraform/modules/kloudlite/deployments/kloudlite-agent.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ resource "ssh_resource" "install-kloudlite-agent" {
4848
image = "ghcr.io/kloudlite/operator/helm-charts:${var.kloudlite_release}"
4949

5050
service_account_name = local.service_account_name
51-
51+
kloudlite_release = var.kloudlite_release
5252
})
5353
destination = "${local.dir}/helm-charts-controller.yml"
5454
}

terraform/modules/kloudlite/deployments/templates/helm-charts-controller.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ spec:
4141
cpu: 5m
4242
memory: 10Mi
4343

44-
- command:
45-
- /manager
46-
args:
44+
- args:
4745
- --health-probe-bind-address=:8081
4846
- --metrics-bind-address=127.0.0.1:8080
4947
- --leader-elect
@@ -56,6 +54,8 @@ spec:
5654
value: "30s"
5755
- name: MAX_CONCURRENT_RECONCILES
5856
value: "1"
57+
- name: HELM_JOB_RUNNER_IMAGE
58+
value: "ghcr.io/kloudlite/operator/workers/helm-runner:${kloudlite_release}"
5959
name: manager
6060
securityContext:
6161
runAsNonRoot: true

0 commit comments

Comments
 (0)