Hi, there. I am currently working with atmos helmf...
# atmos
g
Hi, there. I am currently working with atmos helmfile and is there a way that the values from stack config gets applied automatically when running command
atmos helmfile diff/apply <component> -s <stack>
, instead of passing values filename manually like below in
helmfile.yaml
. Also atmos generated values file
eg: aws-useast1-metrics-server.helmfile.vars.yaml
are getting with stack identification values like
namespace
,
environment
,
stg
where some helm charts are failing with validation errors like chart doesn't allow those extra values. Thank you. @PePe Amengual
Copy code
repositories:
  - name: metrics-server
    url: <https://kubernetes-sigs.github.io/metrics-server/>

releases:
  - name: metrics-server
    chart: metrics-server/metrics-server
    version: 3.13.0
    namespace: kube-system
    createNamespace: false
    force: false
    values:
      - aws-useast1-metrics-server.helmfile.vars.yaml
e
Are you also aware that atmos natively supports
helm
today?
(one less level of indirection)
In terms of your question though, you can supress vars using
!unset
g
Thank you Erik. yes, i went across the atmos helm support. But we are having manifests/scripts along with helm custom values that are running as pre and post sync hooks.
👍 1
I will definitely try out the !unset function. Thank you.
e
Ya that will make the migration more involved
If/when you are ready to revisit we would like to learn about any limitations in atmos helm support (it also supports lifecycle hooks)
g
Thank you Erik. will definitely update here once i try out the atmos helm.