-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Affects Version/s: None
-
Component/s: Environment - Kubernetes
-
None
Description:
Currently, the Bitbucket Helm chart does not provide a mechanism to specify custom annotations for the bitbucket-shared-home Persistent Volume Claim (PVC) via the values.yaml file.
While users can manually annotate the PVC after it has been provisioned using kubectl annotate or kubectl patch, this adds an extra manual step to the deployment pipeline and prevents full automation via Helm.
Proposed Change:
Add an annotations field under the sharedHome.persistentVolumeClaim section in values.yaml. This would allow users to define a map of key-value pairs that the Helm chart will apply to the PVC metadata.
Workaround currently available:
Users can manually run kubectl annotate pvc <pvc-name> <key>=<value> after the Helm install/upgrade is complete.