fallen-up opened a new pull request, #980:
URL: https://github.com/apache/flink-kubernetes-operator/pull/980

   ## What is the purpose of the change
   
   This pull request extracts the inline `ConfigMap` definition from 
`flink-operator.yaml` into a dedicated `configmap.yaml` file under `templates/`.
   
   Additionally, it introduces a `checksum/config` annotation in the 
`Deployment` metadata to ensure that the operator pod restarts automatically 
when the configuration changes.
   
   This improves modularity, readability, and enables safe rolling upgrades via 
Helm when using `defaultConfiguration.create: true`.
   
   ## Brief change log
   
   - Extracted the `flink-operator-config` ConfigMap into 
`templates/configmap.yaml`
   - Added `checksum/config` annotation to the operator `Deployment` template
   - The checksum is computed using `include "..." | sha256sum`
   - Rendering and annotation are conditional on 
`.Values.defaultConfiguration.create`
   
   ## Verifying this change
   
   This change is a trivial Helm chart refactor and does not require test 
coverage.
   
   Manually verified via `helm template` that:
   
   - The `ConfigMap` is rendered as expected
   - `Deployment` includes `checksum/config` annotation
   - Checksum changes when config content changes
   
   ## Does this pull request potentially affect one of the following parts
   
   - **Dependencies** (does it add or upgrade a dependency): **no**
   - **Public API** (i.e., any changes to the `CustomResourceDescriptors`): 
**no**
   - **Core observer or reconciler logic that is regularly executed**: **no**
   
   ## Documentation
   
   - **Does this pull request introduce a new feature?** **no**
   - **If yes, how is the feature documented?** _not applicable_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to