Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Secrets not removed if pod fails admission #144

@jmickey

Description

@jmickey

If a pod fails admission for some reason (e.g. another webhook, mutating or validating, fails) after the telegraf-operator has processed the pod then the resulting secret is not automatically removed.

Unless you're explicitly monitoring and alarming on the number of secret objects in the cluster this can quckly become a problem, for example if a rouge deployment attempting to constantly scale but failing on ValidatingAdmissionWebhooks, eventually causing API server issues if the number of secret objects grows excessively large.

What products and version are you using?

Kubernetes: 1.28
Telegraf-operator: 1.3.11

Additional Comments

It appears this project is no longer being updated or maintained, which is unfortunate as it solves an inherent problem with using influxdb and telegraf to monitor applications in Kubernetes.

As such I decided to completely re-write the project from scratch, resolving this issue, and others such as #137. The project can be found at https://github.com/jmickey/telegraf-sidecar-operator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions