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

FND-1551: UPDATE all optional attributes should be allowed to be omitted #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattclegg
Copy link
Contributor

No description provided.

@@ -26,8 +26,12 @@ spec:
{{- if .Values.keda.scaleTargetRef.envSourceContainerName }}
envSourceContainerName: {{ .Values.keda.scaleTargetRef.envSourceContainerName }}
{{- end }}
pollingInterval: {{ .Values.keda.pollingInterval | default 30 }}
cooldownPeriod: {{ .Values.keda.cooldownPeriod | default 300 }}
{{- if .Values.keda.pollingInterval }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the problem with those that keda will set default values regardless, therefore it might be misleading to make it optional

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I want the keda defaults & not predefined defaults. It adds more complexity as it has a default value here & a default value in values.yaml & neither are needed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

easier to manage them with helm, because if you remove them, then they still will be there

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I don't want them there. The purpose of the PR is to only set them when they're defined.

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.

2 participants