8000 feat(container): update image ghcr.io/home-operations/charts-mirror/silence-operator ( 0.16.1 → 0.17.0 ) by labassistantbot[bot] · Pull Request #604 · tholinka/home-ops · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(container): update image ghcr.io/home-operations/charts-mirror/silence-operator ( 0.16.1 → 0.17.0 ) #604

New issue

Have a question about this project? Sign up for 8000 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

Conversation

labassistantbot[bot]
Copy link
Contributor

This PR contains the following updates:

Package Update Change
ghcr.io/home-operations/charts-mirror/silence-operator minor 0.16.1 -> 0.17.0

Release Notes

giantswarm/silence-operator (ghcr.io/home-operations/charts-mirror/silence-operator)

v0.17.0

Compare Source

Added
  • Add advanced filtering capabilities for both v1alpha1 and v1alpha2 controllers:
    • Add silence selector feature to filter Silence resources by labels (configure via --silence-selector flag).
    • Add namespace selector for v1alpha2 controller to restrict watched namespaces (configure via --namespace-selector flag).
  • Allow filtering of Silence custom resources based on a label selector. The operator will only process Silence CRs that match the selector provided via the --silence-selector command-line flag or the silenceSelector Helm chart value. If no selector is provided, all Silence CRs are processed.
  • Add new observability.giantswarm.io/v1alpha2 API with namespace-scoped Silence CRD for improved multi-tenancy.
    • Add MatchType enum field using Alertmanager operator symbols (=, !=, =~, !~) for intuitive matching logic.
    • Add SilenceV2Reconciler controller to handle v1alpha2 resources while maintaining full backward compatibility with v1alpha1.
    • Add comprehensive field validation: matcher names (1-256 chars), values (max 1024 chars), minimum 1 matcher required.
    • Add printer columns to v1alpha2 CRD for better kubectl get silences output showing Age.
  • Add automated migration script (hack/migrate-silences.sh) for v1alpha1 to v1alpha2 conversion.
    • Automatically converts boolean matcher fields (isRegex/isEqual) to enum format (matchType).
    • Intelligently preserves user annotations/labels while filtering out Kubernetes and FluxCD system metadata.
    • Supports dry-run mode for safe migration testing.
  • Add comprehensive migration documentation (MIGRATION.md) with examples and best practices.
  • Add clean service layer architecture (pkg/service/) separating business logic from Kubernetes controller concerns.
Changed
  • BREAKING (v1alpha2 only): Replace isRegex and isEqual boolean fields with single matchType enum field using Alertmanager symbols.
  • BREAKING (v1alpha2 only): Change from cluster-scoped to namespace-scoped resources for better multi-tenancy and RBAC isolation.
  • BREAKING (v1alpha2 only): Remove deprecated fields in v1alpha2: targetTags, owner, postmortem_url, and issue_url for cleaner API design.
  • Improve code organization with dependency injection and clear separation between controller logic and business logic.
Deprecated
  • The monitoring.giantswarm.io/v1alpha1 API is now considered legacy. New deployments should use observability.giantswarm.io/v1alpha2.

Migration Note: Existing v1alpha1 silences continue to work unchanged. Use the automated migration script and see MIGRATION.md for detailed guidance.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@labassistantbot
Copy link
Contributor Author
--- kubernetes/apps/observability/silence-operator/app Kustomization: observability/silence-operator OCIRepository: observability/silence-operator

+++ kubernetes/apps/observability/silence-operator/app Kustomization: observability/silence-operator OCIRepository: observability/silence-operator

@@ -11,13 +11,13 @@

 spec:
   interval: 1h
   layerSelector:
     mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
     operation: copy
   ref:
-    tag: 0.16.1
+    tag: 0.17.0
   url: oci://ghcr.io/home-operations/charts-mirror/silence-operator
   verify:
     matchOIDCIdentity:
     - issuer: ^https://token.actions.githubusercontent.com$
       subject: ^https://github.com/home-operations/charts-mirror/.*$
     provider: cosign

@labassistantbot
Copy link
Contributor Author
--- HelmRelease: observability/silence-operator ClusterRole: observability/silence-operator

+++ HelmRelease: observability/silence-operator ClusterRole: observability/silence-operator

@@ -9,12 +9,13 @@

     app.kubernetes.io/managed-by: Helm
     application.giantswarm.io/team: atlas
   name: silence-operator
 rules:
 - apiGroups:
   - monitoring.giantswarm.io
+  - observability.giantswarm.io
   resources:
   - silences
   verbs:
   - '*'
 - apiGroups:
   - coordination.k8s.io
--- HelmRelease: observability/silence-operator Deployment: observability/silence-operator

+++ HelmRelease: observability/silence-operator Deployment: observability/silence-operator

@@ -26,35 +26,38 @@

         app.kubernetes.io/instance: silence-operator
         app.kubernetes.io/managed-by: Helm
         application.giantswarm.io/team: atlas
       annotations:
         releaseRevision: '1'
     spec:
-      affinity:
-        podAntiAffinity:
-          preferredDuringSchedulingIgnoredDuringExecution:
-          - podAffinityTerm:
-              labelSelector:
-                matchLabels:
-                  app.kubernetes.io/name: silence-operator
-                  app.kubernetes.io/instance: silence-operator
-              topologyKey: kubernetes.io/hostname
-            weight: 100
+      restartPolicy: Always
       containers:
       - name: silence-operator
         image: quay.io/giantswarm/silence-operator:0.16.1
         args:
         - --leader-elect
         - --metrics-bind-address=:8080
         - --alertmanager-address=http://kube-prometheus-stack-alertmanager:9093
         - --alertmanager-authentication=false
         livenessProbe:
+          failureThreshold: 3
           httpGet:
             path: /healthz
             port: http-healthz
           initialDelaySeconds: 30
+          periodSeconds: 10
+          successThreshold: 1
+          timeoutSeconds: 1
+        readinessProbe:
+          failureThreshold: 3
+          httpGet:
+            path: /readyz
+            port: http-healthz
+          initialDelaySeconds: 5
+          periodSeconds: 5
+          successThreshold: 1
           timeoutSeconds: 1
         ports:
         - containerPort: 8080
           name: http
           protocol: TCP
         - containerPort: 8081

@tholinka tholinka merged commit 541c5b5 into main Jul 3, 2025
14 checks passed
@tholinka tholinka 617C deleted the renovate/ghcr.io-home-operations-charts-mirror-silence-operator-0.x branch July 3, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0