Skip to content

[FLINK-40195] helm: make webhook certificate secret name configurable#1163

Open
applike-ss wants to merge 1 commit into
apache:mainfrom
applike-ss:helm/configurable-webhook-cert-secret-name
Open

[FLINK-40195] helm: make webhook certificate secret name configurable#1163
applike-ss wants to merge 1 commit into
apache:mainfrom
applike-ss:helm/configurable-webhook-cert-secret-name

Conversation

@applike-ss

@applike-ss applike-ss commented Jul 20, 2026

Copy link
Copy Markdown

Summary

Make the webhook certificate Secret name configurable via webhook.certSecretName in values.yaml.

The previous hardcoded value webhook-server-cert caused collisions when multiple operator instances (or other operators also hardcoding this secret name) were installed in the same namespace or when external cert management required a specific secret name.

Changes

  • Added webhook.certSecretName value (optional, defaults to <release-name>-webhook-server-cert)
  • Added flink-operator.webhookCertSecretName helper in _helpers.tpl
  • Updated certificate.yaml and deployment.yaml to use the helper

What was tested

  • helm template with default values → produces <release-name>-webhook-server-cert
  • helm template --set webhook.certSecretName=custom → produces custom

@applike-ss
applike-ss marked this pull request as ready for review July 20, 2026 06:11
@applike-ss applike-ss changed the title [helm] Make webhook certificate secret name configurable [FLINK-40195] helm: make webhook certificate secret name configurable Jul 21, 2026
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.

1 participant