Skip to content

feat: support pod spec field "enableServiceLinks" (#7383)#7384

Merged
simonpasquier merged 1 commit intoprometheus-operator:mainfrom
zoglam:main
Mar 11, 2025
Merged

feat: support pod spec field "enableServiceLinks" (#7383)#7384
simonpasquier merged 1 commit intoprometheus-operator:mainfrom
zoglam:main

Conversation

@zoglam
Copy link
Contributor

@zoglam zoglam commented Mar 5, 2025

Description

PR for issue - #7383

Type of change

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry

feat: support pod spec field "enableServiceLinks" (#7383)

Notes

Unit tests are provided

Copy link
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

thanks! just a few comment otherwise LGTM.

test.yaml Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove this file.

// +optional
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty"`
// Indicates whether information about services should be injected into pod's environment variables
// Is enabled by default
Copy link
Contributor

Choose a reason for hiding this comment

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

Since it's a niche feature, I'd recommend to keep the description short. The same for the other CRDs.

Suggested change
// Is enabled by default

@zoglam zoglam requested a review from simonpasquier March 10, 2025 17:32
Copy link
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

thanks!

@simonpasquier simonpasquier merged commit 1efbed1 into prometheus-operator:main Mar 11, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants