-
Notifications
You must be signed in to change notification settings - Fork 117
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
Disable subobjects by default on new packages and data streams #1965
Conversation
💛 Build succeeded, but was flaky
Failed CI StepsHistorycc @jsoriano |
{{ if .Manifest.Elasticsearch.SourceMode }} | ||
source_mode: {{ .Manifest.Elasticsearch.SourceMode }} | ||
{{- end}} | ||
{{ if .Manifest.Elasticsearch.IndexMode }} | ||
index_mode: {{ .Manifest.Elasticsearch.IndexMode }} | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, there are no questions for these values when creating the package. So, right now they would not be written here in this manifest.
Should they be added also as part of the questions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, I could add them in a follow up if necessary. Or would you prefer the questions to be added here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, they can be added in a follow up, it's not needed to do it now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
{{ if .Manifest.Elasticsearch.SourceMode }} | ||
source_mode: {{ .Manifest.Elasticsearch.SourceMode }} | ||
{{- end}} | ||
{{ if .Manifest.Elasticsearch.IndexMode }} | ||
index_mode: {{ .Manifest.Elasticsearch.IndexMode }} | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, they can be added in a follow up, it's not needed to do it now.
Modify the archetypes used by
elastic-package create
to disable subobjects by default on new packages and data streams.A new question is added to the survey so users can chose to opt out for this behavior.
Closes #1872.