Code Monkey home page Code Monkey logo

Comments (10)

niso120b avatar niso120b commented on July 21, 2024

Tested and its works please use default values.yaml file

from aqua-helm.

cdunford avatar cdunford commented on July 21, 2024

@niso120b

I just retested this yesterday with the 4.6 chart published on https://helm.aquasec.com and helm 3.2.4 and it is still an issue. I am not sure what you mean by use the default values.yaml - of course I need to specify my own configuration. I think the problematic value here is .Values.admin.password. We are specifying this value, whereas using the defaults would not.

Can you please reopen this.

from aqua-helm.

niso120b avatar niso120b commented on July 21, 2024

You used your own values.yaml?

can you please try with the github repository instead of the helm.aquasec.com

from aqua-helm.

cdunford avatar cdunford commented on July 21, 2024

I don't use my own values.yaml per se, but I override default values for my use case of course.

Is what's on helm.aquasec.com not what is in github?

from aqua-helm.

cdunford avatar cdunford commented on July 21, 2024

@niso120b have you been able to replicate?

from aqua-helm.

niso120b avatar niso120b commented on July 21, 2024

Can you try now

from aqua-helm.

cdunford avatar cdunford commented on July 21, 2024

Still an issue on the 4.6 branch:

❯ helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.14.4"}

~/src/aqua-helm/server | @d5bdf9dd
❯ helm template test .
Error: template: server/templates/web-secrets.yaml:2:11: executing "server/templates/web-secrets.yaml" at <(.Values.admin.password) .Values.admin.token>: can't give argument to non-function .Values.admin.password

Also still an issue on the 5.0 branch:

❯ helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.14.4"}

~/src/aqua-helm/server | @d40a42a8 
❯ helm template test .
Error: template: server/templates/web-secrets.yaml:2:11: executing "server/templates/web-secrets.yaml" at <(.Values.admin.password) .Values.admin.token>: can't give argument to non-function .Values.admin.password

Appears to be resolved by #101

❯ helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.14.4"}

~/src/aqua-helm/server | @d9212f56 
❯ helm template test . --set 'imageCredentials.username=test,imageCredentials.password=test'
---
# Source: server/templates/rbac.yaml
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
....

from aqua-helm.

cdunford avatar cdunford commented on July 21, 2024

@niso120b - this is resolved by #101 on master. I don't quite understand the branching strategy in this repo. Is the 5.0 branch the release branch for 5.0? Can this fix be ported to that branch?

from aqua-helm.

devopskid avatar devopskid commented on July 21, 2024

This is still an issue for me as well. I am running helm version 3.2.4 and pulling from the master branch, trying to deploy aqua-server from helm chart version 5.0.0. The deployment of my helmRelease fails due to the same issue:

Warning FailedReleaseSync 14s (x3 over 3m46s) helm-operator synchronization of release 'aqua-server' in namespace 'aqua' failed: installation failed: template: server/templates/web-secrets.yaml:2:11: executing "server/templates/web-secrets.yaml" at <(.Values.admin.password) .Values.admin.token>: can't give argument to non-function .Values.admin.password

from aqua-helm.

KoppulaRajender avatar KoppulaRajender commented on July 21, 2024

@devopskid - can you check again with latest 5.0 version. It is working for me with helm 3.2.4 version + 5.0 helm charts.

from aqua-helm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.