Skip to content

Commit 5096c3a

Browse files
committed
feat(plugins): set loglevel to warning on helmfile and kustomize
1 parent 2b5bb0f commit 5096c3a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

locals.tf

+4-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ locals {
5252
command = ["/var/run/argocd/argocd-cmp-server"]
5353
# Note: Argo CD official image ships Helm and Kustomize. No need to build a custom image to use "kustomized-helm" plugin.
5454
image = "quay.io/argoproj/argocd:${local.argocd_version}"
55+
args = ["--loglevel=warn"]
5556
securityContext = {
5657
runAsNonRoot = true
5758
runAsUser = 999
@@ -75,14 +76,15 @@ locals {
7576
name = "kustomized-helm-cmp-tmp"
7677
}
7778
]
78-
# The extra containers of the repo_server pod must have resource requests/limits in order to allow this component
79+
# The extra containers of the repo_server pod must have resource requests/limits in order to allow this component
7980
# to autoscale properly.
8081
resources = var.resources.repo_server # TODO Maybe this resources should be different from the repo_server one.
8182
},
8283
{
8384
name = "helmfile-cmp"
8485
command = ["/var/run/argocd/argocd-cmp-server"]
8586
image = "ghcr.io/camptocamp/docker-argocd-cmp-helmfile:${var.helmfile_cmp_version}"
87+
args = ["--loglevel=warn"]
8688
env = var.helmfile_cmp_env_variables
8789
securityContext = {
8890
runAsNonRoot = true
@@ -104,7 +106,7 @@ locals {
104106
name = "helmfile-cmp-tmp"
105107
}
106108
]
107-
# The extra containers of the repo_server pod must have resource requests/limits in order to allow this component
109+
# The extra containers of the repo_server pod must have resource requests/limits in order to allow this component
108110
# to autoscale properly.
109111
resources = var.resources.repo_server # TODO Maybe this resources should be different from the repo_server one.
110112
}

0 commit comments

Comments
 (0)