From 0963590d07f7e0c79a2ba96d2975b549d46c96f4 Mon Sep 17 00:00:00 2001 From: Jacob Aronoff Date: Mon, 20 May 2024 15:42:18 -0400 Subject: [PATCH 1/2] add back webhook port --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 07add5acc6..4ee518ce35 100644 --- a/main.go +++ b/main.go @@ -172,6 +172,7 @@ func main() { pflag.StringVar(&encodeLevelKey, "zap-level-key", "level", "The level key to be used in the customized Log Encoder") pflag.StringVar(&encodeTimeKey, "zap-time-key", "timestamp", "The time key to be used in the customized Log Encoder") pflag.StringVar(&encodeLevelFormat, "zap-level-format", "uppercase", "The level format to be used in the customized Log Encoder") + pflag.IntVar(&webhookPort, "webhook-port", 9443, "The port the webhook endpoint binds to.") pflag.Parse() opts.EncoderConfigOptions = append(opts.EncoderConfigOptions, func(ec *zapcore.EncoderConfig) { From b8c35d233b7f036aa4e94fa172883e0a871625b8 Mon Sep 17 00:00:00 2001 From: Jacob Aronoff Date: Mon, 20 May 2024 15:43:07 -0400 Subject: [PATCH 2/2] chlog --- .chloggen/bring-back-wh-port.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 .chloggen/bring-back-wh-port.yaml diff --git a/.chloggen/bring-back-wh-port.yaml b/.chloggen/bring-back-wh-port.yaml new file mode 100755 index 0000000000..6232fdd2a8 --- /dev/null +++ b/.chloggen/bring-back-wh-port.yaml @@ -0,0 +1,16 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix + +# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) +component: operator + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Fixes an issue where the user can no longer set the webhook port + +# One or more tracking issues related to the change +issues: [2923] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: