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

Aqua scanner and Helm deployment conflict #1067

Closed
braisvq1996 opened this issue Jan 17, 2024 · 0 comments · Fixed by opendevstack/ods-core#1257 or #1068
Closed

Aqua scanner and Helm deployment conflict #1067

braisvq1996 opened this issue Jan 17, 2024 · 0 comments · Fixed by opendevstack/ods-core#1257 or #1068
Labels
bug Something isn't working

Comments

@braisvq1996
Copy link
Contributor

Describe the bug
Aqua scanner and deployment of Helm charts have a conflict where the Helm plugins are not available after Aqua scanner have been executed

To Reproduce
Steps to reproduce the behavior:

  1. Configure your project to use Aqua
  2. Deploy a component with Helm charts (If the helm chart did not exists before the issue does not happen)
  3. See error

Expected behavior
Both Aqua scanner and deployment with Helm should be able to be executed on the same pipeline.

Screenshots
image

Affected version:

  • OpenShift: 4.12
  • OpenDevStack 4.3

Log Output

+ HELM_DIFF_IGNORE_UNKNOWN_FLAGS=true

+ helm -n edpst-dev secrets diff upgrade --install --atomic -f values.yaml --set registry=image-registry.openshift-image-registry.svc:5000 --set componentId=sql-helm --set imageNamespace=edpst-dev --set imageTag=5f982775 --no-color --three-way-merge --normalize-manifests sql-helm ./

Error: unknown command "secrets" for "helm"

Run 'helm --help' for usage.

Additional context
Modifying where Aqua is executed seems to fix the issue, but there is no other folder with write permision (needed for Aqua to run) other than /home and /home/jenkins, which makes the error arise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant