Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to deploy lacework-agent with ArgoCD #224

Open
isaaclopezwefox opened this issue Dec 13, 2023 · 4 comments
Open

Trying to deploy lacework-agent with ArgoCD #224

isaaclopezwefox opened this issue Dec 13, 2023 · 4 comments

Comments

@isaaclopezwefox
Copy link

We are facing problems trying to deploy lacework-agent with ArgoCD.

chart.yaml:

apiVersion: v2
appVersion: "1.0"
description: Lacework Agent
home: https://www.lacework.com
icon: https://www.lacework.com/wp-content/uploads/2019/07/Lacework_Logo_color_2019.svg
keywords:
- monitoring
- security
- run-time
- metric
- troubleshooting
kubeVersion: '> 1.9.0-0'
maintainers:
- email: [email protected]
  name: lacework-support
name: lacework-agent
version: 6.10.4

values.yaml:

lacework-agent:
  clusterAgent:
    # [Optional] Should we install cluster agent.
    enable: true
    # [Optional] Cluster type.
    clusterType: eks
    # [Optional] Cluster region.
    clusterRegion: xx-xxxxx-x
  laceworkConfig:
    # [Required] An access token is required before running agents.
    # Visit https://<LACEWORK UI URL> for eg: https://lacework.lacework.net
    accessToken: xxxxxxxxxx
    # [Optional] Give your k8s environment a friendly name
    # https://docs.lacework.com/onboarding/add-agent-tags
    env: dev
    # [Optional] Kubernetes cluster name
    # https://support.lacework.com/hc/en-us/articles/360005263034-Deploy-on-Kubernetes
    kubernetesCluster: cluster-dev
    # [Required] Region specific Lacework service URL. Defaults to the US region.
    serverUrl: https://api.fra.lacework.net 

ArgoCD error:

Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = `helm template . --name-template lacework --namespace lacework --kube-version 1.26 --values <path to cached source>/values.yaml <api versions removed> --include-crds` failed exit status 1: Error: template: lacework-agent/templates/_helpers.tpl:38:28: executing "lacework-agent.image" at <.Values.image.registry>: nil pointer evaluating interface {}.registry Use --debug flag to render out invalid YAML

looks like a issue with the values.schema.json file. Can disable this validation?
We can deploy it successfully through helm cli, seems the values.yaml file is correct.

Stack versions:

ArgoCD version v2.9.0+9cf0c69
Helm v3
EKS version 1.26

kind regards!

@catz-lw
Copy link
Collaborator

catz-lw commented Feb 6, 2024

We'll look into this, thank you for the detailed bug report. @isaaclopezwefox is it possible to add the exact version of Helm that you used? Thanks!

@isaaclopezwefox
Copy link
Author

We'll look into this, thank you for the detailed bug report. @isaaclopezwefox is it possible to add the exact version of Helm that you used? Thanks!

Hi! The version that we are using in our Argocd is: Version:"v3.12.1"

@catz-lw
Copy link
Collaborator

catz-lw commented Feb 26, 2024

Thank you, we have fix coming this week that will come with, or just after, we publish the Lacework agent 6.12 charts.

@catz-lw
Copy link
Collaborator

catz-lw commented Feb 27, 2024

@isaaclopezwefox Please try latest, I just merged #234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants