This repository was archived by the owner on Oct 24, 2026. It is now read-only.
Repository navigation
fix: prometheus-operator の admission webhook を無効化(起動不能問題の回避) - #54
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
kube-prometheus-stack の prometheus-operator が、admission webhook の tls-secret 不在で起動できなくなる問題を回避するため、admission webhook を無効化する。
ローカルの stash に退避されていた作業(WIP)を拾い上げ、整理して取り込むもの。
背景
PrometheusRule 検証用の admission webhook は証明書生成 Job (
admission-create) が tls-secret を作ることで成立する。この Job が環境要因で失敗すると secret が作られず、operator がsecret "...-admission" not foundで起動し続けられなくなる。POC / プライベートクラスタでは webhook 無効化が定石で、Prometheus/Grafana の動作には影響しない。admissionWebhooks.enabled: falseとpatch.enabled: falseだけでは不十分で、operator が tls-secret を要求し続けるためtls.enabled: falseも必須(helm-charts issue #19147 / #1438)。変更内容
monitoring/monitoring-values.yaml:prometheusOperator.admissionWebhooks(+patch+tls)を無効化する設定を追加TROUBLESHOOTING.md: 本問題の現象・原因・解決を記録(規約に従いトラブルシューティング知見は本ファイルに集約)動作影響