Compare commits

...

8 Commits

Author SHA1 Message Date
smiyc
6b7068130d
Merge 90dbe03a74 into 4a94cb9dae 2026-04-01 19:27:57 +02:00
Kenny Root
4a94cb9dae
fix(metrics): announce sidecar injection capability (#776)
Some checks failed
release-please / release-please (push) Failing after 5s
The operator was not announcing the TYPE_INSTANCE_SIDECAR_INJECTION
capability so the CNPG operator did not consider the plugin enabled
for instance pods. The instance manager never queried the plugin's
metrics endpoint, and the barman_cloud_cloudnative_pg_io_* metrics
were missing entirely.

This bug was masked when isWALArchiver was set to true in the plugin
configuration, because the backward compatibility code in CNPG would
mark the plugin as enabled as a side-effect. Users with isWALArchiver
set to false (or omitted) never saw the new metrics.

Closes #682 

Signed-off-by: Kenny Root <kenny@the-b.org>
2026-03-31 15:36:09 +02:00
Daniel Chambre
90dbe03a74 update to latest versions
Signed-off-by: Daniel Chambre <smiyc@pm.me>
2025-06-11 20:23:59 +02:00
Daniel Chambre
4d0e2788e9 update to 0.5.0
Signed-off-by: Daniel Chambre <smiyc@pm.me>
2025-06-11 20:22:07 +02:00
Daniel Chambre
fb0e326029 add verion "0.4.0" to bug template
Signed-off-by: Daniel Chambre <smiyc@pm.me>
2025-05-12 13:50:25 +02:00
Daniel Chambre
da6445426b update 2
Signed-off-by: Daniel Chambre <smiyc@pm.me>
2025-05-09 14:11:59 +02:00
Daniel Chambre
340204ff21 update
Signed-off-by: Daniel Chambre <smiyc@pm.me>
2025-05-09 14:01:51 +02:00
Daniel Chambre
17b86f3faf add ISSUE_TEMPLATES
Signed-off-by: Daniel Chambre <smiyc@pm.me>
2025-05-09 14:00:18 +02:00
6 changed files with 340 additions and 0 deletions

126
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@ -0,0 +1,126 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["triage", "bug"]
projects: ["coudnative-pg/plugin-barman-cloud"]
# assignees:
# - gbartolini
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report for the BarmanCloudPlugin!
- type: checkboxes
id: search
attributes:
label: Is there an existing issue already for this bug?
description: Before you submit a bug, make sure you have searched if a similar one already exists
options:
- label: I have searched for an existing issue, and could not find anything. I believe this is a new bug.
required: true
# - type: checkboxes
# id: troubleshooting
# attributes:
# label: I have read the troubleshooting guide
# description: Before you submit a bug, make sure you have read the ["Common issues" section in the Troubleshooting guide](https://cloudnative-pg.io/documentation/current/troubleshooting/#some-common-issues).
# options:
# - label: I have read the troubleshooting guide and I think this is a new bug.
# required: true
# - type: checkboxes
# id: supported
# attributes:
# label: I am running a supported version of CloudNativePG
# description: Before you submit a bug, make sure you have read ["Supported releases"](https://cloudnative-pg.io/documentation/current/supported_releases/) and that you are running a supported version of CloudNativePG with the latest patch/security fixes, or you are working on the current trunk (`main` branch)
# options:
# - label: I have read the troubleshooting guide and I think this is a new bug.
# required: true
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. email@example.com
validations:
required: false
- type: dropdown
id: version
attributes:
label: Version
description: What is the version of the BarmanCloudPlugin you are running?
options:
- "0.5.1"
- "0.5.0"
- "0.4.1"
- "0.4.0"
- "0.3.0"
- "0.2.0"
- "0.1.0"
validations:
required: true
- type: dropdown
id: k8s_version
attributes:
label: What version of Kubernetes are you using?
options:
- "1.32"
- "1.31"
- "1.30"
- "1.29"
- "other (unsupported)"
validations:
required: true
- type: dropdown
id: k8s_environment
attributes:
label: What is your Kubernetes environment?
options:
- "Self-managed: kind (evaluation)"
- "Self-managed: k0s"
- "Self-managed: k3s"
- "Self-managed: RKE"
- "Cloud: Amazon EKS"
- "Cloud: Google GKE"
- "Cloud: Azure AKS"
- "Cloud: Other"
- "Other"
validations:
required: true
- type: dropdown
id: installation_method
attributes:
label: How did you install the BarmanCloudPlugin?
options:
- "YAML manifest"
# - "Helm"
# - "OLM"
- "Other"
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: spec
attributes:
label: Cluster resource
description: Please copy and paste the CR of the cluster
render: shell
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudnative-pg/governance/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true

8
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
# - name: Open discussions
# url: https://github.com/cloudnative-pg/cloudnative-pg/discussions
# about: Please ask and answer questions here.
- name: Slack chat
url: https://github.com/cloudnative-pg/cloudnative-pg?tab=readme-ov-file#communications
about: Please join the slack channel and interact with our community

View File

@ -0,0 +1,74 @@
name: Documentation
description: Issues or improvement ideas for the plugin-barman-cloud documentation
title: "[Docs]: "
labels: ["triage", "documentation"]
projects: ["coudnative-pg/plugin-barman-cloud"]
# assignees:
# - gbartolini
body:
- type: markdown
attributes:
value: |
Thanks for taking the time improve the documentation of the BarmanCloudPlugin!
- type: checkboxes
id: search
attributes:
label: Is there an existing issue already for your request/idea?
description: Before you submit a new issue, make sure you have searched if a similar one already exists
options:
- label: I have searched for an existing issue, and could not find anything. I believe this is a new documentation enhancement to be evaluated.
required: true
- type: textarea
id: problem
attributes:
label: What problem in the existing documentation this issue aims to solve?
description: A clear and concise description of what the problem is (e.g. I'm always frustrated when [...])
validations:
required: true
- type: textarea
id: doc_add
attributes:
label: Describe what additions need to be done to the documentation
description: A clear and concise description of what sections/pages you want to add to the current documentation.
validations:
required: false
- type: textarea
id: doc_change
attributes:
label: Describe what pages need to change in the documentation, if any
description: Please provide links to the pages in the current documentation
validations:
required: false
- type: textarea
id: doc_remove
attributes:
label: Describe what pages need to be removed from the documentation, if any
description: Please provide links to the pages in the current documentation that you want to be removed
validations:
required: false
- type: textarea
id: additional_context
attributes:
label: Additional context
description: Add any other context about this issue.
validations:
required: false
- type: dropdown
id: backport
attributes:
label: Backport?
description: Do you suggest to backport this feature or not?
options:
- "Yes"
- "No"
- "N/A"
validations:
required: true
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudnative-pg/governance/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true

77
.github/ISSUE_TEMPLATE/feature.yml vendored Normal file
View File

@ -0,0 +1,77 @@
name: Feature request
description: Suggest an idea or request a new feature for the plugin-barman-cloud
title: "[Feature]: "
labels: ["triage", "enhancement"]
projects: ["coudnative-pg/plugin-barman-cloud"]
# assignees:
# - gbartolini
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to propose new ideas and feature requests to the BarmanCloudPlugin!
- type: checkboxes
id: search
attributes:
label: Is there an existing issue already for this feature request/idea?
description: Before you submit a new feature request, make sure you have searched if a similar one already exists
options:
- label: I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.
required: true
- type: textarea
id: problem
attributes:
label: What problem is this feature going to solve? Why should it be added?
description: A clear and concise description of what the problem is (e.g. I'm always frustrated when [...])
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: textarea
id: additional_context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
- type: dropdown
id: backport
attributes:
label: Backport?
description: Do you suggest to backport this feature or not?
options:
- "Yes"
- "No"
- "N/A"
validations:
required: true
- type: dropdown
id: contribute
attributes:
label: Are you willing to actively contribute to this feature?
description: Let us know if you are interested in developing this feature.
options:
- "No"
- "Yes"
validations:
required: true
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudnative-pg/governance/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true

View File

@ -0,0 +1,48 @@
name: Release Notes
description: Release notes for a new version of the BarmanCloudPlugin
title: "[Release Notes]: BarmanCloudPlugin 1.XX.Y and 1.XX-1.Z"
labels: ["triage", "documentation"]
projects: ["coudnative-pg/plugin-barman-cloud"]
# assignees:
# - gbartolini
body:
- type: markdown
attributes:
value: |
Make sure that the correct versions are reported in the title of the ticket.
- type: checkboxes
id: search
attributes:
label: Is there an existing issue already for this task?
description: Before you submit a new issue, make sure you have searched if a similar one already exists
options:
- label: I have searched for an existing issue, and could not find anything. I believe this is a new request.
required: true
- type: dropdown
id: minor
attributes:
label: Is this a new minor release?
description: Is this a new minor release for the BarmanCloudPlugin?
options:
- "No"
- "Yes"
validations:
required: true
- type: dropdown
id: preview
attributes:
label: Is this a preview release?
description: Is this a preview release for the BarmanCloudPlugin? If so, make sure you add `-RC1` to the version and update the `preview_version.md` file.
options:
- "No"
- "Yes"
validations:
required: true
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudnative-pg/governance/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true

View File

@ -62,6 +62,13 @@ func (i IdentityImplementation) GetPluginCapabilities(
}, },
}, },
}, },
{
Type: &identity.PluginCapability_Service_{
Service: &identity.PluginCapability_Service{
Type: identity.PluginCapability_Service_TYPE_INSTANCE_SIDECAR_INJECTION,
},
},
},
}, },
}, nil }, nil
} }