Audit trail to manage configuration drift of Installerset managed resources

オープン
#3,045 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go, kubernetes

調査の方向性

まず、TektonConfig と TektonInstallerSet が生成された ConfigMap をどのように生成・更新するかを追跡します。以前の設定、実行者、変更が TektonConfig の外部で行われたかどうかを含め、監査レコードに保持すべき内容を定義します。アップグレードおよび手動変更に対する動作を含む、合意済みで実装可能な監査証跡設計が定まっていることを Done の条件とします。

索引モデルが issue の本文から書いたものです。

説明

kind/feature
Feature Request

Add support for retaining an audit record of changes made to resources managed by TektonInstallerSet.

Use Case

We frequently encounter situations where a user sets component configuration through the TektonConfig, but later manually updates the generated ConfigMap to a different value. Because this change is made directly to the resource not through TektonConfig, the TektonInstallerSet does not reconcile it (as there is no corresponding change in the TektonConfig).

During a subsequent upgrade, the installer set overwrites the manually modified values in the ConfigMap, restoring the defaults defined by the operator. Users then report issues because their custom configuration appears to have been “lost” after the upgrade.

This leads to significant troubleshooting overhead, as it is difficult to determine:

  • what the configuration previously was,
  • who changed it, and
  • whether it was modified manually outside of the operator workflow.

To address this, can we come up with solution that can retain or expose an audit trail of changes to resources managed by TektonInstallerSet, so that unexpected configuration overwrites can be diagnosed more easily.

cc: @aThorp96 @ab-ghosh

主要言語
Go
スター
606
フォーク
270
平均マージ
1日 7時間
マージ済み PR(30日)
159

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tektoncd/operator のほかの issue

tektoncd/operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。