We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Medium) I'm annoyed but I'll live
The diff for the alerts plugin shows a diff for the ccloud-monitoring-ca and ccloud-ca-bundle on every reconciliation.
ccloud-monitoring-ca
ccloud-ca-bundle
"Secret/ccloud-ca-bundle: [\n {\n \"value\": \"***** - after\",\n \"op\": \"replace\",\n \"path\": \"/data/ca.crt\"\n }\n],Secret/ccloud-monitoring-ca: [\n {\n \"value\": {\n \"apiVersion\": \"v1\",\n \"data\": {\n \"tls.crt\": \"*****\",\n \"tls.key\": \"*****\"\n },\n \"kind\": \"Secret\",\n \"metadata\": {\n \"annotations\": {\n \"helm.sh/hook\": \"pre-install, pre-upgrade\"\n },\n \"labels\": {\n \"app.kubernetes.io/managed-by\": \"Helm\",\n \"plugin\": \"alerts-ccloud\",\n \"plugindefinition\": \"alerts\",\n \"release\": \"alerts-ccloud\"\n },\n \"name\": \"ccloud-monitoring-ca\",\n \"namespace\": \"ccloud\"\n },\n \"type\": \"Opaque\"\n },\n \"op\": \"add\",\n \"path\": \"\"\n }\n]"}
The ccloud-monitoring-ca should not be regenerated on every deploy, but the condition does not work: https://github.com/cloudoperators/greenhouse-extensions/blob/main/alerts/charts/templates/ca-secret-issuer-cert.yaml#L2
This causes reoccurring helm upgrades which eventually lead to the release stuck in pending.
helm upgrades
1. Go to the organisation namespace 2. `helm history alerts` 3. see frequent upgrades of the plugin 5239 Tue Dec 10 17:43:41 2024 superseded alerts-0.15.3 2.3.3 5240 Tue Dec 10 17:44:49 2024 superseded alerts-0.15.3 2.3.3 5241 Tue Dec 10 17:45:55 2024 superseded alerts-0.15.3 2.3.3 5242 Tue Dec 10 17:47:02 2024 superseded alerts-0.15.3 2.3.3 5243 Tue Dec 10 17:48:08 2024 deployed alerts-0.15.3 2.3.3
### Screenshots ```bash ![DESCRIPTION](LINK.png)
The text was updated successfully, but these errors were encountered:
feat(alerts): improved ca cert generation
df837e3
fixes: #546, #550
richardtief
Successfully merging a pull request may close this issue.
Priority
(Medium) I'm annoyed but I'll live
Description
The diff for the alerts plugin shows a diff for the
ccloud-monitoring-ca
andccloud-ca-bundle
on every reconciliation.The
ccloud-monitoring-ca
should not be regenerated on every deploy, but the condition does not work:https://github.com/cloudoperators/greenhouse-extensions/blob/main/alerts/charts/templates/ca-secret-issuer-cert.yaml#L2
This causes reoccurring
helm upgrades
which eventually lead to the release stuck in pending.Reproduction steps
1. Go to the organisation namespace 2. `helm history alerts` 3. see frequent upgrades of the plugin 5239 Tue Dec 10 17:43:41 2024 superseded alerts-0.15.3 2.3.3 5240 Tue Dec 10 17:44:49 2024 superseded alerts-0.15.3 2.3.3 5241 Tue Dec 10 17:45:55 2024 superseded alerts-0.15.3 2.3.3 5242 Tue Dec 10 17:47:02 2024 superseded alerts-0.15.3 2.3.3 5243 Tue Dec 10 17:48:08 2024 deployed alerts-0.15.3 2.3.3
The text was updated successfully, but these errors were encountered: