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

adding kubemodel.etlCloudAsset #1376

Closed

Conversation

nareshagrawal
Copy link
Contributor

In 1.92, you guys changed the cost-analyzer-deployment template.yaml

  • name : ETL_CLOUD_USAGE_ENABLED
    {{- if eq .Values.kubecostModel.etlCloudAsset false }}
    value: "false"

There is no default value assigned to etlCloudAsset even not in Values.yaml

What does this PR change?

Adding default value to etlCloudAsset

Does this PR rely on any other PRs?

No

How does this PR impact users? (This is the kind of thing that goes in release notes!)

Links to Issues or ZD tickets this PR addresses or fixes

How was this PR tested?

Have you made an update to documentation?

In 1.92, you guys changed the cost-analyzer-deployment template.yaml

- name : ETL_CLOUD_USAGE_ENABLED
            {{- if eq .Values.kubecostModel.etlCloudAsset false }}
              value: "false"
There is no default value assigned to etlCloudAsset even not in Values.yaml
@keithhand
Copy link
Contributor

Hi @nareshagrawal, I believe this is the intended behavior. The docs mention here that true is the default and the helm chart will use if/else logic to set the environment variable to true if nothing gets specified in the values.yaml.

{{- if eq .Values.kubecostModel.etlCloudAsset false }}
value: "false"
{{- else }}
value: {{ (quote .Values.kubecostModel.etlCloudUsage) | default (quote true) }}
{{- end }}

@AjayTripathy
Copy link
Contributor

Apologies if you encountered development issues in the develop branch @nareshagrawal -- it should now be sync'd back to master and runnable with this PR merged. #1380

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

Successfully merging this pull request may close these issues.

3 participants