[monitoring] remove deprecated xpack:defaultAdminEmail#33603
[monitoring] remove deprecated xpack:defaultAdminEmail#33603jbudz merged 17 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/stack-monitoring |
💔 Build Failed |
💔 Build Failed |
|
@jbudz I'm still seeing the option to configure this in the settings. Is that intended? |
💚 Build Succeeded |
|
Whoa, good catch, taking a look. that capital P is throwing me off. |
💚 Build Succeeded |
|
It looks like it's intentional. Anything in the config document that isn't defined is loaded as 'custom'. We can delete it but I'm not sure if there's a straight forward way. It was defined in xpack. Migrations require mappings and migrations for types to exist in the same plugin..so I had to move things, it's a little strange. I'll push it up but I'm undecided on it. |
|
@tylersmalley do you have any thoughts on what migrations for the config document should look like? I'm not sure how I feel about 1dee8db |
💔 Build Failed |
💔 Build Failed |
This reverts commit 1dee8db.
|
@chrisronline we discussed in standup, leaning towards leaving it up. There's nothing in place to remove this the right way atm, and it doesn't have any side effects. Thoughts? |
💚 Build Succeeded |
|
@jbudz Yea seems fine for now then |
💔 Build Failed |
|
@jbudz Sorry about forgetting this. Are you just waiting for my LGTM? |
💔 Build Failed |
|
np, yep I can merge after a lgtm. I'll get master merged in. |
💔 Build Failed |
| function getActionDefaults() { | ||
| return { | ||
| to: config.get(DEFAULT_ADMIN_EMAIL_CONFIG_KEY) | ||
| to: '' |
There was a problem hiding this comment.
cc @elastic/es-ui team - this might be a feature regression - I think you are in the process of refactoring this so heads up about this change
There was a problem hiding this comment.
Please don't ping that team, it's not just Kibana
There was a problem hiding this comment.
@bevacqua Thanks for the call out. I had the wrong alias. Updated
There was a problem hiding this comment.
@chrisronline thanks for the heads up! i'll update the refactored watcher code (#35301).
There was a problem hiding this comment.
hey @alisonelizabeth as a heads up I (added and then) dropped the 7.x label from this, ref #33603 (comment). only 8.0 as the urgency isn't too high
💔 Build Failed |
|
Which releases are we targeting with this? |
|
retest |
|
Could we discuss this before merging? I'm concerned about introducing a breaking change in a minor, even if it's something that's been deprecated for awhile. |
💚 Build Succeeded |
|
This setting appears to be used by many of the built-in default (pre-installed) watchers that are installed on monitoring clusters in Elastic Cloud. Eg: I can't seem to get the above code to actually set the xpack.email_recipient in 7.2. Are the built-in watchers that rely on this field expected to be working in 7.2? |
|
I filed an issue about this: https://github.com/elastic/elasticsearch/issues/44961 |
|
Also shouldn't this be added as a Breaking Change in the Kibana doc? |
|
@renshuki I don't see it mentioned in the breaking changes for 7.0 so that's a mistake there, but it is a breaking change and the email needs to be configured through |

Deprecated in 6.5 via spaces
Closes #32707, follow for more context.